49 bool require_tangent_Q = (tangent != NULL);
52 if (require_tangent_Q){
54 if (tangent->
Rows() != 6 || tangent->
Cols() != 6) {
55 std::cerr <<
"Unable to compute the tangent operator. Required tangent array dimensions are 6x6." << std::endl;
66 if (require_tangent_Q) {
76 if (require_tangent_Q) {
87 std::cout<<
" \n this method is not implemented in TPZElasticCriteria. ";
124 for (
int i = 0; i < 3; i++) {
void Write(TPZStream &buf, int withclassid) const override
Writes this object to the TPZStream buffer. Include the classid if withclassid = true.
void ComputeStress(const TPZTensor< T > &epsilon, TPZTensor< T > &sigma) const
virtual void SetState(const TPZPlasticState< REAL > &state) override
TPZTensor< T > m_eps_t
Tensors representing the total and plastic strain states.
virtual void resize(const int64_t newsize)
void Read(TPZStream &buf, void *context) override
virtual int ClassId() const override
Define the class id associated with the class.
virtual void ApplyStrain(const TPZTensor< REAL > &epsTotal) override
virtual void ApplyStrainComputeSigma(const TPZTensor< REAL > &eps, TPZTensor< REAL > &sigma, TPZFMatrix< REAL > *tangent=NULL) override
TPZPlasticState< STATE > fN
void ComputeStress(const TPZTensor< T > &epsilon, TPZTensor< T > &sigma) const
TPZPorousElasticCriterion & operator=(const TPZPorousElasticCriterion &cp)
void ComputeStrain(const TPZTensor< T > &sigma, TPZTensor< T > &epsilon) const
#define DebugStop()
Returns a message to user put a breakpoint in.
int64_t Rows() const
Returns number of rows.
virtual void ApplyLoad(const TPZTensor< REAL > &sigma, TPZTensor< REAL > &eps) override
void De(const TPZTensor< STATE > &epsilon, TPZFMatrix< STATE > &De) const
virtual int IntegrationSteps() const override
virtual TPZPlasticState< REAL > GetState() const override
void Read(TPZStream &buf, void *context) override
read objects from the stream
void Write(TPZStream &buf, int withclassid) const override
Writes this object to the TPZStream buffer. Include the classid if withclassid = true.
int32_t Hash(std::string str)
virtual void Phi(const TPZTensor< REAL > &eps, TPZVec< REAL > &phi) const override
TPZPorousElasticCriterion()
void Read(TPZStream &buf, void *context) override
void De(TPZFMatrix< REAL > &De)
int64_t Cols() const
Returns number of cols.
Defines the interface for saving and reading data. Persistency.
void Read(TPZStream &buf, void *context) override
read objects from the stream
void ComputeStrain(const TPZTensor< T > &sigma, TPZTensor< T > &epsilon) const
int ClassId() const override
Define the class id associated with the class.
void Write(TPZStream &buf, int withclassid) const override
TPZElasticResponse EvaluateElasticResponse(const TPZTensor< STATE > &epsilon) const
Computes a linear elastic response from function evaluation of non linear expressions.
TPZPorousElasticResponse fPER
void Write(TPZStream &buf, int withclassid) const override