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

#include <TPZPorousElastoPlasticMem.h>

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

Public Member Functions

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

Detailed Description

This class defines the material memory for a porous elastic elastoplastic calculation.

Definition at line 20 of file TPZPorousElastoPlasticMem.h.

Constructor & Destructor Documentation

◆ TPZPorousElastoPlasticMem() [1/2]

TPZPorousElastoPlasticMem::TPZPorousElastoPlasticMem ( )

Definition at line 10 of file TPZPorousElastoPlasticMem.cpp.

◆ TPZPorousElastoPlasticMem() [2/2]

TPZPorousElastoPlasticMem::TPZPorousElastoPlasticMem ( const TPZPorousElastoPlasticMem other)

Definition at line 14 of file TPZPorousElastoPlasticMem.cpp.

◆ ~TPZPorousElastoPlasticMem()

TPZPorousElastoPlasticMem::~TPZPorousElastoPlasticMem ( )
virtual

Definition at line 20 of file TPZPorousElastoPlasticMem.cpp.

Member Function Documentation

◆ ClassId()

int TPZPorousElastoPlasticMem::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 58 of file TPZPorousElastoPlasticMem.cpp.

References Hash().

◆ Name()

const std::string TPZPorousElastoPlasticMem::Name ( ) const

Definition at line 53 of file TPZPorousElastoPlasticMem.cpp.

Referenced by Print().

◆ operator=()

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.

◆ Print()

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

◆ Read()

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

◆ Write()

void TPZPorousElastoPlasticMem::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 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().

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 45 of file TPZPorousElastoPlasticMem.h.

Member Data Documentation

◆ m_elastoplastic_state

TPZPlasticState<REAL> TPZPorousElastoPlasticMem::m_elastoplastic_state

Elastoplastic strain state.

Definition at line 52 of file TPZPorousElastoPlasticMem.h.

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

◆ m_ER

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

◆ m_phi

REAL TPZPorousElastoPlasticMem::m_phi

Yield function value.

Definition at line 64 of file TPZPorousElastoPlasticMem.h.

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

◆ m_plastic_steps

int TPZPorousElastoPlasticMem::m_plastic_steps

Number of plastic steps.

Definition at line 61 of file TPZPorousElastoPlasticMem.h.

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

◆ m_sigma

TPZTensor<REAL> TPZPorousElastoPlasticMem::m_sigma

Stress state.

Definition at line 55 of file TPZPorousElastoPlasticMem.h.

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

◆ m_u

TPZManVector<REAL,3> TPZPorousElastoPlasticMem::m_u

Displacement field.

Definition at line 58 of file TPZPorousElastoPlasticMem.h.

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


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