NeoPZ
|
#include <TPZElastoPlasticMem.h>
Public Member Functions | |
int | ClassId () const override |
Define the class id associated with the class. More... | |
TPZElastoPlasticMem () | |
TPZElastoPlasticMem (const TPZElastoPlasticMem &other) | |
const TPZElastoPlasticMem & | operator= (const TPZElastoPlasticMem &other) |
virtual | ~TPZElastoPlasticMem () |
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... | |
TPZElasticResponse | m_ER |
Elastoplastic response (It is required when elasti response depends on spatial variables) More... | |
Friends | |
std::ostream & | operator<< (std::ostream &Out, const TPZElastoPlasticMem &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 standar elastoplastic calculation.
Definition at line 14 of file TPZElastoPlasticMem.h.
TPZElastoPlasticMem::TPZElastoPlasticMem | ( | ) |
Definition at line 7 of file TPZElastoPlasticMem.cpp.
TPZElastoPlasticMem::TPZElastoPlasticMem | ( | const TPZElastoPlasticMem & | other | ) |
Definition at line 11 of file TPZElastoPlasticMem.cpp.
|
virtual |
Definition at line 17 of file TPZElastoPlasticMem.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 55 of file TPZElastoPlasticMem.cpp.
References Hash().
Referenced by TPZPoroElastoPlasticMem::ClassId().
const std::string TPZElastoPlasticMem::Name | ( | ) | const |
Definition at line 50 of file TPZElastoPlasticMem.cpp.
Referenced by Print().
const TPZElastoPlasticMem & TPZElastoPlasticMem::operator= | ( | const TPZElastoPlasticMem & | other | ) |
check for self-assignment
Definition at line 59 of file TPZElastoPlasticMem.cpp.
References m_elastoplastic_state, m_ER, m_phi, m_plastic_steps, m_sigma, and m_u.
Referenced by TPZPoroElastoPlasticMem::operator=().
|
virtual |
Reimplemented in TPZPoroElastoPlasticMem.
Definition at line 39 of file TPZElastoPlasticMem.cpp.
References m_elastoplastic_state, m_ER, m_phi, m_plastic_steps, m_sigma, m_u, Name(), and TPZElasticResponse::Print().
Referenced by TPZPoroElastoPlasticMem::Print().
|
overridevirtual |
read objects from the stream
Reimplemented from TPZSavable.
Definition at line 30 of file TPZElastoPlasticMem.cpp.
References m_elastoplastic_state, m_ER, m_plastic_steps, m_sigma, m_u, TPZElasticResponse::Read(), TPZPlasticState< T >::Read(), TPZStream::Read(), and TPZTensor< T >::Read().
Referenced by TPZPoroElastoPlasticMem::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 21 of file TPZElastoPlasticMem.cpp.
References m_elastoplastic_state, m_ER, m_plastic_steps, m_sigma, m_u, TPZElasticResponse::Write(), TPZStream::Write(), TPZPlasticState< T >::Write(), and TPZTensor< T >::Write().
Referenced by TPZPoroElastoPlasticMem::Write().
|
friend |
Definition at line 39 of file TPZElastoPlasticMem.h.
TPZPlasticState<REAL> TPZElastoPlasticMem::m_elastoplastic_state |
Elastoplastic strain state.
Definition at line 46 of file TPZElastoPlasticMem.h.
Referenced by operator=(), Print(), Read(), and Write().
TPZElasticResponse TPZElastoPlasticMem::m_ER |
Elastoplastic response (It is required when elasti response depends on spatial variables)
Definition at line 61 of file TPZElastoPlasticMem.h.
Referenced by operator=(), Print(), Read(), and Write().
REAL TPZElastoPlasticMem::m_phi |
Yield function value.
Definition at line 58 of file TPZElastoPlasticMem.h.
Referenced by operator=(), and Print().
int TPZElastoPlasticMem::m_plastic_steps |
Number of plastic steps.
Definition at line 55 of file TPZElastoPlasticMem.h.
Referenced by operator=(), Print(), Read(), and Write().
TPZTensor<REAL> TPZElastoPlasticMem::m_sigma |
Stress state.
Definition at line 49 of file TPZElastoPlasticMem.h.
Referenced by operator=(), Print(), Read(), and Write().
TPZManVector<REAL,3> TPZElastoPlasticMem::m_u |
Displacement field.
Definition at line 52 of file TPZElastoPlasticMem.h.
Referenced by operator=(), Print(), Read(), and Write().