NeoPZ
Public Member Functions | Public Attributes | Friends | List of all members
TPZElastoPlasticMem Class Reference

#include <TPZElastoPlasticMem.h>

Inheritance diagram for TPZElastoPlasticMem:
[legend]
Collaboration diagram for TPZElastoPlasticMem:
[legend]

Public Member Functions

int ClassId () const override
 Define the class id associated with the class. More...
 
 TPZElastoPlasticMem ()
 
 TPZElastoPlasticMem (const TPZElastoPlasticMem &other)
 
const TPZElastoPlasticMemoperator= (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 TPZSavableCreateInstance (const int &classId)
 

Detailed Description

This class defines the material memory for a standar elastoplastic calculation.

Definition at line 14 of file TPZElastoPlasticMem.h.

Constructor & Destructor Documentation

◆ TPZElastoPlasticMem() [1/2]

TPZElastoPlasticMem::TPZElastoPlasticMem ( )

Definition at line 7 of file TPZElastoPlasticMem.cpp.

◆ TPZElastoPlasticMem() [2/2]

TPZElastoPlasticMem::TPZElastoPlasticMem ( const TPZElastoPlasticMem other)

Definition at line 11 of file TPZElastoPlasticMem.cpp.

◆ ~TPZElastoPlasticMem()

TPZElastoPlasticMem::~TPZElastoPlasticMem ( )
virtual

Definition at line 17 of file TPZElastoPlasticMem.cpp.

Member Function Documentation

◆ ClassId()

int TPZElastoPlasticMem::ClassId ( ) const
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().

◆ Name()

const std::string TPZElastoPlasticMem::Name ( ) const

Definition at line 50 of file TPZElastoPlasticMem.cpp.

Referenced by Print().

◆ operator=()

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=().

◆ Print()

void TPZElastoPlasticMem::Print ( std::ostream &  out = std::cout) const
virtual

◆ Read()

void TPZElastoPlasticMem::Read ( TPZStream buf,
void *  context 
)
overridevirtual

◆ Write()

void TPZElastoPlasticMem::Write ( TPZStream buf,
int  withclassid 
) const
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().

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  Out,
const TPZElastoPlasticMem s 
)
friend

Definition at line 39 of file TPZElastoPlasticMem.h.

Member Data Documentation

◆ m_elastoplastic_state

TPZPlasticState<REAL> TPZElastoPlasticMem::m_elastoplastic_state

Elastoplastic strain state.

Definition at line 46 of file TPZElastoPlasticMem.h.

Referenced by operator=(), Print(), Read(), and Write().

◆ m_ER

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().

◆ m_phi

REAL TPZElastoPlasticMem::m_phi

Yield function value.

Definition at line 58 of file TPZElastoPlasticMem.h.

Referenced by operator=(), and Print().

◆ m_plastic_steps

int TPZElastoPlasticMem::m_plastic_steps

Number of plastic steps.

Definition at line 55 of file TPZElastoPlasticMem.h.

Referenced by operator=(), Print(), Read(), and Write().

◆ m_sigma

TPZTensor<REAL> TPZElastoPlasticMem::m_sigma

Stress state.

Definition at line 49 of file TPZElastoPlasticMem.h.

Referenced by operator=(), Print(), Read(), and Write().

◆ m_u

TPZManVector<REAL,3> TPZElastoPlasticMem::m_u

Displacement field.

Definition at line 52 of file TPZElastoPlasticMem.h.

Referenced by operator=(), Print(), Read(), and Write().


The documentation for this class was generated from the following files: