NeoPZ
TPZElastoPlasticMem.h
Go to the documentation of this file.
1 //$Id: pzelastoplasticmem.h,v 1.7 2009-10-04 05:44:22 erick Exp $
2 
3 #ifndef PZELASTOPLASTICMEM_H
4 #define PZELASTOPLASTICMEM_H
5 
6 #include "TPZMaterial.h"
7 #include "TPZTensor.h"
8 #include "TPZPlasticState.h"
9 #include "TPZElasticResponse.h"
10 
15 {
16 
17 private:
18 
19 public:
20 
21  int ClassId() const override;
22 
24 
26 
28 
29  virtual ~TPZElastoPlasticMem();
30 
31  const std::string Name() const;
32 
33  void Write(TPZStream &buf, int withclassid) const override;
34 
35  void Read(TPZStream &buf, void *context) override;
36 
37  virtual void Print(std::ostream &out = std::cout) const;
38 
39  friend std::ostream& operator<<( std::ostream& Out, const TPZElastoPlasticMem & s )
40  {
41  s.Print(Out);
42  return Out;
43  }
44 
47 
50 
53 
56 
58  REAL m_phi;
59 
62 
63 };
64 
65 #endif
66 
TPZTensor< REAL > m_sigma
Stress state.
const TPZElastoPlasticMem & operator=(const TPZElastoPlasticMem &other)
int m_plastic_steps
Number of plastic steps.
friend std::ostream & operator<<(std::ostream &Out, const TPZElastoPlasticMem &s)
const std::string Name() const
void Write(TPZStream &buf, int withclassid) const override
Writes this object to the TPZStream buffer. Include the classid if withclassid = true.
REAL m_phi
Yield function value.
Defines the interface for saving and reading data. Persistency.
Definition: TPZStream.h:50
void Read(TPZStream &buf, void *context) override
read objects from the stream
TPZManVector< REAL, 3 > m_u
Displacement field.
virtual void Print(std::ostream &out=std::cout) const
TPZElasticResponse m_ER
Elastoplastic response (It is required when elasti response depends on spatial variables) ...
TPZPlasticState< REAL > m_elastoplastic_state
Elastoplastic strain state.
int ClassId() const override
Define the class id associated with the class.
This class defines the interface to save and restore objects from TPZStream objects. Persistency.
Definition: TPZSavable.h:67