|
OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
This class implements associated Status to HydrationModel. More...
#include <hydram.h>
Inheritance diagram for oofem::HydrationModelStatus:
Collaboration diagram for oofem::HydrationModelStatus:Public Member Functions | |
| HydrationModelStatus (int n, Domain *d, GaussPoint *g) | |
| virtual | ~HydrationModelStatus () |
| double | giveTempHydrationDegree () |
| Returns the temp hydration degree. More... | |
| double | giveHydrationDegree () |
| Returns the non-temp hydration degree. Used for step restart and postprocessing. More... | |
| void | setHydrationDegree (double v) |
| void | setTempHydrationDegree (double v) |
| 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 void | printOutputAt (FILE *file, TimeStep *tStep) |
| Print receiver's output to given stream. 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... | |
| virtual const char * | giveClassName () const |
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... | |
Protected Attributes | |
| double | hydrationDegree |
| double | tempHydrationDegree |
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... | |
This class implements associated Status to HydrationModel.
It is attribute of owner material status for each GaussPoint, for which that material is active.
| oofem::HydrationModelStatus::HydrationModelStatus | ( | int | n, |
| Domain * | d, | ||
| GaussPoint * | g | ||
| ) |
Definition at line 38 of file hydram.C.
References hydrationDegree, and tempHydrationDegree.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from oofem::IntegrationPointStatus.
|
inline |
Returns the non-temp hydration degree. Used for step restart and postprocessing.
Definition at line 131 of file hydram.h.
References hydrationDegree.
Referenced by oofem::HydrationModel::giveHydrationDegree(), oofem::HydrationModelInterface::restoreContext(), oofem::HydrationModel::updateInternalState(), and oofem::HydrationModel::~HydrationModel().
|
inline |
Returns the temp hydration degree.
Definition at line 129 of file hydram.h.
References tempHydrationDegree.
Referenced by oofem::HydrationModel::giveHydrationDegree().
|
virtual |
Initializes the temporary internal variables, describing the current state according to previously reached equilibrium internal variables.
Reimplemented from oofem::MaterialStatus.
Definition at line 51 of file hydram.C.
References hydrationDegree, and tempHydrationDegree.
Referenced by setTempHydrationDegree().
|
virtual |
Print receiver's output to given stream.
Reimplemented from oofem::MaterialStatus.
Definition at line 45 of file hydram.C.
References hydrationDegree.
Referenced by oofem::HydrationModelStatusInterface::setHydrationModelStatus(), and setTempHydrationDegree().
|
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::FEMComponent.
Definition at line 88 of file hydram.C.
References oofem::CIO_IOERR, oofem::CIO_OK, hydrationDegree, oofem::DataStream::read(), tempHydrationDegree, and THROW_CIOERR.
Referenced by setTempHydrationDegree().
|
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::FEMComponent.
Definition at line 76 of file hydram.C.
References oofem::CIO_IOERR, oofem::CIO_OK, hydrationDegree, THROW_CIOERR, and oofem::DataStream::write().
Referenced by setTempHydrationDegree().
|
inline |
Definition at line 132 of file hydram.h.
Referenced by oofem::HydrationModel::updateInternalState().
|
inline |
Definition at line 133 of file hydram.h.
References initTempStatus(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().
Referenced by oofem::HydrationModel::updateInternalState().
|
virtual |
Update equilibrium history variables according to temp-variables.
Invoked, after new equilibrium state has been reached.
Reimplemented from oofem::MaterialStatus.
Definition at line 68 of file hydram.C.
References hydrationDegree, and tempHydrationDegree.
Referenced by oofem::HydrationModelStatusInterface::setHydrationModelStatus(), and setTempHydrationDegree().
|
protected |
Definition at line 120 of file hydram.h.
Referenced by giveHydrationDegree(), HydrationModelStatus(), initTempStatus(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().
|
protected |
Definition at line 122 of file hydram.h.
Referenced by giveTempHydrationDegree(), HydrationModelStatus(), initTempStatus(), restoreContext(), and updateYourself().