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

#include <pzporoelastoplasticmem.h>

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

Public Member Functions

 TPZPoroElastoPlasticMem ()
 
 TPZPoroElastoPlasticMem (const TPZPoroElastoPlasticMem &source)
 
const TPZPoroElastoPlasticMemoperator= (const TPZPoroElastoPlasticMem &source)
 
virtual ~TPZPoroElastoPlasticMem ()
 
const std::string Name () const
 
int ClassId () const override
 Define the class id associated with the class. More...
 
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 override
 
- Public Member Functions inherited from TPZElastoPlasticMem
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...
 
- 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

REAL fPorePressure
 
TPZVec< REAL > fdPorePressure
 
TPZVec< REAL > fv
 
- Public Attributes inherited from TPZElastoPlasticMem
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 TPZPoroElastoPlasticMem &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 that should be stored at each integration point for the purposes of an elastoplastic material.

Definition at line 16 of file pzporoelastoplasticmem.h.

Constructor & Destructor Documentation

◆ TPZPoroElastoPlasticMem() [1/2]

TPZPoroElastoPlasticMem::TPZPoroElastoPlasticMem ( )

Definition at line 6 of file pzporoelastoplasticmem.cpp.

◆ TPZPoroElastoPlasticMem() [2/2]

TPZPoroElastoPlasticMem::TPZPoroElastoPlasticMem ( const TPZPoroElastoPlasticMem source)

Definition at line 9 of file pzporoelastoplasticmem.cpp.

◆ ~TPZPoroElastoPlasticMem()

TPZPoroElastoPlasticMem::~TPZPoroElastoPlasticMem ( )
virtual

Definition at line 16 of file pzporoelastoplasticmem.cpp.

Member Function Documentation

◆ ClassId()

int TPZPoroElastoPlasticMem::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 52 of file pzporoelastoplasticmem.cpp.

References TPZElastoPlasticMem::ClassId(), and Hash().

◆ Name()

const std::string TPZPoroElastoPlasticMem::Name ( ) const

Definition at line 47 of file pzporoelastoplasticmem.cpp.

Referenced by Print().

◆ operator=()

const TPZPoroElastoPlasticMem & TPZPoroElastoPlasticMem::operator= ( const TPZPoroElastoPlasticMem source)

◆ Print()

void TPZPoroElastoPlasticMem::Print ( std::ostream &  out = std::cout) const
overridevirtual

Reimplemented from TPZElastoPlasticMem.

Definition at line 37 of file pzporoelastoplasticmem.cpp.

References fdPorePressure, fPorePressure, fv, Name(), and TPZElastoPlasticMem::Print().

◆ Read()

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

read objects from the stream

Reimplemented from TPZSavable.

Definition at line 27 of file pzporoelastoplasticmem.cpp.

References fdPorePressure, fPorePressure, fv, TPZElastoPlasticMem::Read(), TPZStream::Read(), and TPZVec< T >::Resize().

◆ Write()

void TPZPoroElastoPlasticMem::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 18 of file pzporoelastoplasticmem.cpp.

References fdPorePressure, fPorePressure, fv, TPZElastoPlasticMem::Write(), and TPZStream::Write().

Friends And Related Function Documentation

◆ operator<<

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

Operator<<

Definition at line 42 of file pzporoelastoplasticmem.h.

Member Data Documentation

◆ fdPorePressure

TPZVec<REAL> TPZPoroElastoPlasticMem::fdPorePressure

Spatial Gradient of Pore Pressure

Definition at line 56 of file pzporoelastoplasticmem.h.

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

◆ fPorePressure

REAL TPZPoroElastoPlasticMem::fPorePressure

Total Pore Pressure

Definition at line 51 of file pzporoelastoplasticmem.h.

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

◆ fv

TPZVec<REAL> TPZPoroElastoPlasticMem::fv

Darcy's velocity

Definition at line 61 of file pzporoelastoplasticmem.h.

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


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