OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
This class implements associated Material Status to RCSDEMaterial. More...
#include <rcsde.h>
Public Types | |
enum | __rcsdModeType { rcMode, sdMode } |
Public Member Functions | |
RCSDEMaterialStatus (int n, Domain *d, GaussPoint *g) | |
virtual | ~RCSDEMaterialStatus () |
virtual void | printOutputAt (FILE *file, TimeStep *tStep) |
Print receiver's output to given stream. More... | |
double | giveTempMaxEquivStrain () |
void | setTempMaxEquivStrain (double val) |
double | giveTempDamageCoeff () |
void | setTempDamageCoeff (double val) |
const FloatMatrix * | giveDs0Matrix () |
void | setDs0Matrix (FloatMatrix &mtrx) |
double | giveTransitionEpsCoeff () |
void | setTransitionEpsCoeff (double val) |
double | giveEpsF2Coeff () |
void | setEpsF2Coeff (double val) |
__rcsdModeType | giveTempMode () |
void | setTempMode (__rcsdModeType mode) |
double | giveMaxEquivStrain () |
double | giveDamageCoeff () |
__rcsdModeType | giveMode () |
virtual const char * | giveClassName () const |
virtual void | initTempStatus () |
Initializes the temporary internal variables, describing the current state according to previously reached equilibrium internal variables. More... | |
virtual void | updateYourself (TimeStep *tStep) |
Update equilibrium history variables according to temp-variables. More... | |
virtual contextIOResultType | saveContext (DataStream &stream, ContextMode mode, void *obj=NULL) |
Stores receiver state to output stream. More... | |
virtual contextIOResultType | restoreContext (DataStream &stream, ContextMode mode, void *obj=NULL) |
Restores the receiver state previously written in stream. More... | |
Public Member Functions inherited from oofem::RCM2MaterialStatus | |
RCM2MaterialStatus (int n, Domain *d, GaussPoint *g) | |
virtual | ~RCM2MaterialStatus () |
const FloatArray & | getPrincipalStrainVector () const |
const FloatArray & | getPrincipalStressVector () const |
const FloatArray & | givePrevPrincStrainVector () const |
const FloatArray & | givePrevPrincStressVector () const |
void | letPrincipalStrainVectorBe (FloatArray pv) |
void | letPrincipalStressVectorBe (FloatArray pv) |
const IntArray & | giveCrackMap () const |
void | letCrackMapBe (IntArray map) |
virtual int | isCrackActive (int i) const |
virtual int | giveNumberOfActiveCracks () const |
virtual int | giveNumberOfTempActiveCracks () const |
int | giveTempAlreadyCrack () const |
const FloatMatrix & | giveTempCrackDirs () |
void | letTempCrackDirsBe (FloatMatrix a) |
double | giveTempMaxCrackStrain (int icrack) |
void | setTempMaxCrackStrain (int icrack, double val) |
const IntArray & | giveTempCrackStatus () |
int | giveTempCrackStatus (int icrack) const |
void | setTempCrackStatus (int icrack, int val) |
const FloatArray & | giveCrackStrainVector () const |
double | giveCrackStrain (int icrack) const |
const FloatArray & | giveOldCrackStrainVector () |
void | letCrackStrainVectorBe (FloatArray a) |
void | letOldCrackStrainVectorBe (FloatArray a) |
double | giveCharLength (int icrack) const |
void | setCharLength (int icrack, double val) |
const FloatMatrix & | giveCrackDirs () |
const IntArray & | giveCrackStatus () |
int | giveAlreadyCrack () const |
Public Member Functions inherited from oofem::StructuralMaterialStatus | |
StructuralMaterialStatus (int n, Domain *d, GaussPoint *g) | |
Constructor. Creates new StructuralMaterialStatus with number n, belonging to domain d and IntegrationPoint g. More... | |
virtual | ~StructuralMaterialStatus () |
Destructor. More... | |
const FloatArray & | giveStrainVector () const |
Returns the const pointer to receiver's strain vector. More... | |
const FloatArray & | giveStressVector () const |
Returns the const pointer to receiver's stress vector. More... | |
const FloatArray & | givePVector () const |
Returns the const pointer to receiver's first Piola-Kirchhoff stress vector. More... | |
const FloatArray & | giveCVector () const |
Returns the const pointer to receiver's Cauchy stress vector. More... | |
const FloatArray & | giveFVector () const |
Returns the const pointer to receiver's deformation gradient vector. More... | |
const FloatArray & | giveTempStrainVector () const |
Returns the const pointer to receiver's temporary strain vector. More... | |
const FloatArray & | giveTempStressVector () const |
Returns the const pointer to receiver's temporary stress vector. More... | |
const FloatArray & | giveTempPVector () const |
Returns the const pointer to receiver's temporary first Piola-Kirchhoff stress vector. More... | |
const FloatArray & | giveTempCVector () const |
Returns the const pointer to receiver's temporary Cauchy stress vector. More... | |
const FloatArray & | giveTempFVector () const |
Returns the const pointer to receiver's temporary deformation gradient vector. More... | |
void | letStrainVectorBe (const FloatArray &v) |
Assigns strain vector to given vector v. More... | |
void | letStressVectorBe (const FloatArray &v) |
Assigns stressVector to given vector v. More... | |
void | letPVectorBe (const FloatArray &v) |
Assigns PVector to given vector v. More... | |
void | letCVectorBe (const FloatArray &v) |
Assigns CVector to given vector v. More... | |
void | letFVectorBe (const FloatArray &v) |
Assigns FVector to given vector v. More... | |
void | letTempStressVectorBe (const FloatArray &v) |
Assigns tempStressVector to given vector v. More... | |
void | letTempStrainVectorBe (const FloatArray &v) |
Assigns tempStrainVector to given vector v. More... | |
void | letTempPVectorBe (const FloatArray &v) |
Assigns tempPVector to given vector v. More... | |
void | letTempCVectorBe (const FloatArray &v) |
Assigns tempPVector to given vector v. More... | |
void | letTempFVectorBe (const FloatArray &v) |
Assigns tempFVector to given vector v. More... | |
virtual void | copyStateVariables (const MaterialStatus &iStatus) |
Functions for MaterialStatusMapperInterface. More... | |
virtual void | addStateVariables (const MaterialStatus &iStatus) |
Public Member Functions inherited from oofem::MaterialStatus | |
MaterialStatus (int n, Domain *d, GaussPoint *g) | |
Constructor. More... | |
virtual | ~MaterialStatus () |
Destructor. More... | |
virtual bool | giveMaterialProperty (int propID, double &value) |
Returns the value of material model property stored in receiving status. More... | |
virtual void | setMaterialProperty (int propID, double value) |
Allows to set the value of material model property to be stored in receiving status. More... | |
virtual void | setStatusVariable (int varID, double value) |
Allows to set the value of a specific variable, identified by varID. More... | |
virtual void | restoreConsistency () |
Restores consistency of the status, i.e., computes or corrects the values of certain status variables such that the state is admissible. More... | |
virtual IRResultType | initializeFrom (InputRecord *ir) |
Initializes receiver according to object description stored in input record. More... | |
Public Member Functions inherited from oofem::IntegrationPointStatus | |
IntegrationPointStatus (int n, Domain *d, GaussPoint *g) | |
Constructor. More... | |
virtual | ~IntegrationPointStatus () |
Destructor. More... | |
virtual const char * | giveInputRecordName () const |
Public Member Functions inherited from oofem::FEMComponent | |
FEMComponent (int n, Domain *d) | |
Regular constructor, creates component with given number and belonging to given domain. More... | |
virtual | ~FEMComponent () |
Virtual destructor. More... | |
Domain * | giveDomain () const |
virtual void | setDomain (Domain *d) |
Sets associated Domain. More... | |
int | giveNumber () const |
void | setNumber (int num) |
Sets number of receiver. More... | |
virtual void | updateLocalNumbering (EntityRenumberingFunctor &f) |
Local renumbering support. More... | |
virtual void | giveInputRecord (DynamicInputRecord &input) |
Setups the input record string of receiver. More... | |
virtual int | checkConsistency () |
Allows programmer to test some internal data, before computation begins. More... | |
virtual void | printYourself () |
Prints receiver state on stdout. Useful for debugging. More... | |
virtual Interface * | giveInterface (InterfaceType t) |
Interface requesting service. More... | |
std::string | errorInfo (const char *func) const |
Returns string for prepending output (used by error reporting macros). More... | |
Public Member Functions inherited from oofem::MaterialStatusMapperInterface | |
MaterialStatusMapperInterface () | |
virtual | ~MaterialStatusMapperInterface () |
virtual int | MSMI_map (const GaussPoint &iGP, const Domain &iOldDom, Set &sourceSet, const TimeStep &iTStep, MaterialStatus &oStatus) |
Maps all internal state variables from the old domain to the given gp status. More... | |
virtual int | MSMI_map_cz (const GaussPoint &iGP, const Domain &iOldDom, Set &sourceSet, const TimeStep &iTStep, MaterialStatus &oStatus) |
virtual int | MSMI_update (const GaussPoint &iGP, const TimeStep &iTStep) |
Updates the internal state variables from previously mapped values. More... | |
virtual int | MSMI_finish (const TimeStep &iTStep) |
Finishes the mapping for given time step. More... | |
Protected Attributes | |
double | maxEquivStrain |
double | tempMaxEquivStrain |
double | damageCoeff |
double | tempDamageCoeff |
FloatMatrix | Ds0 |
double | transitionEps |
double | epsF2 |
__rcsdModeType | rcsdMode |
__rcsdModeType | tempRcsdMode |
Protected Attributes inherited from oofem::RCM2MaterialStatus | |
IntArray | crackStatuses |
One value from (pscm_NONE, pscm_OPEN, pscm_SOFTENING, pscm_RELOADING, pscm_UNLOADING, pscm_CLOSED. More... | |
IntArray | tempCrackStatuses |
FloatArray | maxCrackStrains |
Max crack strain reached. More... | |
FloatArray | tempMaxCrackStrains |
FloatArray | crackStrainVector |
Components of crack strain vector. More... | |
FloatArray | oldCrackStrainVector |
FloatMatrix | crackDirs |
Storing direction of cracks in columwise format. More... | |
FloatMatrix | tempCrackDirs |
FloatArray | charLengths |
FloatArray | principalStrain |
FloatArray | oldPrincipalStrain |
FloatArray | principalStress |
FloatArray | oldPrincipalStress |
IntArray | crackMap |
Protected Attributes inherited from oofem::StructuralMaterialStatus | |
FloatArray | strainVector |
Equilibrated strain vector in reduced form. More... | |
FloatArray | stressVector |
Equilibrated stress vector in reduced form. More... | |
FloatArray | tempStressVector |
Temporary stress vector in reduced form (increments are used mainly in nonlinear analysis) More... | |
FloatArray | tempStrainVector |
Temporary strain vector in reduced form (to find balanced state) More... | |
FloatArray | PVector |
Equilibrated first Piola-Kirchhoff stress vector. More... | |
FloatArray | tempPVector |
Temporary first Piola-Kirchhoff stress vector (to find balanced state) More... | |
FloatArray | CVector |
Equilibrated Cauchy stress vector. More... | |
FloatArray | tempCVector |
Temporary Cauchy stress vector (to find balanced state) More... | |
FloatArray | FVector |
Equilibrated deformation gradient in reduced form. More... | |
FloatArray | tempFVector |
Temporary deformation gradient in reduced form (to find balanced state) More... | |
Protected Attributes inherited from oofem::IntegrationPointStatus | |
GaussPoint * | gp |
Associated integration point. More... | |
Protected Attributes inherited from oofem::FEMComponent | |
int | number |
Component number. More... | |
Domain * | domain |
Link to domain object, useful for communicating with other FEM components. More... | |
Protected Attributes inherited from oofem::MaterialStatusMapperInterface | |
MaterialMappingAlgorithm * | mpMaterialMapper |
This class implements associated Material Status to RCSDEMaterial.
oofem::RCSDEMaterialStatus::RCSDEMaterialStatus | ( | int | n, |
Domain * | d, | ||
GaussPoint * | g | ||
) |
Definition at line 456 of file rcsde.C.
References damageCoeff, epsF2, maxEquivStrain, rcMode, rcsdMode, tempDamageCoeff, tempMaxEquivStrain, tempRcsdMode, and transitionEps.
Referenced by oofem::RCSDEMaterial::CreateStatus().
|
virtual |
|
inlinevirtual |
Reimplemented from oofem::RCM2MaterialStatus.
Reimplemented in oofem::RCSDNLMaterialStatus.
Definition at line 100 of file rcsde.h.
References initTempStatus(), restoreContext(), saveContext(), and updateYourself().
|
inline |
Definition at line 96 of file rcsde.h.
References damageCoeff.
Referenced by oofem::RCSDEMaterial::giveEffectiveMaterialStiffnessMatrix().
|
inline |
Definition at line 83 of file rcsde.h.
References Ds0.
Referenced by oofem::RCSDEMaterial::giveEffectiveMaterialStiffnessMatrix(), oofem::RCSDNLMaterial::giveRealStressVector(), and oofem::RCSDEMaterial::giveRealStressVector().
|
inline |
Definition at line 88 of file rcsde.h.
References epsF2.
Referenced by oofem::RCSDNLMaterial::giveRealStressVector(), and oofem::RCSDEMaterial::giveRealStressVector().
|
inline |
Definition at line 95 of file rcsde.h.
References maxEquivStrain.
|
inline |
|
inline |
|
inline |
Definition at line 77 of file rcsde.h.
References tempMaxEquivStrain.
Referenced by oofem::RCSDNLMaterial::giveRealStressVector(), and oofem::RCSDEMaterial::giveRealStressVector().
|
inline |
Definition at line 91 of file rcsde.h.
References tempRcsdMode.
Referenced by oofem::RCSDEMaterial::giveEffectiveMaterialStiffnessMatrix(), oofem::RCSDNLMaterial::giveRealStressVector(), oofem::RCSDEMaterial::giveRealStressVector(), and printOutputAt().
|
inline |
Definition at line 86 of file rcsde.h.
References transitionEps.
Referenced by oofem::RCSDNLMaterial::giveRealStressVector(), and oofem::RCSDEMaterial::giveRealStressVector().
|
virtual |
Initializes the temporary internal variables, describing the current state according to previously reached equilibrium internal variables.
Reimplemented from oofem::RCM2MaterialStatus.
Reimplemented in oofem::RCSDNLMaterialStatus.
Definition at line 517 of file rcsde.C.
References damageCoeff, oofem::RCM2MaterialStatus::initTempStatus(), maxEquivStrain, rcsdMode, tempDamageCoeff, tempMaxEquivStrain, and tempRcsdMode.
Referenced by giveClassName(), and oofem::RCSDNLMaterialStatus::initTempStatus().
|
virtual |
Print receiver's output to given stream.
Reimplemented from oofem::RCM2MaterialStatus.
Reimplemented in oofem::RCSDNLMaterialStatus.
Definition at line 471 of file rcsde.C.
References oofem::IntArray::at(), oofem::FloatMatrix::at(), oofem::RCM2MaterialStatus::crackDirs, oofem::RCM2MaterialStatus::crackStatuses, oofem::RCM2MaterialStatus::giveTempAlreadyCrack(), giveTempDamageCoeff(), giveTempMode(), oofem::StructuralMaterialStatus::printOutputAt(), pscm_NONE, pscm_OPEN, pscm_RELOADING, pscm_SOFTENING, pscm_UNLOADING, and rcMode.
Referenced by oofem::RCSDNLMaterialStatus::printOutputAt().
|
virtual |
Restores the receiver state previously written in stream.
stream | Input stream. |
mode | Determines amount of info available in stream (state, definition, ...). |
obj | Special parameter for sending extra information. |
throws | an ContextIOERR exception if error encountered. |
Reimplemented from oofem::RCM2MaterialStatus.
Reimplemented in oofem::RCSDNLMaterialStatus.
Definition at line 593 of file rcsde.C.
References oofem::CIO_IOERR, oofem::CIO_OK, damageCoeff, Ds0, epsF2, maxEquivStrain, rcsdMode, oofem::DataStream::read(), oofem::RCM2MaterialStatus::restoreContext(), oofem::FloatMatrix::restoreYourself(), THROW_CIOERR, and transitionEps.
Referenced by giveClassName(), and oofem::RCSDNLMaterialStatus::restoreContext().
|
virtual |
Stores receiver state to output stream.
stream | Output stream. |
mode | Determines amount of info required in stream (state, definition, ...). |
obj | Special parameter, used only to send particular integration point to material class version of this method. |
throws | an ContextIOERR exception if error encountered. |
Reimplemented from oofem::RCM2MaterialStatus.
Reimplemented in oofem::RCSDNLMaterialStatus.
Definition at line 548 of file rcsde.C.
References oofem::CIO_IOERR, oofem::CIO_OK, damageCoeff, Ds0, epsF2, maxEquivStrain, rcsdMode, oofem::RCM2MaterialStatus::saveContext(), oofem::FloatMatrix::storeYourself(), THROW_CIOERR, transitionEps, and oofem::DataStream::write().
Referenced by giveClassName(), and oofem::RCSDNLMaterialStatus::saveContext().
|
inline |
Definition at line 84 of file rcsde.h.
Referenced by oofem::RCSDNLMaterial::giveRealStressVector(), and oofem::RCSDEMaterial::giveRealStressVector().
|
inline |
Definition at line 89 of file rcsde.h.
Referenced by oofem::RCSDNLMaterial::giveRealStressVector(), and oofem::RCSDEMaterial::giveRealStressVector().
|
inline |
Definition at line 82 of file rcsde.h.
Referenced by oofem::RCSDNLMaterial::giveRealStressVector(), and oofem::RCSDEMaterial::giveRealStressVector().
|
inline |
Definition at line 78 of file rcsde.h.
Referenced by oofem::RCSDNLMaterial::giveRealStressVector(), and oofem::RCSDEMaterial::giveRealStressVector().
|
inline |
Definition at line 92 of file rcsde.h.
Referenced by oofem::RCSDNLMaterial::giveRealStressVector(), and oofem::RCSDEMaterial::giveRealStressVector().
|
inline |
Definition at line 87 of file rcsde.h.
Referenced by oofem::RCSDNLMaterial::giveRealStressVector(), and oofem::RCSDEMaterial::giveRealStressVector().
|
virtual |
Update equilibrium history variables according to temp-variables.
Invoked, after new equilibrium state has been reached.
Reimplemented from oofem::RCM2MaterialStatus.
Reimplemented in oofem::RCSDNLMaterialStatus.
Definition at line 532 of file rcsde.C.
References damageCoeff, maxEquivStrain, rcsdMode, tempDamageCoeff, tempMaxEquivStrain, tempRcsdMode, and oofem::RCM2MaterialStatus::updateYourself().
Referenced by giveClassName(), and oofem::RCSDNLMaterialStatus::updateYourself().
|
protected |
Definition at line 66 of file rcsde.h.
Referenced by giveDamageCoeff(), initTempStatus(), RCSDEMaterialStatus(), restoreContext(), saveContext(), and updateYourself().
|
protected |
Definition at line 67 of file rcsde.h.
Referenced by giveDs0Matrix(), restoreContext(), and saveContext().
|
protected |
Definition at line 68 of file rcsde.h.
Referenced by giveEpsF2Coeff(), RCSDEMaterialStatus(), restoreContext(), and saveContext().
|
protected |
Definition at line 65 of file rcsde.h.
Referenced by giveMaxEquivStrain(), initTempStatus(), RCSDEMaterialStatus(), restoreContext(), saveContext(), and updateYourself().
|
protected |
Definition at line 69 of file rcsde.h.
Referenced by giveMode(), initTempStatus(), RCSDEMaterialStatus(), restoreContext(), saveContext(), and updateYourself().
|
protected |
Definition at line 66 of file rcsde.h.
Referenced by giveTempDamageCoeff(), initTempStatus(), RCSDEMaterialStatus(), and updateYourself().
|
protected |
Definition at line 65 of file rcsde.h.
Referenced by giveTempMaxEquivStrain(), initTempStatus(), RCSDEMaterialStatus(), and updateYourself().
|
protected |
Definition at line 69 of file rcsde.h.
Referenced by giveTempMode(), initTempStatus(), RCSDEMaterialStatus(), and updateYourself().
|
protected |
Definition at line 68 of file rcsde.h.
Referenced by giveTransitionEpsCoeff(), RCSDEMaterialStatus(), restoreContext(), and saveContext().