OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
This class implements a base lattice material status. More...
#include <latticematstatus.h>
Public Member Functions | |
LatticeMaterialStatus (int n, Domain *d, GaussPoint *g) | |
virtual | ~LatticeMaterialStatus () |
Destructor. More... | |
virtual void | printOutputAt (FILE *, TimeStep *) |
Print receiver's output to given stream. More... | |
virtual void | initTempStatus () |
Initializes the temporary internal variables, describing the current state according to previously reached equilibrium internal variables. More... | |
virtual void | updateYourself (TimeStep *) |
Update equilibrium history variables according to temp-variables. More... | |
virtual double | giveNormalStress () |
Gives the last equilibrated normal stress. More... | |
virtual double | giveOldNormalStress () |
Gives the last equilibrated normal stress. More... | |
virtual int | hasBeenUpdated () |
Gives the last equilibrated normal stress. More... | |
virtual const char * | giveClassName () const |
virtual void | setTempCrackFlag (int val)=0 |
Sets the temp_crack_flag. More... | |
virtual int | giveCrackFlag () |
Returns the crack flag. More... | |
virtual double | giveCrackWidth () |
virtual double | giveOldCrackWidth () |
virtual double | giveDissipation () |
Returns the energy dissipation computed at the GaussPoint of the element. More... | |
virtual double | giveDeltaDissipation () |
Returns the increment of dissipation computed at the GaussPoint of the element. More... | |
virtual IRResultType | initializeFrom (InputRecord *ir) |
Initializes receiver according to object description stored in input record. 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... | |
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... | |
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... | |
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... | |
Additional Inherited Members | |
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 a base lattice material status.
In this class services are defined that are used by other lattice material statuses.
Definition at line 51 of file latticematstatus.h.
oofem::LatticeMaterialStatus::LatticeMaterialStatus | ( | int | n, |
Domain * | d, | ||
GaussPoint * | g | ||
) |
Definition at line 38 of file latticematstatus.C.
|
inlinevirtual |
Destructor.
Definition at line 56 of file latticematstatus.h.
|
inlinevirtual |
Reimplemented from oofem::StructuralMaterialStatus.
Reimplemented in oofem::LatticeDamage2dStatus.
Definition at line 74 of file latticematstatus.h.
References setTempCrackFlag().
|
inlinevirtual |
Returns the crack flag.
Reimplemented in oofem::LatticeDamage2dStatus.
Definition at line 83 of file latticematstatus.h.
Referenced by oofem::Lattice2d::giveCrackFlag().
|
inlinevirtual |
Reimplemented in oofem::LatticeDamage2dStatus.
Definition at line 88 of file latticematstatus.h.
Referenced by oofem::Lattice2d::giveCrackWidth().
|
inlinevirtual |
Returns the increment of dissipation computed at the GaussPoint of the element.
This function is used for the lattice specific vtk export.
Reimplemented in oofem::LatticeDamage2dStatus.
Definition at line 109 of file latticematstatus.h.
Referenced by oofem::Lattice2d::giveDeltaDissipation().
|
inlinevirtual |
Returns the energy dissipation computed at the GaussPoint of the element.
This function is used for the lattice specific vtk export.
Reimplemented in oofem::LatticeDamage2dStatus.
Definition at line 102 of file latticematstatus.h.
Referenced by oofem::Lattice2d::giveDissipation().
|
inlinevirtual |
Gives the last equilibrated normal stress.
Reimplemented in oofem::LatticeDamage2dStatus.
Definition at line 65 of file latticematstatus.h.
Referenced by oofem::Lattice2d::giveNormalStress().
|
inlinevirtual |
Definition at line 94 of file latticematstatus.h.
Referenced by oofem::Lattice2d::giveOldCrackWidth().
|
inlinevirtual |
Gives the last equilibrated normal stress.
Reimplemented in oofem::LatticeDamage2dStatus.
Definition at line 68 of file latticematstatus.h.
Referenced by oofem::Lattice2d::giveOldNormalStress().
|
inlinevirtual |
Gives the last equilibrated normal stress.
Reimplemented in oofem::LatticeDamage2dStatus.
Definition at line 71 of file latticematstatus.h.
Referenced by oofem::Lattice2d::hasBeenUpdated().
|
inlinevirtual |
Initializes receiver according to object description stored in input record.
This function is called immediately after creating object using constructor. Input record can be imagined as data record in component database belonging to receiver. Receiver may use value-name extracting functions to extract particular field from record.
ir | Input record to initialize from. |
Reimplemented from oofem::MaterialStatus.
Definition at line 111 of file latticematstatus.h.
References oofem::IRRT_OK.
Referenced by oofem::LatticeDamage2d::giveClassName().
|
inlinevirtual |
Initializes the temporary internal variables, describing the current state according to previously reached equilibrium internal variables.
Reimplemented from oofem::StructuralMaterialStatus.
Reimplemented in oofem::LatticeDamage2dStatus.
Definition at line 60 of file latticematstatus.h.
|
inlinevirtual |
Print receiver's output to given stream.
Reimplemented from oofem::StructuralMaterialStatus.
Reimplemented in oofem::LatticeDamage2dStatus.
Definition at line 58 of file latticematstatus.h.
|
pure virtual |
Sets the temp_crack_flag.
Implemented in oofem::LatticeDamage2dStatus.
Referenced by giveClassName().
|
inlinevirtual |
Update equilibrium history variables according to temp-variables.
Invoked, after new equilibrium state has been reached.
Reimplemented from oofem::StructuralMaterialStatus.
Reimplemented in oofem::LatticeDamage2dStatus.
Definition at line 62 of file latticematstatus.h.