68 #ifdef LinearConvection 74 #ifdef LinearConvection 132 virtual void Print(std::ostream & out)
override;
134 virtual std::string
Name()
override {
return "TPZEulerEquation";}
171 virtual int ClassId()
const override;
Defines the interface which material objects need to implement for discontinuous Galerkin formulation...
static void FromPrimitiveToConservative(TPZVec< STATE > &sol, STATE gamma)
Convert from primitive to conservative variables.
CALCType
Type of flux computing.
virtual void ContributeInterface(TPZMaterialData &data, TPZMaterialData &dataleft, TPZMaterialData &dataright, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef) override
It computes a contribution to stiffness matrix and load vector at one integration point...
Contains the TPZGradientFlux class.
Contains definitions to LOGPZ_DEBUG, LOGPZ_INFO, LOGPZ_WARN, LOGPZ_ERROR and LOGPZ_FATAL, and the implementation of the inline InitializePZLOG(string) function using log4cxx library or not. It must to be called out of "#ifdef LOG4CXX" scope.
This material implements the weak statement of the three-dimensional compressible euler equations...
clarg::argBool bc("-bc", "binary checkpoints", false)
static REAL Pressure(TPZVec< STATE > &U, double gamma)
Returns the pressure value.
virtual void Solution(TPZVec< STATE > &Sol, TPZFMatrix< STATE > &DSol, TPZFMatrix< REAL > &axes, int var, TPZVec< STATE > &Solout) override
Templated vector implementation.
TPZAUSMFlux fAUSMFlux
Convective flux object.
virtual int NSolutionVariables(int var) override
Returns the number of variables associated with the variable indexed by var.
BCType
Type of boundary condition.
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 ContributeBCInterface(TPZMaterialData &data, TPZMaterialData &dataleft, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef, TPZBndCond &bc) override
It computes a contribution to stiffness matrix and load vector at one BC integration point...
This abstract class defines the behaviour which each derived class needs to implement.
virtual int Dimension() const override
Object-based overload.
virtual void Print(std::ostream &out) override
Prints out the data associated with the material.
TPZMaterial * NewMaterial() override
Creates a copy of this.
static void SetComputeFlux()
Set type of flux computing.
static STATE gGamma
Ratio between specific heat at constant pressure and the specific heat at constant volume of a polytr...
virtual int ClassId() const override
Unique identifier for serialization purposes.
Contains TPZMatrixclass which implements full matrix (using column major representation).
STATE uRes(TPZVec< STATE > &sol)
Returns .
This class defines the boundary condition for TPZMaterial objects.
~TPZEulerEquation()
Default destructor.
TPZGradientFlux fGradientFlux
Gradient flux object.
Contains the TPZAUSMFlux class.
STATE cSpeed(TPZVec< STATE > &sol)
Computes sound speed.
virtual int NStateVariables() const override
Object-based overload.
long double gamma(unsigned int n)
Evaluate the factorial of a integer.
TPZEulerEquation()
Default constructor.
void ComputeEulerFlux(TPZVec< STATE > &sol, TPZFMatrix< STATE > &F)
Compute Euler Flux.
static void FromConservativeToPrimitive(TPZVec< STATE > &sol, STATE gamma)
Convert from conservative to primitive variables.
static void SetComputeGradient()
virtual int VariableIndex(const std::string &name) override
Returns the variable index associated with the name.
Implements computational mesh. Computational Mesh.
virtual std::string Name() override
Returns the name of the material.
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...
Contains the TPZDiscontinuousGalerkin class which implements the interface for discontinuous Galerkin...
Implements the numerical flux for AUSM problem. (Jorge?)