9 #ifndef TPZPorousElasticity_h 10 #define TPZPorousElasticity_h 22 virtual int ClassId()
const override;
38 void Print(std::ostream & out)
override {
42 std::string
Name()
override {
return "TPZPorousElasticity"; }
virtual int ClassId() const override
Unique identifier for serialization purposes.
void Write(TPZStream &buf, int withclassid) const override
clarg::argBool bc("-bc", "binary checkpoints", false)
void FillBoundaryConditionDataRequirement(int type, TPZMaterialData &data) override
This method defines which parameters need to be initialized in order to compute the contribution of t...
void Contribute(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef) override
It computes a contribution to the stiffness matrix and load vector at one integration point...
int VariableIndex(const std::string &name) override
Returns the variable index associated with the name.
This abstract class defines the behaviour which each derived class needs to implement.
TPZPorousElasticity & operator=(const TPZPorousElasticity ©)
void Solution(TPZMaterialData &data, TPZVec< TPZMaterialData > &dataleftvec, TPZVec< TPZMaterialData > &datarightvec, int var, TPZVec< STATE > &Solout, TPZCompEl *Left, TPZCompEl *Right) override
Returns the solution associated with the var index based on the finite element approximation around o...
#define DebugStop()
Returns a message to user put a breakpoint in.
int Dimension() const override
Returns the integrable dimension of the material.
This class defines the boundary condition for TPZMaterial objects.
void FillDataRequirements(TPZMaterialData &data) override
Fill material data parameter with necessary requirements for the.
void ContributeBC(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ef, TPZBndCond &bc) override
It computes a contribution to the stiffness matrix and load vector at one BC integration point...
void ContributeBC(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef, TPZBndCond &bc) override
It computes a contribution to the stiffness matrix and load vector at one BC integration point...
void Read(TPZStream &buf, void *context) override
void Contribute(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ef) override
It computes a contribution to the residual vector at one integration point.
virtual int NStateVariables() const override
Returns the number of state variables associated with the material.
void Solution(TPZMaterialData &data, int var, TPZVec< STATE > &Solout) override
Returns the solution associated with the var index based on the finite element approximation.
int NSolutionVariables(int var) override
Returns the number of variables associated with the variable indexed by var.
virtual ~TPZPorousElasticity()
void Print(std::ostream &out) override
Prints out the data associated with the material.
TPZPorousElasticity(const TPZPorousElasticity &cp)
Copy constructor.
std::string Name() override
Returns the name of the material.
Defines the interface for saving and reading data. Persistency.
Defines the interface of a computational element. Computational Element.