10 #ifndef TPZYCMOHRCOULOMBPV_H 11 #define TPZYCMOHRCOULOMBPV_H 112 virtual int ClassId()
const override;
122 fEpsPlasticBar = epsbar;
128 virtual void Print(std::ostream &out)
const override;
227 std::cerr <<
"Deprecated gradient calculation is incorporated on ProjectSigma method." << std::endl;
300 Phi(sigma, kprev, yield);
309 #endif //TPZYCMOHRCOULOMBPV_H void ProjectSigmaDep(const TPZVec< STATE > &sigmatrial, STATE kprev, TPZVec< STATE > &sigmaproj, STATE &kpro, TPZFMatrix< STATE > &tang)
void ComputePlaneTangent(TPZMatrix< REAL > &tang, REAL &epsbarp) const
Computes dsigmapr/dsigmatr for the ReturnMapPlane.
void ComputeLeftEdgeTangent(TPZMatrix< REAL > &tang, REAL &epsbarp) const
Computes dsigmapr/dsigmatr for the ReturnMapLeftEdge.
Contains definitions to LOGPZ_DEBUG, LOGPZ_INFO, LOGPZ_WARN, LOGPZ_ERROR and LOGPZ_FATAL, and the implementation of the inline InitializePZLOG(string) function using log4cxx library or not. It must to be called out of "#ifdef LOG4CXX" scope.
bool ReturnMapPlane(const TPZVec< T > &sigma_trial, TPZVec< T > &sigma_projected, TComputeSequence &memory, REAL &epsbarnew) const
Implements the return map in the plane of the surface.
virtual int GetNYield() const override
virtual void YieldFunction(const TPZVec< STATE > &sigma, STATE kprev, TPZVec< STATE > &yield) const override
T PhiPlane(const TPZVec< T > &sigma) const
Calcula o valor da funcao criteiro de plastificacao.
void PlasticityFunction(const T epsp, T &c, T &H) const
Calculates the value c(epsp) and its derivative.
std::underlying_type< Enumeration >::type as_integer(const Enumeration value)
void Write(TPZStream &buf, int withclassid) const override
Writes this object to the TPZStream buffer. Include the classid if withclassid = true.
void SetPhi(STATE phi)
Set up the phi.
void SetEpsBar(REAL &epsbar)
Sets epsbar.
bool ReturnMapLeftEdge(const TPZVec< T > &sigma_trial, TPZVec< T > &sigma_projected, TComputeSequence &memory, REAL &epsbarnew) const
Implements the return map in the left edge of the surface.
static LoggerPtr loggerMohrCoulombPV(Logger::getLogger("pz.plasticity.mohrcoulombpv"))
void SetElasticResponse(const TPZElasticResponse &ER)
void SetCohesion(STATE cohesion)
Set up the cohesion.
virtual TPZElasticResponse GetElasticResponse() const
void Read(TPZStream &buf, void *context) override
read objects from the stream
virtual int ClassId() const override
Define the class id associated with the class.
REAL InitialDamage(const TPZVec< REAL > &stress_p) const
Compute initial damage variable from the given principal stress state.
TPZYCMohrCoulombPV()
empty constructor
#define DebugStop()
Returns a message to user put a breakpoint in.
void ComputeApexGradient(TPZMatrix< REAL > &gradient, REAL &eps_bar_p) const
TPZManVector< REAL > fGamma
TComputeSequence & operator=(const TComputeSequence ©)
virtual void Print(std::ostream &out) const override
Print Method.
TComputeSequence(const TComputeSequence ©)
void ProjectSigma(const TPZVec< STATE > &sigma_trial, STATE k_prev, TPZVec< STATE > &sigma, STATE &k_proj, int &m_type, TPZFMatrix< REAL > *gradient=NULL)
structure which contains the decision tree of the return map
bool ReturnMapRightEdge(const TPZVec< T > &sigma_trial, TPZVec< T > &sigma_projected, TComputeSequence &memory, REAL &epsbarnew) const
Implements the return map in the right edge of the surface.
Defines the interface for saving and reading data. Persistency.
TPZVec< T > SigmaElastPV(const TPZVec< T > &deform) const
sigma = lambda Tr(E)I + 2 mu E
void ComputeRightEdgeTangent(TPZMatrix< REAL > &tang, REAL &epsbarp) const
Computes dsigmapr/dsigmatr for the ReturnMapRightEdge.
void SetUp(REAL Phi, REAL Psi, REAL c, TPZElasticResponse &ER)
Sets up the data.
bool ReturnMapApex(const TPZVec< T > &sigma_trial, TPZVec< T > &sigma_projected, TComputeSequence &memory, REAL &epsbarnew) const
Implements the return map in the apex.