NeoPZ
TPZPorousElastoPlasticMem.h
Go to the documentation of this file.
1 //
2 // TPZPorousElastoPlasticMem.h
3 // pz
4 //
5 // Created by Omar DurĂ¡n on 2/11/19.
6 //
7 
8 #ifndef TPZPorousElastoPlasticMem_h
9 #define TPZPorousElastoPlasticMem_h
10 
11 #include <stdio.h>
12 #include "TPZMaterial.h"
13 #include "TPZTensor.h"
14 #include "TPZPlasticState.h"
16 
21 {
22 
23 private:
24 
25 public:
26 
27  int ClassId() const override;
28 
30 
32 
34 
36 
37  const std::string Name() const;
38 
39  void Write(TPZStream &buf, int withclassid) const override;
40 
41  void Read(TPZStream &buf, void *context) override;
42 
43  virtual void Print(std::ostream &out = std::cout) const;
44 
45  friend std::ostream& operator<<( std::ostream& Out, const TPZPorousElastoPlasticMem & s )
46  {
47  s.Print(Out);
48  return Out;
49  }
50 
53 
56 
59 
62 
64  REAL m_phi;
65 
68 
69 };
70 
71 #endif /* TPZPorousElastoPlasticMem_hpp */
virtual void Print(std::ostream &out=std::cout) const
TPZPlasticState< REAL > m_elastoplastic_state
Elastoplastic strain state.
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.
int ClassId() const override
Define the class id associated with the class.
TPZManVector< REAL, 3 > m_u
Displacement field.
const std::string Name() const
const TPZPorousElastoPlasticMem & operator=(const TPZPorousElastoPlasticMem &other)
friend std::ostream & operator<<(std::ostream &Out, const TPZPorousElastoPlasticMem &s)
REAL m_phi
Yield function value.
TPZPorousElasticResponse m_ER
Porous Elastoplastic response (It is required when elasti response depends on spatial variables) ...
TPZTensor< REAL > m_sigma
Stress state.
int m_plastic_steps
Number of plastic steps.
Defines the interface for saving and reading data. Persistency.
Definition: TPZStream.h:50
This class defines the interface to save and restore objects from TPZStream objects. Persistency.
Definition: TPZSavable.h:67