37 bool require_tangent_Q = (tangent != NULL);
40 if (require_tangent_Q){
42 if (tangent->
Rows() != 6 || tangent->
Cols() != 6) {
43 std::cerr <<
"Unable to compute the tangent operator. Required tangent array dimensions are 6x6." << std::endl;
52 if (require_tangent_Q) {
54 const REAL mu =
fER.
G();
86 std::cout<<
" \n this method is not implemented in TPZElasticCriteria. ";
100 stressmat(
_ZZ_) = GivenStress[
_ZZ_];
101 stressmat(
_XZ_) = GivenStress[
_XZ_];
102 stressmat(
_YZ_) = GivenStress[
_YZ_];
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.
TPZElasticCriterion & operator=(const TPZElasticCriterion &cp)
virtual int IntegrationSteps() const override
Return.
virtual void Phi(const TPZTensor< REAL > &epsTotal, TPZVec< REAL > &phi) const override
virtual void ApplyLoad(const TPZTensor< REAL > &sigma, TPZTensor< REAL > &epsTotal) override
void Write(TPZStream &buf, int withclassid) const override
TPZTensor< T > m_eps_t
Tensors representing the total and plastic strain states.
virtual int ClassId() const override
virtual void resize(const int64_t newsize)
TPZPlasticState< STATE > fN
Plastic state.
void Read(TPZStream &buf, void *context) override
TPZElasticResponse fER
Elastic response.
void ComputeStress(const TPZTensor< T > &epsilon, TPZTensor< T > &sigma) const
int Solve_LDLt(TPZFMatrix< TVar > *B, std::list< int64_t > &singular)
Solves the linear system using LDLt method .
#define DebugStop()
Returns a message to user put a breakpoint in.
int64_t Rows() const
Returns number of rows.
virtual TPZPlasticState< REAL > GetState() const override
void Read(TPZStream &buf, void *context) override
read objects from the stream
int32_t Hash(std::string str)
virtual void ApplyStrain(const TPZTensor< REAL > &epsTotal) override
virtual void ApplyStrainComputeSigma(const TPZTensor< REAL > &epsTotal, TPZTensor< REAL > &sigma, TPZFMatrix< REAL > *De=NULL) override
void Read(TPZStream &buf, void *context) override
int64_t Cols() const
Returns number of cols.
Defines the interface for saving and reading data. Persistency.
virtual void SetState(const TPZPlasticState< REAL > &state) override
int ClassId() const override
Define the class id associated with the class.
int PutVal(const int64_t row, const int64_t col, const TVar &value) override
Put values without bounds checking This method is faster than "Put" if DEBUG is defined.
Non abstract class which implements full matrices with preallocated storage with (N+1) entries...
void Write(TPZStream &buf, int withclassid) const override