|
OOFEM
2.1
|
This class implements associated Material Status to RCSDEMaterial. More...
#include <rcsde.h>
Inheritance diagram for oofem::RCSDEMaterialStatus:
Collaboration diagram for oofem::RCSDEMaterialStatus: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. | |
| 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 classType | giveClassID () const |
| Returns classType id of receiver. | |
| virtual void | initTempStatus () |
| Initializes the temporary internal variables, describing the current state according to previously reached equilibrium internal variables. | |
| virtual void | updateYourself (TimeStep *tStep) |
| Update equilibrium history variables according to temp-variables. | |
| virtual contextIOResultType | saveContext (DataStream *stream, ContextMode mode, void *obj=NULL) |
| Stores receiver state to output stream. | |
| virtual contextIOResultType | restoreContext (DataStream *stream, ContextMode mode, void *obj=NULL) |
| Restores the receiver state previously written in stream. | |
Protected Attributes | |
| double | maxEquivStrain |
| double | tempMaxEquivStrain |
| double | damageCoeff |
| double | tempDamageCoeff |
| FloatMatrix | Ds0 |
| double | transitionEps |
| double | epsF2 |
| __rcsdModeType | rcsdMode |
| __rcsdModeType | tempRcsdMode |
This class implements associated Material Status to RCSDEMaterial.
| oofem::RCSDEMaterialStatus::RCSDEMaterialStatus | ( | int | n, |
| Domain * | d, | ||
| GaussPoint * | g | ||
| ) |
Definition at line 474 of file rcsde.C.
References damageCoeff, epsF2, maxEquivStrain, rcMode, rcsdMode, tempDamageCoeff, tempMaxEquivStrain, tempRcsdMode, and transitionEps.
| oofem::RCSDEMaterialStatus::~RCSDEMaterialStatus | ( | ) | [virtual] |
| virtual classType oofem::RCSDEMaterialStatus::giveClassID | ( | ) | const [inline, virtual] |
Returns classType id of receiver.
Intended for run time type checking. Every derived class have to overload this method.
Reimplemented from oofem::RCM2MaterialStatus.
Reimplemented in oofem::RCSDNLMaterialStatus.
Definition at line 95 of file rcsde.h.
References oofem::RCSDEMaterialStatusClass.
| virtual const char* oofem::RCSDEMaterialStatus::giveClassName | ( | ) | const [inline, virtual] |
Reimplemented from oofem::RCM2MaterialStatus.
Reimplemented in oofem::RCSDNLMaterialStatus.
| double oofem::RCSDEMaterialStatus::giveDamageCoeff | ( | ) | [inline] |
Definition at line 90 of file rcsde.h.
References damageCoeff.
Referenced by oofem::RCSDEMaterial::giveEffectiveMaterialStiffnessMatrix().
| const FloatMatrix* oofem::RCSDEMaterialStatus::giveDs0Matrix | ( | ) | [inline] |
Definition at line 77 of file rcsde.h.
References Ds0.
Referenced by oofem::RCSDEMaterial::giveEffectiveMaterialStiffnessMatrix(), oofem::RCSDNLMaterial::giveRealStressVector(), and oofem::RCSDEMaterial::giveRealStressVector().
| double oofem::RCSDEMaterialStatus::giveEpsF2Coeff | ( | ) | [inline] |
Definition at line 82 of file rcsde.h.
References epsF2.
Referenced by oofem::RCSDNLMaterial::giveRealStressVector(), and oofem::RCSDEMaterial::giveRealStressVector().
| double oofem::RCSDEMaterialStatus::giveMaxEquivStrain | ( | ) | [inline] |
Definition at line 89 of file rcsde.h.
References maxEquivStrain.
| __rcsdModeType oofem::RCSDEMaterialStatus::giveMode | ( | ) | [inline] |
| double oofem::RCSDEMaterialStatus::giveTempDamageCoeff | ( | ) | [inline] |
| double oofem::RCSDEMaterialStatus::giveTempMaxEquivStrain | ( | ) | [inline] |
Definition at line 71 of file rcsde.h.
References tempMaxEquivStrain.
Referenced by oofem::RCSDNLMaterial::giveRealStressVector(), and oofem::RCSDEMaterial::giveRealStressVector().
| __rcsdModeType oofem::RCSDEMaterialStatus::giveTempMode | ( | ) | [inline] |
Definition at line 85 of file rcsde.h.
References tempRcsdMode.
Referenced by oofem::RCSDEMaterial::giveEffectiveMaterialStiffnessMatrix(), oofem::RCSDNLMaterial::giveRealStressVector(), oofem::RCSDEMaterial::giveRealStressVector(), and printOutputAt().
| double oofem::RCSDEMaterialStatus::giveTransitionEpsCoeff | ( | ) | [inline] |
Definition at line 80 of file rcsde.h.
References transitionEps.
Referenced by oofem::RCSDNLMaterial::giveRealStressVector(), and oofem::RCSDEMaterial::giveRealStressVector().
| void oofem::RCSDEMaterialStatus::initTempStatus | ( | ) | [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 535 of file rcsde.C.
References damageCoeff, maxEquivStrain, rcsdMode, tempDamageCoeff, tempMaxEquivStrain, and tempRcsdMode.
| void oofem::RCSDEMaterialStatus::printOutputAt | ( | FILE * | file, |
| TimeStep * | tStep | ||
| ) | [virtual] |
Print receiver's output to given stream.
Reimplemented from oofem::RCM2MaterialStatus.
Reimplemented in oofem::RCSDNLMaterialStatus.
Definition at line 489 of file rcsde.C.
References oofem::IntArray::at(), oofem::FloatMatrix::at(), oofem::RCM2MaterialStatus::crackDirs, oofem::RCM2MaterialStatus::crackStatuses, oofem::RCM2MaterialStatus::giveTempAlreadyCrack(), giveTempDamageCoeff(), giveTempMode(), pscm_NONE, pscm_OPEN, pscm_RELOADING, pscm_SOFTENING, pscm_UNLOADING, and rcMode.
| contextIOResultType oofem::RCSDEMaterialStatus::restoreContext | ( | DataStream * | stream, |
| ContextMode | mode, | ||
| void * | obj = NULL |
||
| ) | [virtual] |
Restores the receiver state previously written in stream.
Reads the FEMComponent class-id in order to allow test consistency.
| 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 611 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 oofem::RCSDNLMaterialStatus::restoreContext().
| contextIOResultType oofem::RCSDEMaterialStatus::saveContext | ( | DataStream * | stream, |
| ContextMode | mode, | ||
| void * | obj = NULL |
||
| ) | [virtual] |
Stores receiver state to output stream.
Writes the FEMComponent class-id in order to allow test whether correct data are then restored.
| 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 566 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 oofem::RCSDNLMaterialStatus::saveContext().
| void oofem::RCSDEMaterialStatus::setDs0Matrix | ( | FloatMatrix & | mtrx | ) | [inline] |
Definition at line 78 of file rcsde.h.
References Ds0.
Referenced by oofem::RCSDNLMaterial::giveRealStressVector(), and oofem::RCSDEMaterial::giveRealStressVector().
| void oofem::RCSDEMaterialStatus::setEpsF2Coeff | ( | double | val | ) | [inline] |
Definition at line 83 of file rcsde.h.
References epsF2.
Referenced by oofem::RCSDNLMaterial::giveRealStressVector(), and oofem::RCSDEMaterial::giveRealStressVector().
| void oofem::RCSDEMaterialStatus::setTempDamageCoeff | ( | double | val | ) | [inline] |
Definition at line 76 of file rcsde.h.
References tempDamageCoeff.
Referenced by oofem::RCSDNLMaterial::giveRealStressVector(), and oofem::RCSDEMaterial::giveRealStressVector().
| void oofem::RCSDEMaterialStatus::setTempMaxEquivStrain | ( | double | val | ) | [inline] |
Definition at line 72 of file rcsde.h.
References tempMaxEquivStrain.
Referenced by oofem::RCSDNLMaterial::giveRealStressVector(), and oofem::RCSDEMaterial::giveRealStressVector().
| void oofem::RCSDEMaterialStatus::setTempMode | ( | __rcsdModeType | mode | ) | [inline] |
Definition at line 86 of file rcsde.h.
References tempRcsdMode.
Referenced by oofem::RCSDNLMaterial::giveRealStressVector(), and oofem::RCSDEMaterial::giveRealStressVector().
| void oofem::RCSDEMaterialStatus::setTransitionEpsCoeff | ( | double | val | ) | [inline] |
Definition at line 81 of file rcsde.h.
References transitionEps.
Referenced by oofem::RCSDNLMaterial::giveRealStressVector(), and oofem::RCSDEMaterial::giveRealStressVector().
| void oofem::RCSDEMaterialStatus::updateYourself | ( | TimeStep * | ) | [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 550 of file rcsde.C.
References damageCoeff, maxEquivStrain, rcsdMode, tempDamageCoeff, tempMaxEquivStrain, and tempRcsdMode.
double oofem::RCSDEMaterialStatus::damageCoeff [protected] |
Definition at line 60 of file rcsde.h.
Referenced by giveDamageCoeff(), initTempStatus(), RCSDEMaterialStatus(), restoreContext(), saveContext(), and updateYourself().
FloatMatrix oofem::RCSDEMaterialStatus::Ds0 [protected] |
Definition at line 61 of file rcsde.h.
Referenced by giveDs0Matrix(), restoreContext(), saveContext(), and setDs0Matrix().
double oofem::RCSDEMaterialStatus::epsF2 [protected] |
Definition at line 62 of file rcsde.h.
Referenced by giveEpsF2Coeff(), RCSDEMaterialStatus(), restoreContext(), saveContext(), and setEpsF2Coeff().
double oofem::RCSDEMaterialStatus::maxEquivStrain [protected] |
Definition at line 59 of file rcsde.h.
Referenced by giveMaxEquivStrain(), initTempStatus(), RCSDEMaterialStatus(), restoreContext(), saveContext(), and updateYourself().
__rcsdModeType oofem::RCSDEMaterialStatus::rcsdMode [protected] |
Definition at line 63 of file rcsde.h.
Referenced by giveMode(), initTempStatus(), RCSDEMaterialStatus(), restoreContext(), saveContext(), and updateYourself().
double oofem::RCSDEMaterialStatus::tempDamageCoeff [protected] |
Definition at line 60 of file rcsde.h.
Referenced by giveTempDamageCoeff(), initTempStatus(), RCSDEMaterialStatus(), setTempDamageCoeff(), and updateYourself().
double oofem::RCSDEMaterialStatus::tempMaxEquivStrain [protected] |
Definition at line 59 of file rcsde.h.
Referenced by giveTempMaxEquivStrain(), initTempStatus(), RCSDEMaterialStatus(), setTempMaxEquivStrain(), and updateYourself().
Definition at line 63 of file rcsde.h.
Referenced by giveTempMode(), initTempStatus(), RCSDEMaterialStatus(), setTempMode(), and updateYourself().
double oofem::RCSDEMaterialStatus::transitionEps [protected] |
Definition at line 62 of file rcsde.h.
Referenced by giveTransitionEpsCoeff(), RCSDEMaterialStatus(), restoreContext(), saveContext(), and setTransitionEpsCoeff().