NeoPZ
|
#include <TPZElasticCriterion.h>
Public Types | |
enum | { NYield } |
typedef TPZElasticCriterion | fNYields |
Public Member Functions | |
virtual int | ClassId () const override |
TPZElasticCriterion () | |
TPZElasticCriterion (const TPZElasticCriterion &cp) | |
TPZElasticCriterion & | operator= (const TPZElasticCriterion &cp) |
void | Read (TPZStream &buf, void *context) override |
void | Write (TPZStream &buf, int withclassid) const override |
virtual int | IntegrationSteps () const override |
Return. More... | |
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 > &epsTotal, TPZTensor< REAL > &sigma, TPZFMatrix< REAL > *De=NULL) override |
virtual void | ApplyStrainComputeDep (const TPZTensor< REAL > &epsTotal, TPZTensor< REAL > &sigma, TPZFMatrix< REAL > &De) override |
virtual void | ApplyLoad (const TPZTensor< REAL > &sigma, TPZTensor< REAL > &epsTotal) override |
virtual void | SetState (const TPZPlasticState< REAL > &state) override |
virtual TPZPlasticState< REAL > | GetState () const override |
virtual void | Phi (const TPZTensor< REAL > &epsTotal, TPZVec< REAL > &phi) const override |
virtual void | SetElasticResponse (TPZElasticResponse &ER) override |
virtual TPZElasticResponse | GetElasticResponse () const override |
TPZPlasticCriterion & | GetYC () override |
void | YieldFunction (const TPZVec< STATE > &sigma, STATE hardening, TPZVec< STATE > &yield) const override |
virtual int | GetNYield () const override |
Public Member Functions inherited from TPZPlasticBase | |
int | ClassId () const override |
Define the class id associated with the class. More... | |
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 |
Plastic state. More... | |
TPZElasticResponse | fER |
Elastic response. 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 TPZSavable * | CreateInstance (const int &classId) |
Definition at line 16 of file TPZElasticCriterion.h.
Definition at line 23 of file TPZElasticCriterion.h.
anonymous enum |
Enumerator | |
---|---|
NYield |
Definition at line 21 of file TPZElasticCriterion.h.
TPZElasticCriterion::TPZElasticCriterion | ( | ) |
Default constructor
Definition at line 3 of file TPZElasticCriterion.cpp.
TPZElasticCriterion::TPZElasticCriterion | ( | const TPZElasticCriterion & | cp | ) |
Copy constructor
Definition at line 8 of file TPZElasticCriterion.cpp.
|
overridevirtual |
Computes Strain tensor based on inverse of incremental constitutive relation with a given Stress tensor
sigma | Stress tensor |
epsTotal | Strain tensor |
Implements TPZPlasticBase.
Definition at line 91 of file TPZElasticCriterion.cpp.
References _XX_, _XY_, _XZ_, _YY_, _YZ_, _ZZ_, ApplyStrainComputeSigma(), fN, TPZPlasticState< T >::m_eps_t, and TPZMatrix< TVar >::Solve_LDLt().
Referenced by ApplyStrainComputeDep().
|
overridevirtual |
Imposes the specified strain tensor, evaluating the plastic integration if necessary
epsTotal | Imposed total strain tensor |
Implements TPZPlasticBase.
Definition at line 83 of file TPZElasticCriterion.cpp.
References DebugStop.
Referenced by Print().
|
inlineoverridevirtual |
Imposes the specified strain tensor and returns the corresping stress state and tangent matrix. (Deprecated)
epsTotal | Imposed total strain tensor |
sigma | Stress tensor |
De | Incremental constitutive relation in Voigt notation |
Implements TPZPlasticBase.
Definition at line 130 of file TPZElasticCriterion.h.
References ApplyLoad(), DebugStop, GetState(), Phi(), and SetState().
|
overridevirtual |
Imposes the specified strain tensor and returns the correspondent stress state.
epsTotal | Imposed total strain tensor |
sigma | Stress tensor |
De | Incremental constitutive relation in Voigt notation (optional) |
Implements TPZPlasticBase.
Definition at line 34 of file TPZElasticCriterion.cpp.
References _XX_, _XY_, _XZ_, _YY_, _YZ_, _ZZ_, TPZMatrix< TVar >::Cols(), TPZElasticResponse::ComputeStress(), DebugStop, fER, fN, TPZElasticResponse::G(), TPZElasticResponse::Lambda(), TPZPlasticState< T >::m_eps_t, TPZFMatrix< TVar >::PutVal(), and TPZMatrix< TVar >::Rows().
Referenced by ApplyLoad(), and Print().
|
overridevirtual |
A unique class identifier
Implements TPZSavable.
Definition at line 139 of file TPZElasticCriterion.cpp.
References TPZPlasticBase::ClassId(), and Hash().
|
inlineoverridevirtual |
Access to the linear elastic response memeber
Implements TPZPlasticBase.
Definition at line 184 of file TPZElasticCriterion.h.
References fER.
|
inlineoverridevirtual |
Number of yield surfaces
Implements TPZPlasticCriterion.
Definition at line 220 of file TPZElasticCriterion.h.
References as_integer(), and NYield.
|
overridevirtual |
Access to the plastic state member
Implements TPZPlasticBase.
Definition at line 114 of file TPZElasticCriterion.cpp.
References fN.
Referenced by ApplyStrainComputeDep().
|
inlineoverridevirtual |
Access to the plastic criterion being used
Implements TPZPlasticBase.
Definition at line 195 of file TPZElasticCriterion.h.
|
overridevirtual |
Return.
Numer of integration steps
Reimplemented from TPZPlasticBase.
Definition at line 134 of file TPZElasticCriterion.cpp.
|
inlineoverridevirtual |
Class name
Implements TPZPlasticBase.
Definition at line 89 of file TPZElasticCriterion.h.
Referenced by Print().
TPZElasticCriterion & TPZElasticCriterion::operator= | ( | const TPZElasticCriterion & | cp | ) |
Assignment constructor
check for self-assignment
Definition at line 12 of file TPZElasticCriterion.cpp.
|
overridevirtual |
Computes the value of the yield functions for the given strain
epsTotal | Strain tensor |
phi | The valued yield functions |
Implements TPZPlasticBase.
Definition at line 120 of file TPZElasticCriterion.cpp.
References TPZVec< T >::resize().
Referenced by ApplyStrainComputeDep(), and YieldFunction().
|
inlineoverridevirtual |
out | ostream object to write the output |
Implements TPZPlasticBase.
Definition at line 100 of file TPZElasticCriterion.h.
References ApplyStrain(), ApplyStrainComputeSigma(), Name(), and TPZPlasticState< T >::Print().
|
overridevirtual |
Read (persistency)
buf | a TPZStream object |
context | pointer to the associated object |
Implements TPZPlasticBase.
Definition at line 24 of file TPZElasticCriterion.cpp.
References fER, fN, TPZElasticResponse::Read(), and TPZPlasticState< T >::Read().
|
inlineoverridevirtual |
Set the linear elastic response memeber
ER | The linear elastic response |
Implements TPZPlasticBase.
Definition at line 173 of file TPZElasticCriterion.h.
|
overridevirtual |
Set the plastic state member
state | The plastic state member |
Implements TPZPlasticBase.
Definition at line 129 of file TPZElasticCriterion.cpp.
References fN.
Referenced by ApplyStrainComputeDep().
|
overridevirtual |
Write (persistency)
buf | a TPZStream object |
withclassid | the class identifier |
Implements TPZPlasticBase.
Definition at line 29 of file TPZElasticCriterion.cpp.
References fER, fN, TPZElasticResponse::Write(), and TPZPlasticState< T >::Write().
|
inlineoverridevirtual |
Evaluates the yield functions base on a given Stress and hardening
sigma | The Stress tensor |
hardening | The Hardening variable |
yield | The valued yield functions |
Implements TPZPlasticCriterion.
Definition at line 207 of file TPZElasticCriterion.h.
References Phi(), TPZTensor< T >::XX(), TPZTensor< T >::YY(), and TPZTensor< T >::ZZ().
TPZElasticResponse TPZElasticCriterion::fER |
Elastic response.
Definition at line 29 of file TPZElasticCriterion.h.
Referenced by ApplyStrainComputeSigma(), GetElasticResponse(), operator=(), Read(), and Write().
TPZPlasticState<STATE> TPZElasticCriterion::fN |
Plastic state.
Definition at line 26 of file TPZElasticCriterion.h.
Referenced by ApplyLoad(), ApplyStrainComputeSigma(), GetState(), operator=(), Read(), SetState(), and Write().