9 #ifndef TPZMULTCAMADA_H 10 #define TPZMULTCAMADA_H 72 int numbersol = data.
sol.
size();
86 virtual int ClassId()
const override;
94 #endif //TPZMULTCAMADA_H 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.
TPZStack< TPZMatPlaca2 *> fCamadas
Vector of layers.
clarg::argBool bc("-bc", "binary checkpoints", false)
TPZMultCamada(int matindex)
Default constructor.
virtual void Contribute(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef) override
Computes contribution to the stiffness matrix and right hand side at an integration point...
TPZGradSolVec dsol
vector of the derivatives of the solution at the integration point
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...
virtual int NSolutionVariables(int var) override
Returns the number of variables associated with the variable indexed by var.
This abstract class defines the behaviour which each derived class needs to implement.
int64_t size() const
Returns the number of elements of the vector.
virtual int VariableIndex(const std::string &name) override
Returns the variable index associated with the name.
void Push(const T object)
Pushes a copy of the object on the stack.
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 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...
#define DebugStop()
Returns a message to user put a breakpoint in.
This class defines the boundary condition for TPZMaterial objects.
TPZFNMatrix< 9, REAL > axes
axes indicating the directions of the derivatives of the shapefunctions
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 void Solution(TPZMaterialData &data, int var, TPZVec< STATE > &Solout) override
Returns the solution associated with the var index based on the finite element approximation.
virtual int ClassId() const override
Define the class id associated with the class.
void AddLayer(TPZMatPlaca2 *l)
Add layer.
This class implements a stack object. Utility.
virtual int NStateVariables() const override
Returns the number of state variables associated with the material.
virtual int Dimension() const override
Returns the integrable dimension of the material.
virtual void Contribute(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ef) override
It computes a contribution to the residual vector at one integration point.
TPZSolVec sol
vector of the solutions at the integration point