NeoPZ
Public Member Functions | Public Attributes | Friends | List of all members
TPZPlasticState< T > Class Template Reference

#include <TPZPlasticState.h>

Inheritance diagram for TPZPlasticState< T >:
[legend]
Collaboration diagram for TPZPlasticState< T >:
[legend]

Public Member Functions

 TPZPlasticState ()
 Default constructor - all values set to zero. More...
 
 TPZPlasticState (const T &hardening)
 Constructor enabling predefinition of hardening. More...
 
 TPZPlasticState (const TPZPlasticState< T > &source)
 Copy constructor. More...
 
 ~TPZPlasticState ()
 Destructor. More...
 
const TPZPlasticState< T > & operator= (const TPZPlasticState< T > &source)
 Operator =. More...
 
const TPZPlasticState< T > & operator-= (const TPZPlasticState< T > &source)
 Operator -=. More...
 
const TPZPlasticState< T > & operator+= (const TPZPlasticState< T > &source)
 Operator +=. More...
 
const TPZPlasticState< T > & operator*= (const TPZPlasticState< T > &source)
 Operator *=. More...
 
void Print (std::ostream &Out, int fadDerivatives=1) const
 More complete then Operator << because it allows derivatives supression. More...
 
const TPZTensor< T > & EpsT () const
 
const TPZTensor< T > & EpsP () const
 
const T & VolHardening () const
 
const int & MType () const
 
int ClassId () const override
 Define the class id associated with the class. More...
 
void Read (TPZStream &buf, void *context) override
 read objects from the stream More...
 
void Write (TPZStream &buf, int withclassid) const override
 Writes this object to the TPZStream buffer. Include the classid if withclassid = true. More...
 
void CleanUp ()
 
template<class T1 >
void CopyTo (TPZPlasticState< T1 > &target) 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

TPZTensor< T > m_eps_t
 Tensors representing the total and plastic strain states. More...
 
TPZTensor< T > m_eps_p
 
m_hardening
 Plastic volumetric hardeing variable. More...
 
int m_m_type
 Identifier for the regime of the material behaviour. More...
 

Friends

std::ostream & operator<< (std::ostream &Out, const TPZPlasticState< T > &s)
 Operator<<. More...
 

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

template<class T>
class TPZPlasticState< T >

This class holds the complete set of state variables to define a valid elastoplastic strain state

Definition at line 14 of file TPZPlasticState.h.

Constructor & Destructor Documentation

◆ TPZPlasticState() [1/3]

template<class T>
TPZPlasticState< T >::TPZPlasticState ( )
inline

Default constructor - all values set to zero.

Definition at line 30 of file TPZPlasticState.h.

◆ TPZPlasticState() [2/3]

template<class T>
TPZPlasticState< T >::TPZPlasticState ( const T &  hardening)
inline

Constructor enabling predefinition of hardening.

Definition at line 33 of file TPZPlasticState.h.

◆ TPZPlasticState() [3/3]

template<class T>
TPZPlasticState< T >::TPZPlasticState ( const TPZPlasticState< T > &  source)
inline

Copy constructor.

Definition at line 36 of file TPZPlasticState.h.

◆ ~TPZPlasticState()

template<class T>
TPZPlasticState< T >::~TPZPlasticState ( )
inline

Destructor.

Definition at line 40 of file TPZPlasticState.h.

Member Function Documentation

◆ ClassId()

template<class T >
int TPZPlasticState< T >::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 113 of file TPZPlasticState.h.

Referenced by TPZPlasticState< STATE >::MType().

◆ CleanUp()

template<class T>
void TPZPlasticState< T >::CleanUp ( )
inline

Definition at line 95 of file TPZPlasticState.h.

◆ CopyTo()

template<class T >
template<class T1 >
void TPZPlasticState< T >::CopyTo ( TPZPlasticState< T1 > &  target) const

Similar to Operator=, but allows copies among different template specializations. When using FAD class Types as template classes, NO DERIVATIVES are copied using this functions, enabling copies from REAL to FAD types and also vice-versa.

Definition at line 179 of file TPZPlasticState.h.

Referenced by TPZPlasticState< STATE >::CleanUp(), TPZPlasticStep< YC_t, TF_t, ER_t >::ComputeDep(), TPZPlasticStep< YC_t, TF_t, ER_t >::FindPointAtYield(), TPZPlasticStep< YC_t, TF_t, ER_t >::InitializePlasticFAD(), TPZPlasticStep< YC_t, TF_t, ER_t >::PlasticLoop(), and TPZPlasticStep< YC_t, TF_t, ER_t >::UpdatePlasticVars().

◆ EpsP()

template<class T>
const TPZTensor<T>& TPZPlasticState< T >::EpsP ( ) const
inline

◆ EpsT()

template<class T>
const TPZTensor<T>& TPZPlasticState< T >::EpsT ( ) const
inline

◆ MType()

template<class T>
const int& TPZPlasticState< T >::MType ( ) const
inline

◆ operator*=()

template<class T>
const TPZPlasticState< T > & TPZPlasticState< T >::operator*= ( const TPZPlasticState< T > &  source)
inline

Operator *=.

Definition at line 147 of file TPZPlasticState.h.

Referenced by TPZPlasticState< STATE >::~TPZPlasticState().

◆ operator+=()

template<class T>
const TPZPlasticState< T > & TPZPlasticState< T >::operator+= ( const TPZPlasticState< T > &  source)
inline

Operator +=.

Definition at line 129 of file TPZPlasticState.h.

Referenced by TPZPlasticState< STATE >::~TPZPlasticState().

◆ operator-=()

template<class T>
const TPZPlasticState< T > & TPZPlasticState< T >::operator-= ( const TPZPlasticState< T > &  source)
inline

Operator -=.

Definition at line 138 of file TPZPlasticState.h.

Referenced by TPZPlasticState< STATE >::~TPZPlasticState().

◆ operator=()

template<class T>
const TPZPlasticState< T > & TPZPlasticState< T >::operator= ( const TPZPlasticState< T > &  source)
inline

Operator =.

Definition at line 118 of file TPZPlasticState.h.

Referenced by TPZPlasticState< STATE >::~TPZPlasticState().

◆ Print()

template<class T >
void TPZPlasticState< T >::Print ( std::ostream &  Out,
int  fadDerivatives = 1 
) const
inline

More complete then Operator << because it allows derivatives supression.

Definition at line 156 of file TPZPlasticState.h.

Referenced by TPZPorousElasticCriterion::Print(), TPZPlasticStep< YC_t, TF_t, ER_t >::Print(), TPZPlasticStepPV< YC_t, ER_t >::Print(), and TPZElasticCriterion::Print().

◆ Read()

template<class T>
void TPZPlasticState< T >::Read ( TPZStream buf,
void *  context 
)
inlineoverridevirtual

◆ VolHardening()

template<class T>
const T& TPZPlasticState< T >::VolHardening ( ) const
inline

◆ Write()

template<class T>
void TPZPlasticState< T >::Write ( TPZStream buf,
int  withclassid 
) const
inlineoverridevirtual

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 87 of file TPZPlasticState.h.

Referenced by TPZElastoPlasticMem::Write(), TPZPorousElastoPlasticMem::Write(), TPZPorousElasticCriterion::Write(), TPZElasticCriterion::Write(), TPZWillamWarnke::Write(), TPZDruckerPrager::Write(), and TPZLadeKim::Write().

Friends And Related Function Documentation

◆ operator<<

template<class T>
std::ostream& operator<< ( std::ostream &  Out,
const TPZPlasticState< T > &  s 
)
friend

Operator<<.

Definition at line 55 of file TPZPlasticState.h.

Member Data Documentation

◆ m_eps_p

template<class T>
TPZTensor<T> TPZPlasticState< T >::m_eps_p

◆ m_eps_t

template<class T>
TPZTensor<T> TPZPlasticState< T >::m_eps_t

◆ m_hardening

template<class T>
T TPZPlasticState< T >::m_hardening

◆ m_m_type

template<class T>
int TPZPlasticState< T >::m_m_type

Identifier for the regime of the material behaviour.

Definition at line 25 of file TPZPlasticState.h.

Referenced by TPZPlasticState< STATE >::CopyTo(), TPZPlasticState< STATE >::MType(), TPZPlasticState< STATE >::operator=(), and TPZPlasticState< STATE >::Print().


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