NeoPZ
Public Types | Public Member Functions | Public Attributes | List of all members
TPZPorousElasticCriterion Class Reference

#include <TPZPorousElasticCriterion.h>

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

Public Types

enum  { NYield }
 
typedef TPZPorousElasticCriterion fNYields
 

Public Member Functions

 TPZPorousElasticCriterion ()
 
 TPZPorousElasticCriterion (const TPZPorousElasticCriterion &cp)
 
TPZPorousElasticCriterionoperator= (const TPZPorousElasticCriterion &cp)
 
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...
 
virtual int IntegrationSteps () const override
 
virtual const char * Name () const override
 
virtual void Print (std::ostream &out) const override
 
virtual void ApplyStrain (const TPZTensor< REAL > &epsTotal) override
 
virtual void ApplyStrainComputeSigma (const TPZTensor< REAL > &eps, TPZTensor< REAL > &sigma, TPZFMatrix< REAL > *tangent=NULL) override
 
virtual void ApplyStrainComputeDep (const TPZTensor< REAL > &eps, TPZTensor< REAL > &sigma, TPZFMatrix< REAL > &Dep) override
 
virtual void ApplyLoad (const TPZTensor< REAL > &sigma, TPZTensor< REAL > &eps) override
 
virtual TPZPlasticState< REAL > GetState () const override
 
virtual void Phi (const TPZTensor< REAL > &eps, TPZVec< REAL > &phi) const override
 
virtual void SetElasticResponse (TPZElasticResponse &ER) override
 
virtual TPZElasticResponse GetElasticResponse () const override
 
virtual void SetPorousElasticResponse (TPZPorousElasticResponse &PER)
 
virtual TPZPorousElasticResponse GetPorousElasticResponse () const
 
virtual void SetState (const TPZPlasticState< REAL > &state) override
 
virtual int ClassId () const override
 Define the class id associated with the class. More...
 
TPZPlasticCriterionGetYC () override
 
void YieldFunction (const TPZVec< STATE > &sigma, STATE kprev, TPZVec< STATE > &yield) const override
 
virtual int GetNYield () const override
 
- Public Member Functions inherited from TPZPlasticBase
virtual ~TPZPlasticBase ()
 
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
 

Public Attributes

TPZPlasticState< STATE > fN
 
TPZElasticResponse fER
 
TPZPorousElasticResponse fPER
 

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 16 of file TPZPorousElasticCriterion.h.

Member Typedef Documentation

◆ fNYields

Definition at line 24 of file TPZPorousElasticCriterion.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NYield 

Definition at line 20 of file TPZPorousElasticCriterion.h.

Constructor & Destructor Documentation

◆ TPZPorousElasticCriterion() [1/2]

TPZPorousElasticCriterion::TPZPorousElasticCriterion ( )

Definition at line 10 of file TPZPorousElasticCriterion.cpp.

◆ TPZPorousElasticCriterion() [2/2]

TPZPorousElasticCriterion::TPZPorousElasticCriterion ( const TPZPorousElasticCriterion cp)

Definition at line 15 of file TPZPorousElasticCriterion.cpp.

Member Function Documentation

◆ ApplyLoad()

void TPZPorousElasticCriterion::ApplyLoad ( const TPZTensor< REAL > &  sigma,
TPZTensor< REAL > &  eps 
)
overridevirtual

◆ ApplyStrain()

void TPZPorousElasticCriterion::ApplyStrain ( const TPZTensor< REAL > &  epsTotal)
overridevirtual

Implements TPZPlasticBase.

Definition at line 84 of file TPZPorousElasticCriterion.cpp.

References DebugStop.

Referenced by Print().

◆ ApplyStrainComputeDep()

virtual void TPZPorousElasticCriterion::ApplyStrainComputeDep ( const TPZTensor< REAL > &  eps,
TPZTensor< REAL > &  sigma,
TPZFMatrix< REAL > &  Dep 
)
inlineoverridevirtual

Implements TPZPlasticBase.

Definition at line 61 of file TPZPorousElasticCriterion.h.

References ApplyLoad(), DebugStop, GetState(), and Phi().

◆ ApplyStrainComputeSigma()

void TPZPorousElasticCriterion::ApplyStrainComputeSigma ( const TPZTensor< REAL > &  eps,
TPZTensor< REAL > &  sigma,
TPZFMatrix< REAL > *  tangent = NULL 
)
overridevirtual

◆ ClassId()

int TPZPorousElasticCriterion::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

Reimplemented from TPZPlasticBase.

Definition at line 139 of file TPZPorousElasticCriterion.cpp.

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

Referenced by GetPorousElasticResponse().

◆ GetElasticResponse()

virtual TPZElasticResponse TPZPorousElasticCriterion::GetElasticResponse ( ) const
inlineoverridevirtual

Implements TPZPlasticBase.

Definition at line 77 of file TPZPorousElasticCriterion.h.

References fER.

◆ GetNYield()

virtual int TPZPorousElasticCriterion::GetNYield ( ) const
inlineoverridevirtual

Implements TPZPlasticCriterion.

Definition at line 109 of file TPZPorousElasticCriterion.h.

References as_integer(), and NYield.

◆ GetPorousElasticResponse()

virtual TPZPorousElasticResponse TPZPorousElasticCriterion::GetPorousElasticResponse ( ) const
inlinevirtual

Definition at line 87 of file TPZPorousElasticCriterion.h.

References ClassId(), fPER, and SetState().

◆ GetState()

TPZPlasticState< STATE > TPZPorousElasticCriterion::GetState ( ) const
overridevirtual

Implements TPZPlasticBase.

Definition at line 115 of file TPZPorousElasticCriterion.cpp.

References fN.

Referenced by ApplyStrainComputeDep().

◆ GetYC()

TPZPlasticCriterion& TPZPorousElasticCriterion::GetYC ( )
inlineoverridevirtual

Implements TPZPlasticBase.

Definition at line 97 of file TPZPorousElasticCriterion.h.

◆ IntegrationSteps()

int TPZPorousElasticCriterion::IntegrationSteps ( ) const
overridevirtual

Reimplemented from TPZPlasticBase.

Definition at line 134 of file TPZPorousElasticCriterion.cpp.

◆ Name()

virtual const char* TPZPorousElasticCriterion::Name ( ) const
inlineoverridevirtual

Implements TPZPlasticBase.

Definition at line 46 of file TPZPorousElasticCriterion.h.

Referenced by Print().

◆ operator=()

TPZPorousElasticCriterion & TPZPorousElasticCriterion::operator= ( const TPZPorousElasticCriterion cp)

check for self-assignment

Definition at line 19 of file TPZPorousElasticCriterion.cpp.

References fER, fN, and fPER.

◆ Phi()

void TPZPorousElasticCriterion::Phi ( const TPZTensor< REAL > &  eps,
TPZVec< REAL > &  phi 
) const
overridevirtual

Implements TPZPlasticBase.

Definition at line 121 of file TPZPorousElasticCriterion.cpp.

References TPZVec< T >::resize().

Referenced by ApplyStrainComputeDep(), and YieldFunction().

◆ Print()

virtual void TPZPorousElasticCriterion::Print ( std::ostream &  out) const
inlineoverridevirtual

◆ Read()

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

read objects from the stream

Implements TPZPlasticBase.

Definition at line 32 of file TPZPorousElasticCriterion.cpp.

References fER, fN, fPER, TPZPorousElasticResponse::Read(), TPZElasticResponse::Read(), and TPZPlasticState< T >::Read().

◆ SetElasticResponse()

virtual void TPZPorousElasticCriterion::SetElasticResponse ( TPZElasticResponse ER)
inlineoverridevirtual

Implements TPZPlasticBase.

Definition at line 72 of file TPZPorousElasticCriterion.h.

◆ SetPorousElasticResponse()

virtual void TPZPorousElasticCriterion::SetPorousElasticResponse ( TPZPorousElasticResponse PER)
inlinevirtual

Definition at line 82 of file TPZPorousElasticCriterion.h.

◆ SetState()

void TPZPorousElasticCriterion::SetState ( const TPZPlasticState< REAL > &  state)
overridevirtual

Implements TPZPlasticBase.

Definition at line 129 of file TPZPorousElasticCriterion.cpp.

References fN.

Referenced by GetPorousElasticResponse().

◆ Write()

void TPZPorousElasticCriterion::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

Implements TPZPlasticBase.

Definition at line 38 of file TPZPorousElasticCriterion.cpp.

References fER, fN, fPER, TPZElasticResponse::Write(), TPZPorousElasticResponse::Write(), and TPZPlasticState< T >::Write().

◆ YieldFunction()

void TPZPorousElasticCriterion::YieldFunction ( const TPZVec< STATE > &  sigma,
STATE  kprev,
TPZVec< STATE > &  yield 
) const
inlineoverridevirtual

Member Data Documentation

◆ fER

TPZElasticResponse TPZPorousElasticCriterion::fER

◆ fN

TPZPlasticState<STATE> TPZPorousElasticCriterion::fN

◆ fPER

TPZPorousElasticResponse TPZPorousElasticCriterion::fPER

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