NeoPZ
|
#include <TPZPorousElastoPlasticMem.h>
Public Member Functions | |
int | ClassId () const override |
Define the class id associated with the class. More... | |
TPZPorousElastoPlasticMem () | |
TPZPorousElastoPlasticMem (const TPZPorousElastoPlasticMem &other) | |
const TPZPorousElastoPlasticMem & | operator= (const TPZPorousElastoPlasticMem &other) |
virtual | ~TPZPorousElastoPlasticMem () |
const std::string | Name () const |
void | Write (TPZStream &buf, int withclassid) const override |
Writes this object to the TPZStream buffer. Include the classid if withclassid = true. More... | |
void | Read (TPZStream &buf, void *context) override |
read objects from the stream More... | |
virtual void | Print (std::ostream &out=std::cout) const |
Public Member Functions inherited from TPZSavable | |
TPZSavable () | |
virtual | ~TPZSavable () |
virtual std::list< std::map< std::string, uint64_t > > | VersionHistory () const |
virtual std::pair< std::string, uint64_t > | Version () const |
virtual bool | Compare (TPZSavable *copy, bool override=false) |
Compares the object for identity with the object pointed to, eventually copy the object. More... | |
virtual bool | Compare (TPZSavable *copy, bool override=false) const |
Compares the object for identity with the object pointed to, eventually copy the object. More... | |
Public Member Functions inherited from TPZRegisterClassId | |
template<typename T > | |
TPZRegisterClassId (int(T::*)() const) | |
TPZRegisterClassId ()=default | |
Public Attributes | |
TPZPlasticState< REAL > | m_elastoplastic_state |
Elastoplastic strain state. More... | |
TPZTensor< REAL > | m_sigma |
Stress state. More... | |
TPZManVector< REAL, 3 > | m_u |
Displacement field. More... | |
int | m_plastic_steps |
Number of plastic steps. More... | |
REAL | m_phi |
Yield function value. More... | |
TPZPorousElasticResponse | m_ER |
Porous Elastoplastic response (It is required when elasti response depends on spatial variables) More... | |
Friends | |
std::ostream & | operator<< (std::ostream &Out, const TPZPorousElastoPlasticMem &s) |
Additional Inherited Members | |
Static Public Member Functions inherited from TPZSavable | |
static std::set< TPZRestoreClassBase * > & | RestoreClassSet () |
This static function guarantees that the gMap object is available when needed. More... | |
static std::map< int, TPZRestore_t > & | ClassIdMap () |
This static function guarantees that the gMap object is available when needed. More... | |
static std::pair< std::string, uint64_t > | NeoPZVersion () |
static void | Register (TPZRestoreClassBase *restore) |
static void | RegisterClassId (int classid, TPZRestore_t fun) |
static TPZSavable * | CreateInstance (const int &classId) |
This class defines the material memory for a porous elastic elastoplastic calculation.
Definition at line 20 of file TPZPorousElastoPlasticMem.h.
TPZPorousElastoPlasticMem::TPZPorousElastoPlasticMem | ( | ) |
Definition at line 10 of file TPZPorousElastoPlasticMem.cpp.
TPZPorousElastoPlasticMem::TPZPorousElastoPlasticMem | ( | const TPZPorousElastoPlasticMem & | other | ) |
Definition at line 14 of file TPZPorousElastoPlasticMem.cpp.
|
virtual |
Definition at line 20 of file TPZPorousElastoPlasticMem.cpp.
|
overridevirtual |
Define the class id associated with the class.
This id has to be unique for all classes A non unique id is flagged at the startup of the program
Implements TPZSavable.
Definition at line 58 of file TPZPorousElastoPlasticMem.cpp.
References Hash().
const std::string TPZPorousElastoPlasticMem::Name | ( | ) | const |
Definition at line 53 of file TPZPorousElastoPlasticMem.cpp.
Referenced by Print().
const TPZPorousElastoPlasticMem & TPZPorousElastoPlasticMem::operator= | ( | const TPZPorousElastoPlasticMem & | other | ) |
check for self-assignment
Definition at line 62 of file TPZPorousElastoPlasticMem.cpp.
References m_elastoplastic_state, m_ER, m_phi, m_plastic_steps, m_sigma, and m_u.
|
virtual |
Definition at line 42 of file TPZPorousElastoPlasticMem.cpp.
References m_elastoplastic_state, m_ER, m_phi, m_plastic_steps, m_sigma, m_u, Name(), and TPZPorousElasticResponse::Print().
|
overridevirtual |
read objects from the stream
Reimplemented from TPZSavable.
Definition at line 33 of file TPZPorousElastoPlasticMem.cpp.
References m_elastoplastic_state, m_ER, m_plastic_steps, m_sigma, m_u, TPZPorousElasticResponse::Read(), TPZPlasticState< T >::Read(), TPZStream::Read(), and TPZTensor< T >::Read().
|
overridevirtual |
Writes this object to the TPZStream buffer. Include the classid if withclassid = true.
Writes this object to the TPZStream buffer. Include the classid if withclassid = true
Reimplemented from TPZSavable.
Definition at line 24 of file TPZPorousElastoPlasticMem.cpp.
References m_elastoplastic_state, m_ER, m_plastic_steps, m_sigma, m_u, TPZPorousElasticResponse::Write(), TPZStream::Write(), TPZPlasticState< T >::Write(), and TPZTensor< T >::Write().
|
friend |
Definition at line 45 of file TPZPorousElastoPlasticMem.h.
TPZPlasticState<REAL> TPZPorousElastoPlasticMem::m_elastoplastic_state |
Elastoplastic strain state.
Definition at line 52 of file TPZPorousElastoPlasticMem.h.
Referenced by operator=(), Print(), Read(), and Write().
TPZPorousElasticResponse TPZPorousElastoPlasticMem::m_ER |
Porous Elastoplastic response (It is required when elasti response depends on spatial variables)
Definition at line 67 of file TPZPorousElastoPlasticMem.h.
Referenced by operator=(), Print(), Read(), and Write().
REAL TPZPorousElastoPlasticMem::m_phi |
Yield function value.
Definition at line 64 of file TPZPorousElastoPlasticMem.h.
Referenced by operator=(), and Print().
int TPZPorousElastoPlasticMem::m_plastic_steps |
Number of plastic steps.
Definition at line 61 of file TPZPorousElastoPlasticMem.h.
Referenced by operator=(), Print(), Read(), and Write().
TPZTensor<REAL> TPZPorousElastoPlasticMem::m_sigma |
Stress state.
Definition at line 55 of file TPZPorousElastoPlasticMem.h.
Referenced by operator=(), Print(), Read(), and Write().
TPZManVector<REAL,3> TPZPorousElastoPlasticMem::m_u |
Displacement field.
Definition at line 58 of file TPZPorousElastoPlasticMem.h.
Referenced by operator=(), Print(), Read(), and Write().