NeoPZ
Public Member Functions | List of all members
TPZPlasticBase Class Referenceabstract

#include <TPZPlasticBase.h>

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

Public Member Functions

int ClassId () const override
 Define the class id associated with the class. More...
 
virtual ~TPZPlasticBase ()
 
virtual void ApplyStrain (const TPZTensor< REAL > &epsTotal)=0
 
virtual void ApplyStrainComputeSigma (const TPZTensor< REAL > &epsTotal, TPZTensor< REAL > &sigma, TPZFMatrix< REAL > *tangent=NULL)=0
 
virtual void ApplyStrainComputeDep (const TPZTensor< REAL > &epsTotal, TPZTensor< REAL > &sigma, TPZFMatrix< REAL > &Dep)=0
 
virtual void ApplyLoad (const TPZTensor< REAL > &sigma, TPZTensor< REAL > &epsTotal)=0
 
virtual void SetState (const TPZPlasticState< REAL > &state)=0
 
virtual TPZPlasticState< REAL > GetState () const =0
 
virtual TPZPlasticCriterionGetYC ()=0
 
virtual void Phi (const TPZTensor< REAL > &epsTotal, TPZVec< REAL > &phi) const =0
 
virtual int IntegrationSteps () const
 
virtual void SetElasticResponse (TPZElasticResponse &ER)=0
 
virtual TPZElasticResponse GetElasticResponse () const =0
 
virtual const char * Name () const =0
 
virtual void Print (std::ostream &out) const =0
 
virtual void Write (TPZStream &buf, int withclassid) const override=0
 Writes this object to the TPZStream buffer. Include the classid if withclassid = true. More...
 
virtual void Read (TPZStream &buf, void *context) override=0
 read objects from the stream More...
 
virtual void ResetPlasticStrain ()
 
- 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
 

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

Definition at line 17 of file TPZPlasticBase.h.

Constructor & Destructor Documentation

◆ ~TPZPlasticBase()

TPZPlasticBase::~TPZPlasticBase ( )
virtual

Definition at line 14 of file TPZPlasticBase.cpp.

Member Function Documentation

◆ ApplyLoad()

virtual void TPZPlasticBase::ApplyLoad ( const TPZTensor< REAL > &  sigma,
TPZTensor< REAL > &  epsTotal 
)
pure virtual

◆ ApplyStrain()

virtual void TPZPlasticBase::ApplyStrain ( const TPZTensor< REAL > &  epsTotal)
pure virtual

◆ ApplyStrainComputeDep()

virtual void TPZPlasticBase::ApplyStrainComputeDep ( const TPZTensor< REAL > &  epsTotal,
TPZTensor< REAL > &  sigma,
TPZFMatrix< REAL > &  Dep 
)
pure virtual

◆ ApplyStrainComputeSigma()

virtual void TPZPlasticBase::ApplyStrainComputeSigma ( const TPZTensor< REAL > &  epsTotal,
TPZTensor< REAL > &  sigma,
TPZFMatrix< REAL > *  tangent = NULL 
)
pure virtual

◆ ClassId()

int TPZPlasticBase::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.

Reimplemented in TPZPlasticStepPV< YC_t, ER_t >, TPZPorousElasticCriterion, and TPZPlasticStep< YC_t, TF_t, ER_t >.

Definition at line 10 of file TPZPlasticBase.cpp.

References Hash().

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

◆ GetElasticResponse()

virtual TPZElasticResponse TPZPlasticBase::GetElasticResponse ( ) const
pure virtual

◆ GetState()

virtual TPZPlasticState<REAL> TPZPlasticBase::GetState ( ) const
pure virtual

◆ GetYC()

virtual TPZPlasticCriterion& TPZPlasticBase::GetYC ( )
pure virtual

◆ IntegrationSteps()

int TPZPlasticBase::IntegrationSteps ( ) const
virtual

◆ Name()

virtual const char* TPZPlasticBase::Name ( ) const
pure virtual

◆ Phi()

virtual void TPZPlasticBase::Phi ( const TPZTensor< REAL > &  epsTotal,
TPZVec< REAL > &  phi 
) const
pure virtual

◆ Print()

virtual void TPZPlasticBase::Print ( std::ostream &  out) const
pure virtual

◆ Read()

virtual void TPZPlasticBase::Read ( TPZStream buf,
void *  context 
)
overridepure virtual

◆ ResetPlasticStrain()

void TPZPlasticBase::ResetPlasticStrain ( )
virtual

Definition at line 22 of file TPZPlasticBase.cpp.

References GetState(), and SetState().

◆ SetElasticResponse()

virtual void TPZPlasticBase::SetElasticResponse ( TPZElasticResponse ER)
pure virtual

◆ SetState()

virtual void TPZPlasticBase::SetState ( const TPZPlasticState< REAL > &  state)
pure virtual

◆ Write()

virtual void TPZPlasticBase::Write ( TPZStream buf,
int  withclassid 
) const
overridepure virtual

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.

Implemented in TPZPlasticStep< YC_t, TF_t, ER_t >, TPZPlasticStepPV< YC_t, ER_t >, TPZElasticCriterion, and TPZPorousElasticCriterion.


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