|
OOFEM
2.1
|
This class implements associated Material Status to SmearedCrackingMaterail. More...
#include <rcm2.h>
Inheritance diagram for oofem::RCM2MaterialStatus:
Collaboration diagram for oofem::RCM2MaterialStatus:Public Member Functions | |
| RCM2MaterialStatus (int n, Domain *d, GaussPoint *g) | |
| virtual | ~RCM2MaterialStatus () |
| virtual void | printOutputAt (FILE *file, TimeStep *tStep) |
| Print receiver's output to given stream. | |
| void | getPrincipalStrainVector (FloatArray &answer) const |
| void | getPrincipalStressVector (FloatArray &answer) const |
| void | givePrevPrincStrainVector (FloatArray &answer) const |
| void | givePrevPrincStressVector (FloatArray &answer) const |
| void | letPrincipalStrainVectorBe (const FloatArray &pv) |
| void | letPrincipalStressVectorBe (const FloatArray &pv) |
| void | giveCrackMap (IntArray &answer) const |
| void | letCrackMapBe (IntArray &map) |
| virtual int | isCrackActive (int i) const |
| virtual int | giveNumberOfActiveCracks () const |
| virtual int | giveNumberOfTempActiveCracks () const |
| int | giveTempAlreadyCrack () const |
| void | giveTempCrackDirs (FloatMatrix &answer) |
| void | letTempCrackDirsBe (const FloatMatrix &a) |
| double | giveTempMaxCrackStrain (int icrack) |
| void | setTempMaxCrackStrain (int icrack, double val) |
| void | giveTempCrackStatus (IntArray &answer) |
| int | giveTempCrackStatus (int icrack) const |
| void | setTempCrackStatus (int icrack, int val) |
| void | giveCrackStrainVector (FloatArray &answer) |
| double | giveCrackStrain (int icrack) const |
| void | giveOldCrackStrainVector (FloatArray &answer) |
| void | letCrackStrainVectorBe (const FloatArray &a) |
| void | letOldCrackStrainVectorBe (const FloatArray &a) |
| double | giveCharLength (int icrack) const |
| void | setCharLength (int icrack, double val) |
| void | giveCrackDirs (FloatMatrix &answer) |
| void | giveCrackStatus (IntArray &answer) |
| int | giveAlreadyCrack () const |
| 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 | |
| IntArray | crackStatuses |
| One value from (pscm_NONE, pscm_OPEN, pscm_SOFTENING, pscm_RELOADING, pscm_UNLOADING, pscm_CLOSED. | |
| IntArray | tempCrackStatuses |
| FloatArray | maxCrackStrains |
| Max crack strain reached. | |
| FloatArray | tempMaxCrackStrains |
| FloatArray | crackStrainVector |
| Components of crack strain vector. | |
| FloatArray | oldCrackStrainVector |
| FloatMatrix | crackDirs |
| Storing direction of cracks in columwise format. | |
| FloatMatrix | tempCrackDirs |
| FloatArray | charLengths |
| FloatArray | principalStrain |
| FloatArray | oldPrincipalStrain |
| FloatArray | principalStress |
| FloatArray | oldPrincipalStress |
| IntArray | crackMap |
This class implements associated Material Status to SmearedCrackingMaterail.
| oofem::RCM2MaterialStatus::RCM2MaterialStatus | ( | int | n, |
| Domain * | d, | ||
| GaussPoint * | g | ||
| ) |
Definition at line 1086 of file rcm2.C.
References oofem::FloatMatrix::at(), crackDirs, and tempCrackDirs.
| oofem::RCM2MaterialStatus::~RCM2MaterialStatus | ( | ) | [virtual] |
| void oofem::RCM2MaterialStatus::getPrincipalStrainVector | ( | FloatArray & | answer | ) | const [inline] |
Definition at line 102 of file rcm2.h.
References principalStrain.
Referenced by oofem::RCM2Material::giveEffectiveMaterialStiffnessMatrix().
| void oofem::RCM2MaterialStatus::getPrincipalStressVector | ( | FloatArray & | answer | ) | const [inline] |
Definition at line 103 of file rcm2.h.
References principalStress.
Referenced by oofem::RCM2Material::giveEffectiveMaterialStiffnessMatrix().
| int oofem::RCM2MaterialStatus::giveAlreadyCrack | ( | ) | const [inline] |
Definition at line 140 of file rcm2.h.
References giveNumberOfActiveCracks().
Referenced by oofem::RCM2Material::giveIPValue().
| double oofem::RCM2MaterialStatus::giveCharLength | ( | int | icrack | ) | const [inline] |
Definition at line 134 of file rcm2.h.
References oofem::FloatArray::at(), and charLengths.
Referenced by oofem::Concrete3::giveCrackingModulus(), oofem::RCSDEMaterial::giveCrackingModulus(), oofem::RCSDMaterial::giveCrackingModulus(), oofem::Concrete3::giveMinCrackStrainsForFullyOpenCrack(), oofem::RCSDMaterial::giveMinCrackStrainsForFullyOpenCrack(), oofem::Concrete3::giveNormalCrackingStress(), oofem::RCSDEMaterial::giveNormalCrackingStress(), oofem::RCSDMaterial::giveNormalCrackingStress(), oofem::RCSDNLMaterial::giveRealStressVector(), oofem::RCSDEMaterial::giveRealStressVector(), and oofem::RCSDMaterial::giveRealStressVector().
| virtual classType oofem::RCM2MaterialStatus::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::StructuralMaterialStatus.
Reimplemented in oofem::RCSDMaterialStatus, oofem::RCSDEMaterialStatus, and oofem::RCSDNLMaterialStatus.
Definition at line 144 of file rcm2.h.
References oofem::RCMMaterialStatusClass.
| virtual const char* oofem::RCM2MaterialStatus::giveClassName | ( | ) | const [inline, virtual] |
Reimplemented from oofem::StructuralMaterialStatus.
Reimplemented in oofem::RCSDMaterialStatus, oofem::RCSDEMaterialStatus, and oofem::RCSDNLMaterialStatus.
| void oofem::RCM2MaterialStatus::giveCrackDirs | ( | FloatMatrix & | answer | ) | [inline] |
Definition at line 138 of file rcm2.h.
References crackDirs.
Referenced by oofem::RCM2Material::giveIPValue(), and oofem::RCM2Material::giveRealPrincipalStressVector3d().
| void oofem::RCM2MaterialStatus::giveCrackMap | ( | IntArray & | answer | ) | const [inline] |
Definition at line 109 of file rcm2.h.
References crackMap.
Referenced by oofem::RCM2Material::checkForNewActiveCracks(), oofem::RCM2Material::checkIfClosedCracks(), oofem::RCM2Material::giveCrackedStiffnessMatrix(), oofem::RCM2Material::giveRealPrincipalStressVector3d(), oofem::RCM2Material::updateActiveCrackMap(), and oofem::RCM2Material::updateCrackStatus().
| void oofem::RCM2MaterialStatus::giveCrackStatus | ( | IntArray & | answer | ) | [inline] |
Definition at line 139 of file rcm2.h.
References crackStatuses.
Referenced by oofem::RCM2Material::giveIPValue().
| double oofem::RCM2MaterialStatus::giveCrackStrain | ( | int | icrack | ) | const [inline] |
Definition at line 129 of file rcm2.h.
References oofem::FloatArray::at(), and crackStrainVector.
Referenced by oofem::RCM2Material::giveCrackedStiffnessMatrix(), oofem::RCSDNLMaterial::giveRealStressVector(), and oofem::RCSDEMaterial::giveRealStressVector().
| void oofem::RCM2MaterialStatus::giveCrackStrainVector | ( | FloatArray & | answer | ) | [inline] |
Definition at line 128 of file rcm2.h.
References crackStrainVector.
Referenced by oofem::RCM2Material::giveRealPrincipalStressVector3d(), oofem::RCSDNLMaterial::giveRealStressVector(), oofem::RCSDEMaterial::giveRealStressVector(), oofem::RCSDMaterial::giveRealStressVector(), and oofem::RCM2Material::giveRealStressVector().
| int oofem::RCM2MaterialStatus::giveNumberOfActiveCracks | ( | ) | const [virtual] |
Definition at line 1163 of file rcm2.C.
References oofem::FloatArray::at(), and oldCrackStrainVector.
Referenced by giveAlreadyCrack().
| int oofem::RCM2MaterialStatus::giveNumberOfTempActiveCracks | ( | ) | const [virtual] |
Definition at line 1181 of file rcm2.C.
References isCrackActive().
Referenced by oofem::RCM2Material::giveCrackedStiffnessMatrix(), oofem::RCM2Material::giveEffectiveMaterialStiffnessMatrix(), oofem::RCM2Material::giveRealPrincipalStressVector3d(), and giveTempAlreadyCrack().
| void oofem::RCM2MaterialStatus::giveOldCrackStrainVector | ( | FloatArray & | answer | ) | [inline] |
Definition at line 130 of file rcm2.h.
References oldCrackStrainVector.
| void oofem::RCM2MaterialStatus::givePrevPrincStrainVector | ( | FloatArray & | answer | ) | const [inline] |
Definition at line 104 of file rcm2.h.
References oldPrincipalStrain.
Referenced by oofem::RCM2Material::giveRealPrincipalStressVector3d().
| void oofem::RCM2MaterialStatus::givePrevPrincStressVector | ( | FloatArray & | answer | ) | const [inline] |
Definition at line 105 of file rcm2.h.
References oldPrincipalStress.
| int oofem::RCM2MaterialStatus::giveTempAlreadyCrack | ( | ) | const [inline] |
Definition at line 114 of file rcm2.h.
References giveNumberOfTempActiveCracks().
Referenced by oofem::RCSDEMaterialStatus::printOutputAt(), oofem::RCSDMaterialStatus::printOutputAt(), and printOutputAt().
| void oofem::RCM2MaterialStatus::giveTempCrackDirs | ( | FloatMatrix & | answer | ) | [inline] |
Definition at line 119 of file rcm2.h.
References tempCrackDirs.
Referenced by oofem::RCM2Material::checkForNewActiveCracks(), oofem::RCM2Material::giveEffectiveMaterialStiffnessMatrix(), oofem::RCSDNLMaterial::giveRealStressVector(), oofem::RCSDEMaterial::giveRealStressVector(), oofem::RCSDMaterial::giveRealStressVector(), and oofem::RCM2Material::giveRealStressVector().
| void oofem::RCM2MaterialStatus::giveTempCrackStatus | ( | IntArray & | answer | ) | [inline] |
Definition at line 124 of file rcm2.h.
References tempCrackStatuses.
Referenced by oofem::RCSDNLMaterial::giveRealStressVector(), oofem::RCSDEMaterial::giveRealStressVector(), oofem::RCSDMaterial::giveRealStressVector(), and oofem::RCM2Material::updateCrackStatus().
| int oofem::RCM2MaterialStatus::giveTempCrackStatus | ( | int | icrack | ) | const [inline] |
Definition at line 125 of file rcm2.h.
References oofem::IntArray::at(), and tempCrackStatuses.
| double oofem::RCM2MaterialStatus::giveTempMaxCrackStrain | ( | int | icrack | ) | [inline] |
Definition at line 122 of file rcm2.h.
References oofem::FloatArray::at(), and tempMaxCrackStrains.
Referenced by oofem::RCM2Material::checkForNewActiveCracks(), oofem::Concrete3::giveCrackingModulus(), oofem::RCSDEMaterial::giveCrackingModulus(), oofem::RCSDMaterial::giveCrackingModulus(), oofem::Concrete3::giveNormalCrackingStress(), oofem::RCSDEMaterial::giveNormalCrackingStress(), oofem::RCSDMaterial::giveNormalCrackingStress(), and oofem::RCM2Material::updateCrackStatus().
| void oofem::RCM2MaterialStatus::initTempStatus | ( | ) | [virtual] |
Initializes the temporary internal variables, describing the current state according to previously reached equilibrium internal variables.
Reimplemented from oofem::StructuralMaterialStatus.
Reimplemented in oofem::RCSDMaterialStatus, oofem::RCSDEMaterialStatus, and oofem::RCSDNLMaterialStatus.
Definition at line 1200 of file rcm2.C.
References oofem::IntArray::at(), crackDirs, crackMap, crackStatuses, crackStrainVector, maxCrackStrains, oldCrackStrainVector, oldPrincipalStrain, oldPrincipalStress, principalStrain, principalStress, tempCrackDirs, tempCrackStatuses, and tempMaxCrackStrains.
Referenced by oofem::RCM2Material::initTempStatus().
| int oofem::RCM2MaterialStatus::isCrackActive | ( | int | i | ) | const [virtual] |
Definition at line 1106 of file rcm2.C.
Referenced by oofem::RCM2Material::giveEffectiveMaterialStiffnessMatrix(), giveNumberOfTempActiveCracks(), and oofem::RCM2Material::updateActiveCrackMap().
| void oofem::RCM2MaterialStatus::letCrackMapBe | ( | IntArray & | map | ) | [inline] |
Definition at line 110 of file rcm2.h.
References crackMap.
Referenced by oofem::RCM2Material::checkIfClosedCracks(), and oofem::RCM2Material::updateActiveCrackMap().
| void oofem::RCM2MaterialStatus::letCrackStrainVectorBe | ( | const FloatArray & | a | ) | [inline] |
Definition at line 131 of file rcm2.h.
References crackStrainVector.
Referenced by oofem::RCM2Material::giveRealPrincipalStressVector3d().
| void oofem::RCM2MaterialStatus::letOldCrackStrainVectorBe | ( | const FloatArray & | a | ) | [inline] |
Definition at line 132 of file rcm2.h.
References oldCrackStrainVector.
| void oofem::RCM2MaterialStatus::letPrincipalStrainVectorBe | ( | const FloatArray & | pv | ) | [inline] |
Definition at line 106 of file rcm2.h.
References principalStrain.
Referenced by oofem::RCM2Material::giveRealPrincipalStressVector3d().
| void oofem::RCM2MaterialStatus::letPrincipalStressVectorBe | ( | const FloatArray & | pv | ) | [inline] |
Definition at line 107 of file rcm2.h.
References principalStress.
Referenced by oofem::RCM2Material::giveRealPrincipalStressVector3d().
| void oofem::RCM2MaterialStatus::letTempCrackDirsBe | ( | const FloatMatrix & | a | ) | [inline] |
Definition at line 120 of file rcm2.h.
References tempCrackDirs.
Referenced by oofem::RCM2Material::giveRealPrincipalStressVector3d().
| void oofem::RCM2MaterialStatus::printOutputAt | ( | FILE * | file, |
| TimeStep * | tStep | ||
| ) | [virtual] |
Print receiver's output to given stream.
Reimplemented from oofem::StructuralMaterialStatus.
Reimplemented in oofem::RCSDMaterialStatus, oofem::RCSDEMaterialStatus, and oofem::RCSDNLMaterialStatus.
Definition at line 1124 of file rcm2.C.
References oofem::IntArray::at(), oofem::FloatMatrix::at(), crackDirs, crackStatuses, giveTempAlreadyCrack(), pscm_NONE, pscm_OPEN, pscm_RELOADING, pscm_SOFTENING, and pscm_UNLOADING.
| contextIOResultType oofem::RCM2MaterialStatus::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::StructuralMaterialStatus.
Reimplemented in oofem::RCSDMaterialStatus, oofem::RCSDEMaterialStatus, and oofem::RCSDNLMaterialStatus.
Definition at line 1309 of file rcm2.C.
References charLengths, oofem::CIO_OK, crackDirs, crackMap, crackStatuses, crackStrainVector, maxCrackStrains, oldCrackStrainVector, oldPrincipalStrain, oldPrincipalStress, principalStrain, principalStress, oofem::StructuralMaterialStatus::restoreContext(), oofem::IntArray::restoreYourself(), oofem::FloatArray::restoreYourself(), oofem::FloatMatrix::restoreYourself(), and THROW_CIOERR.
Referenced by oofem::RCSDEMaterialStatus::restoreContext(), and oofem::RCSDMaterialStatus::restoreContext().
| contextIOResultType oofem::RCM2MaterialStatus::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::StructuralMaterialStatus.
Reimplemented in oofem::RCSDMaterialStatus, oofem::RCSDEMaterialStatus, and oofem::RCSDNLMaterialStatus.
Definition at line 1245 of file rcm2.C.
References charLengths, oofem::CIO_OK, crackDirs, crackMap, crackStatuses, crackStrainVector, maxCrackStrains, oldCrackStrainVector, oldPrincipalStrain, oldPrincipalStress, principalStrain, principalStress, oofem::StructuralMaterialStatus::saveContext(), oofem::IntArray::storeYourself(), oofem::FloatArray::storeYourself(), oofem::FloatMatrix::storeYourself(), and THROW_CIOERR.
Referenced by oofem::RCSDEMaterialStatus::saveContext(), and oofem::RCSDMaterialStatus::saveContext().
| void oofem::RCM2MaterialStatus::setCharLength | ( | int | icrack, |
| double | val | ||
| ) | [inline] |
Definition at line 135 of file rcm2.h.
References oofem::FloatArray::at(), and charLengths.
Referenced by oofem::RCM2Material::updateStatusForNewCrack().
| void oofem::RCM2MaterialStatus::setTempCrackStatus | ( | int | icrack, |
| int | val | ||
| ) | [inline] |
Definition at line 126 of file rcm2.h.
References oofem::IntArray::at(), and tempCrackStatuses.
Referenced by oofem::RCM2Material::updateCrackStatus().
| void oofem::RCM2MaterialStatus::setTempMaxCrackStrain | ( | int | icrack, |
| double | val | ||
| ) | [inline] |
Definition at line 123 of file rcm2.h.
References oofem::FloatArray::at(), and tempMaxCrackStrains.
Referenced by oofem::RCM2Material::updateCrackStatus().
| void oofem::RCM2MaterialStatus::updateYourself | ( | TimeStep * | ) | [virtual] |
Update equilibrium history variables according to temp-variables.
Invoked, after new equilibrium state has been reached.
Reimplemented from oofem::StructuralMaterialStatus.
Reimplemented in oofem::RCSDMaterialStatus, oofem::RCSDEMaterialStatus, and oofem::RCSDNLMaterialStatus.
Definition at line 1224 of file rcm2.C.
References crackDirs, crackStatuses, crackStrainVector, maxCrackStrains, oldCrackStrainVector, oldPrincipalStrain, oldPrincipalStress, principalStrain, principalStress, tempCrackDirs, tempCrackStatuses, and tempMaxCrackStrains.
FloatArray oofem::RCM2MaterialStatus::charLengths [protected] |
Definition at line 82 of file rcm2.h.
Referenced by giveCharLength(), restoreContext(), saveContext(), and setCharLength().
FloatMatrix oofem::RCM2MaterialStatus::crackDirs [protected] |
Storing direction of cracks in columwise format.
Definition at line 80 of file rcm2.h.
Referenced by giveCrackDirs(), initTempStatus(), oofem::RCSDEMaterialStatus::printOutputAt(), oofem::RCSDMaterialStatus::printOutputAt(), printOutputAt(), RCM2MaterialStatus(), restoreContext(), saveContext(), and updateYourself().
IntArray oofem::RCM2MaterialStatus::crackMap [protected] |
Definition at line 94 of file rcm2.h.
Referenced by giveCrackMap(), initTempStatus(), letCrackMapBe(), restoreContext(), and saveContext().
IntArray oofem::RCM2MaterialStatus::crackStatuses [protected] |
One value from (pscm_NONE, pscm_OPEN, pscm_SOFTENING, pscm_RELOADING, pscm_UNLOADING, pscm_CLOSED.
Definition at line 74 of file rcm2.h.
Referenced by giveCrackStatus(), initTempStatus(), oofem::RCSDEMaterialStatus::printOutputAt(), oofem::RCSDMaterialStatus::printOutputAt(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().
Components of crack strain vector.
Definition at line 78 of file rcm2.h.
Referenced by giveCrackStrain(), giveCrackStrainVector(), initTempStatus(), letCrackStrainVectorBe(), restoreContext(), saveContext(), and updateYourself().
FloatArray oofem::RCM2MaterialStatus::maxCrackStrains [protected] |
Max crack strain reached.
Definition at line 76 of file rcm2.h.
Referenced by initTempStatus(), restoreContext(), saveContext(), and updateYourself().
Definition at line 78 of file rcm2.h.
Referenced by giveNumberOfActiveCracks(), giveOldCrackStrainVector(), initTempStatus(), letOldCrackStrainVectorBe(), restoreContext(), saveContext(), and updateYourself().
Definition at line 92 of file rcm2.h.
Referenced by givePrevPrincStrainVector(), initTempStatus(), restoreContext(), saveContext(), and updateYourself().
Definition at line 93 of file rcm2.h.
Referenced by givePrevPrincStressVector(), initTempStatus(), restoreContext(), saveContext(), and updateYourself().
FloatArray oofem::RCM2MaterialStatus::principalStrain [protected] |
Definition at line 92 of file rcm2.h.
Referenced by getPrincipalStrainVector(), initTempStatus(), letPrincipalStrainVectorBe(), restoreContext(), saveContext(), and updateYourself().
FloatArray oofem::RCM2MaterialStatus::principalStress [protected] |
Definition at line 93 of file rcm2.h.
Referenced by getPrincipalStressVector(), initTempStatus(), letPrincipalStressVectorBe(), restoreContext(), saveContext(), and updateYourself().
FloatMatrix oofem::RCM2MaterialStatus::tempCrackDirs [protected] |
Definition at line 80 of file rcm2.h.
Referenced by giveTempCrackDirs(), initTempStatus(), letTempCrackDirsBe(), RCM2MaterialStatus(), and updateYourself().
IntArray oofem::RCM2MaterialStatus::tempCrackStatuses [protected] |
Definition at line 74 of file rcm2.h.
Referenced by giveTempCrackStatus(), initTempStatus(), setTempCrackStatus(), and updateYourself().
Definition at line 76 of file rcm2.h.
Referenced by giveTempMaxCrackStrain(), initTempStatus(), setTempMaxCrackStrain(), and updateYourself().