OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
This class implements associated Material Status to TrabBoneMaterial. More...
#include <trabbonematerial.h>
Public Member Functions | |
TrabBoneMaterialStatus (int n, Domain *d, GaussPoint *g) | |
virtual | ~TrabBoneMaterialStatus () |
void | printOutputAt (FILE *file, TimeStep *tStep) |
Print receiver's output to given stream. More... | |
double | giveAlpha () |
double | giveTempAlpha () |
double | giveDam () |
double | giveTempDam () |
double | giveSmtrx () |
double | giveSlope () |
double | giveSigC () |
double | giveMatConstC () |
const FloatArray & | givePlasStrainVector () |
const FloatArray & | giveTempPlasStrainVector () |
const FloatArray & | giveTempIncPlasStrainVector () |
void | setTempAlpha (double al) |
void | setTempDam (double da) |
void | setSmtrx (double smt) |
void | setSlope (double slp) |
void | setSigC (double sc) |
void | setMatConstC (double mcc) |
void | setTempEpsp (double epsip) |
void | setTempDepsp (double depsip) |
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::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 | tempAlpha |
double | alpha |
double | tempDam |
double | dam |
double | smtrx |
double | slope |
double | sigC |
double | matConstC |
FloatArray | tempEpsp |
FloatArray | epsp |
FloatArray | tempDepsp |
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 TrabBoneMaterial.
Definition at line 67 of file trabbonematerial.h.
oofem::TrabBoneMaterialStatus::TrabBoneMaterialStatus | ( | int | n, |
Domain * | d, | ||
GaussPoint * | g | ||
) |
Definition at line 273 of file trabbonematerial.C.
References alpha, oofem::FloatArray::at(), dam, epsp, matConstC, oofem::FloatArray::resize(), sigC, slope, smtrx, tempAlpha, tempDam, tempDepsp, and tempEpsp.
Referenced by oofem::TrabBoneMaterial::CreateStatus().
|
virtual |
Definition at line 292 of file trabbonematerial.C.
double oofem::TrabBoneMaterialStatus::giveAlpha | ( | ) |
Definition at line 297 of file trabbonematerial.C.
References alpha.
Referenced by oofem::TrabBoneMaterial::performPlasticityReturn().
|
inlinevirtual |
Reimplemented from oofem::StructuralMaterialStatus.
Reimplemented in oofem::TrabBoneNLStatus.
Definition at line 105 of file trabbonematerial.h.
References initTempStatus(), restoreContext(), saveContext(), and updateYourself().
double oofem::TrabBoneMaterialStatus::giveDam | ( | ) |
Definition at line 309 of file trabbonematerial.C.
References dam.
double oofem::TrabBoneMaterialStatus::giveMatConstC | ( | ) |
Definition at line 339 of file trabbonematerial.C.
References matConstC.
Referenced by oofem::TrabBoneMaterial::give1dStressStiffMtrx().
const FloatArray & oofem::TrabBoneMaterialStatus::givePlasStrainVector | ( | ) |
Definition at line 345 of file trabbonematerial.C.
References epsp.
Referenced by oofem::TrabBoneMaterial::performPlasticityReturn().
double oofem::TrabBoneMaterialStatus::giveSigC | ( | ) |
Definition at line 333 of file trabbonematerial.C.
References sigC.
Referenced by oofem::TrabBoneNL::giveRealStressVector_1d(), and oofem::TrabBoneMaterial::giveRealStressVector_1d().
double oofem::TrabBoneMaterialStatus::giveSlope | ( | ) |
Definition at line 327 of file trabbonematerial.C.
References slope.
double oofem::TrabBoneMaterialStatus::giveSmtrx | ( | ) |
Definition at line 321 of file trabbonematerial.C.
References smtrx.
double oofem::TrabBoneMaterialStatus::giveTempAlpha | ( | ) |
Definition at line 303 of file trabbonematerial.C.
References tempAlpha.
Referenced by oofem::TrabBoneMaterial::computeCumPlastStrain(), and oofem::TrabBoneMaterial::give1dStressStiffMtrx().
double oofem::TrabBoneMaterialStatus::giveTempDam | ( | ) |
Definition at line 315 of file trabbonematerial.C.
References tempDam.
Referenced by oofem::TrabBoneMaterial::give1dStressStiffMtrx().
const FloatArray & oofem::TrabBoneMaterialStatus::giveTempIncPlasStrainVector | ( | ) |
Definition at line 357 of file trabbonematerial.C.
References tempDepsp.
Referenced by oofem::TrabBoneMaterial::give1dStressStiffMtrx().
const FloatArray & oofem::TrabBoneMaterialStatus::giveTempPlasStrainVector | ( | ) |
Definition at line 351 of file trabbonematerial.C.
References tempEpsp.
Referenced by oofem::TrabBoneMaterial::give1dStressStiffMtrx(), oofem::TrabBoneNL::giveRealStressVector_1d(), and oofem::TrabBoneMaterial::giveRealStressVector_1d().
|
virtual |
Initializes the temporary internal variables, describing the current state according to previously reached equilibrium internal variables.
Reimplemented from oofem::StructuralMaterialStatus.
Reimplemented in oofem::TrabBoneNLStatus.
Definition at line 375 of file trabbonematerial.C.
References alpha, dam, epsp, oofem::StructuralMaterialStatus::initTempStatus(), tempAlpha, tempDam, and tempEpsp.
Referenced by giveClassName(), and oofem::TrabBoneNLStatus::initTempStatus().
|
virtual |
Print receiver's output to given stream.
Reimplemented from oofem::StructuralMaterialStatus.
Reimplemented in oofem::TrabBoneNLStatus.
Definition at line 364 of file trabbonematerial.C.
References oofem::FloatArray::at(), oofem::StructuralMaterialStatus::printOutputAt(), slope, smtrx, tempAlpha, tempDam, and tempEpsp.
|
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::StructuralMaterialStatus.
Definition at line 413 of file trabbonematerial.C.
References oofem::CIO_OK, oofem::StructuralMaterialStatus::restoreContext(), and THROW_CIOERR.
Referenced by giveClassName().
|
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::StructuralMaterialStatus.
Definition at line 395 of file trabbonematerial.C.
References oofem::CIO_OK, oofem::StructuralMaterialStatus::saveContext(), and THROW_CIOERR.
Referenced by giveClassName().
|
inline |
Definition at line 99 of file trabbonematerial.h.
Referenced by oofem::TrabBoneMaterial::computeDensification().
|
inline |
Definition at line 98 of file trabbonematerial.h.
Referenced by oofem::TrabBoneMaterial::computeDensification().
|
inline |
Definition at line 97 of file trabbonematerial.h.
|
inline |
Definition at line 96 of file trabbonematerial.h.
Referenced by oofem::TrabBoneMaterial::give1dStressStiffMtrx().
|
inline |
Definition at line 94 of file trabbonematerial.h.
Referenced by oofem::TrabBoneMaterial::performPlasticityReturn().
|
inline |
Definition at line 95 of file trabbonematerial.h.
Referenced by oofem::TrabBoneNL::giveRealStressVector_1d(), and oofem::TrabBoneMaterial::giveRealStressVector_1d().
|
inline |
Definition at line 101 of file trabbonematerial.h.
References oofem::FloatArray::at().
Referenced by oofem::TrabBoneMaterial::performPlasticityReturn().
|
inline |
Definition at line 100 of file trabbonematerial.h.
References oofem::FloatArray::at().
Referenced by oofem::TrabBoneMaterial::performPlasticityReturn().
|
virtual |
Update equilibrium history variables according to temp-variables.
Invoked, after new equilibrium state has been reached.
Reimplemented from oofem::StructuralMaterialStatus.
Reimplemented in oofem::TrabBoneNLStatus.
Definition at line 385 of file trabbonematerial.C.
References alpha, dam, epsp, tempAlpha, tempDam, tempEpsp, and oofem::StructuralMaterialStatus::updateYourself().
Referenced by giveClassName(), and oofem::TrabBoneNLStatus::updateYourself().
|
protected |
Definition at line 70 of file trabbonematerial.h.
Referenced by giveAlpha(), oofem::TrabBoneNL::giveInputRecordName(), initTempStatus(), oofem::TrabBoneNLStatus::printOutputAt(), TrabBoneMaterialStatus(), and updateYourself().
|
protected |
Definition at line 71 of file trabbonematerial.h.
Referenced by giveDam(), initTempStatus(), oofem::TrabBoneNLStatus::printOutputAt(), TrabBoneMaterialStatus(), and updateYourself().
|
protected |
Definition at line 74 of file trabbonematerial.h.
Referenced by givePlasStrainVector(), initTempStatus(), oofem::TrabBoneNLStatus::printOutputAt(), TrabBoneMaterialStatus(), and updateYourself().
|
protected |
Definition at line 73 of file trabbonematerial.h.
Referenced by giveMatConstC(), and TrabBoneMaterialStatus().
|
protected |
Definition at line 73 of file trabbonematerial.h.
Referenced by giveSigC(), and TrabBoneMaterialStatus().
|
protected |
Definition at line 72 of file trabbonematerial.h.
Referenced by giveSlope(), printOutputAt(), and TrabBoneMaterialStatus().
|
protected |
Definition at line 72 of file trabbonematerial.h.
Referenced by giveSmtrx(), printOutputAt(), and TrabBoneMaterialStatus().
|
protected |
Definition at line 70 of file trabbonematerial.h.
Referenced by giveTempAlpha(), initTempStatus(), printOutputAt(), TrabBoneMaterialStatus(), and updateYourself().
|
protected |
Definition at line 71 of file trabbonematerial.h.
Referenced by giveTempDam(), initTempStatus(), printOutputAt(), TrabBoneMaterialStatus(), and updateYourself().
|
protected |
Definition at line 74 of file trabbonematerial.h.
Referenced by giveTempIncPlasStrainVector(), and TrabBoneMaterialStatus().
|
protected |
Definition at line 74 of file trabbonematerial.h.
Referenced by giveTempPlasStrainVector(), initTempStatus(), printOutputAt(), TrabBoneMaterialStatus(), and updateYourself().