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