6 #ifndef TPZMATPLACA2HPP 7 #define TPZMATPLACA2HPP 37 STATE ni1 , STATE ni2 , STATE G12 , STATE G13 ,
42 virtual int Dimension()
const override {
return 2; }
44 void Print(std::ostream & out)
override;
46 virtual std::string
Name()
override {
return "TPZMatPlaca2"; }
101 virtual int ClassId()
const override;
virtual void Solution(TPZMaterialData &data, int var, TPZVec< STATE > &Solout)
Returns the solution associated with the var index based on the finite element approximation.
virtual void Solution(TPZVec< STATE > &Sol, TPZFMatrix< STATE > &DSol, TPZFMatrix< REAL > &axes, int var, TPZVec< STATE > &Solout) override
Returns the solution associated with the var index based on the finite element approximation.
TPZFMatrix< STATE > fB00R
TPZFMatrix< STATE > fRmat
clarg::argBool bc("-bc", "binary checkpoints", false)
Templated vector implementation.
TPZFMatrix< STATE > fKyyR
TPZFMatrix< STATE > fRmatT
TPZFMatrix< STATE > fnaxes
virtual int NStateVariables() const override
Returns the number of state variables associated with the material.
clarg::argBool h("-h", "help message", false)
virtual int VariableIndex(const std::string &name) override
Returns the variable index associated with the name.
virtual void Contribute(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ef) override
It computes a contribution to the residual vector at one integration point.
TPZFMatrix< STATE > fBy0R
virtual void Contribute(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef)=0
It computes a contribution to the stiffness matrix and load vector at one integration point...
TPZFMatrix< STATE > fKxxR
virtual void Solution(TPZMaterialData &data, int var, TPZVec< STATE > &Solout) override
Returns the solution associated with the var index based on the finite element approximation.
This abstract class defines the behaviour which each derived class needs to implement.
void SetNAxes(TPZFMatrix< STATE > &n)
Modify the direction of the fibres for the plate.
void Print(std::ostream &out) override
Prints out the data associated with the material.
virtual int ClassId() const override
Define the class id associated with the class.
Contains TPZMatrixclass which implements full matrix (using column major representation).
This class defines the boundary condition for TPZMaterial objects.
virtual 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...
virtual int NFluxes() override
Returns the number of components which form the flux function.
TPZFMatrix< STATE > fB0yR
TPZFMatrix< STATE > fKxyR
virtual void ContributeBC(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef, TPZBndCond &bc)=0
It computes a contribution to the stiffness matrix and load vector at one BC integration point...
virtual std::string Name() override
Returns the name of the material.
virtual void Flux(TPZVec< REAL > &x, TPZVec< STATE > &u, TPZFMatrix< STATE > &dudx, TPZFMatrix< REAL > &axes, TPZVec< STATE > &fl) override
Computes the value of the flux function to be used by ZZ error estimator.
TPZFMatrix< STATE > fB0xR
TPZMatPlaca2(int num, STATE h, STATE f, STATE E1, STATE E2, STATE ni1, STATE ni2, STATE G12, STATE G13, STATE G23, TPZFMatrix< STATE > &naxes, TPZVec< STATE > &xf)
virtual 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...
TPZFMatrix< STATE > fBx0R
TPZFMatrix< STATE > fKyxR
virtual int NSolutionVariables(int var) override
Returns the number of variables associated with the variable indexed by var.
virtual 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...
virtual int Dimension() const override
Returns the integrable dimension of the material.
virtual void Errors(TPZVec< REAL > &x, TPZVec< STATE > &u, TPZFMatrix< STATE > &dudx, TPZFMatrix< REAL > &axes, TPZVec< STATE > &flux, TPZVec< STATE > &u_exact, TPZFMatrix< STATE > &du_exact, TPZVec< REAL > &values) override
Computes the error due to the difference between the interpolated flux and the flux computed based o...