50 virtual std::string
Name()
override {
return "TPZVecL2"; }
74 virtual int NFluxes()
override {
return 0;}
78 virtual void Print(std::ostream &out = std::cout)
override;
208 virtual int ClassId()
const override;
212 virtual void Write(
TPZStream &buf,
int withclassid)
const override;
virtual int VariableIndex(const std::string &name) override
Returns the variable index associated with the name.
virtual void Contribute(TPZVec< TPZMaterialData > &datavec, REAL weight, TPZFMatrix< STATE > &ef) override
It computes a contribution to the stiffness matrix and load vector at one integration point to multip...
clarg::argBool bc("-bc", "binary checkpoints", false)
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...
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 ~TPZVecL2()
Default destructor.
virtual int NSolutionVariables(int var) override
Returns the number of variables associated with the variable indexed by var.
void ErrorsHdiv(TPZMaterialData &data, TPZVec< STATE > &u_exact, TPZFMatrix< STATE > &du_exact, TPZVec< REAL > &values) override
virtual void Write(TPZStream &buf, int withclassid) const override
Saves the element data to a stream.
virtual int Dimension() const override
Returns the integrable dimension of the material.
int fNState
Number of state variables.
This abstract class defines the behaviour which each derived class needs to implement.
This abstract class defines the behaviour which each derived class needs to implement.
This class defines the boundary condition for TPZMaterial objects.
int64_t Rows() const
Returns number of rows.
TPZVecL2()
Default constructor.
virtual std::string Name() override
Fill material data parameter with necessary requirements for the.
void SetDimension(int dim)
virtual int NStateVariables() const override
Returns the number of state variables associated with the material.
virtual TPZMaterial * NewMaterial() override
To create another material of the same type.
virtual void ContributeBC(TPZVec< TPZMaterialData > &datavec, 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 to mul...
virtual int NFluxes() override
Returns the number of components which form the flux function.
virtual void Print(std::ostream &out=std::cout) override
Prints out the data associated with the material.
Defines the interface for saving and reading data. Persistency.
virtual int ClassId() const override
Unique identifier for serialization purposes.
virtual void Read(TPZStream &buf, void *context) override
Reads the element data from a stream.
void SetNStateVariables(int nstate)
TPZVecL2 & operator=(const TPZVecL2 &mat)
Defines the interface of a computational element. Computational Element.
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...
int fDim
Problem dimension.