25 virtual int ClassId()
const override;
48 virtual int NFluxes()
override {
return 2;}
76 virtual void Print(std::ostream &out = std::cout)
override;
87 int numbersol = data.
sol.
size();
102 virtual void SetData(std::istream &data)
override;
static TEulerDiffusivity gEul
virtual int NSolutionVariables(int var) override
Returns the number of variables associated with the variable indexed by var.
clarg::argBool bc("-bc", "binary checkpoints", false)
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...
virtual int NFluxes() override
Return the number of components which form the flux function.
TPZGradSolVec dsol
vector of the derivatives of the solution at the integration point
TPZEuler(TPZEuler ©)
Copy constructor.
virtual void Solution(TPZVec< STATE > &Sol, TPZFMatrix< STATE > &DSol, TPZFMatrix< REAL > &axes, int var, TPZVec< STATE > &Solout) override
virtual int ClassId() const override
Define the class id associated with the class.
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...
This abstract class defines the behaviour which each derived class needs to implement.
virtual int VariableIndex(const std::string &name) override
Returns the variable index associated with the name.
int64_t size() const
Returns the number of elements of the vector.
Contains TPZMatrixclass which implements full matrix (using column major representation).
#define DebugStop()
Returns a message to user put a breakpoint in.
This class defines the boundary condition for TPZMaterial objects.
This class implements a linear scalar convection equation with modified SUPG difusion.
Implements a numerical diffusivity coeficient for the SUPG method. Analysis: Solving process Analysis...
TPZFNMatrix< 9, REAL > axes
axes indicating the directions of the derivatives of the shapefunctions
virtual void Contribute(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ef) override
Computes contribution to the right hand side at an integration point.
void SetState(int state)
Set the state of the Euler material.
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 SetData(std::istream &data) override
Reads data of the material from a istream (file data)
virtual void Flux(TPZVec< REAL > &x, TPZVec< STATE > &Sol, TPZFMatrix< STATE > &DSol, TPZFMatrix< REAL > &axes, TPZVec< STATE > &flux) override
Computes the value of the flux function to be used by ZZ error estimator.
virtual void Print(std::ostream &out=std::cout) override
Print out the data associated with the material.
Contains the TEulerDiffusivity class which implements a numerical diffusivity coefficient for SUPG...
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 TPZMaterial * NewMaterial() override
To create another material of the same type.
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 Dimension() const override
Returns the integrable dimension of the material.
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...
TPZSolVec sol
vector of the solutions at the integration point
virtual int NStateVariables() const override
Returns the number of state variables associated with the material.