9 #ifndef TPZDualPoisson_hpp 10 #define TPZDualPoisson_hpp 64 void Print(std::ostream & out)
override;
67 std::string
Name()
override;
84 virtual int ClassId()
const override;
88 virtual void Write(
TPZStream &buf,
int withclassid)
const override;
This material consider exactly just laplace equation (i.e. coefficient equal to 1) ...
int NSolutionVariables(int var) override
size of the current variable (1 -> scalar, 3-> vector, 9 -> Tensor )
TPZDualPoisson()
default constructor
clarg::argBool bc("-bc", "binary checkpoints", false)
int VariableIndex(const std::string &name) override
Variable index based on variable naming.
TPZDualPoisson & operator=(const TPZDualPoisson &other)
assignment operator
This class implements a simple vector storage scheme for a templated class T. Utility.
int Dimension() const override
return the euclidean dimension of the weak statement
This abstract class defines the behaviour which each derived class needs to implement.
Contains the TPZBndCond class which implements a boundary condition for TPZMaterial objects...
void Solution(TPZMaterialData &data, int var, TPZVec< STATE > &Solout) override
Postprocess required variables.
int NEvalErrors() override
Number of errors being computed = { 0-> h1, 1 ->L2 primal, 2 L2 dual}.
void ContributeBC(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ef, TPZBndCond &bc) override
Boundary contribute without jacobian matrix.
Contains TPZMatrixclass which implements full matrix (using column major representation).
void Contribute(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef) override
Volumetric contribute without jacobian matrix.
virtual int ClassId() const override
unique class identifier
This class defines the boundary condition for TPZMaterial objects.
std::string Name() override
print material name
~TPZDualPoisson()
default desconstructor
virtual int NStateVariables() const override
return the number of state variables associated with each trial function
void Read(TPZStream &buf, void *context) override
write class from disk
virtual void Write(TPZStream &buf, int withclassid) const override
write class in disk
void FillBoundaryConditionDataRequirement(int type, TPZMaterialData &data) override
fill requirements for bounadry contribute methods
Defines the interface for saving and reading data. Persistency.
TPZMaterial * NewMaterial() override
return a material object from a this object
void FillDataRequirements(TPZMaterialData &data) override
fill requirements for volumetric contribute methods
void Errors(TPZVec< REAL > &x, TPZVec< STATE > &u, TPZFMatrix< STATE > &du, TPZFMatrix< REAL > &axes, TPZVec< STATE > &flux, TPZVec< STATE > &u_exact, TPZFMatrix< STATE > &du_exact, TPZVec< REAL > &error) override
Compute errors, no comments!!!
void Print(std::ostream &out) override
print all material information