6 #ifndef TPZGRADIENTFLUX_H 7 #define TPZGRADIENTFLUX_H 50 for(
int i = 0; i < n; i++) result += A[i]*B[i];
void ApplyVanAlbadaLimiter(STATE &soll, STATE &solr, const TPZVec< STATE > &gradL, const TPZVec< STATE > &gradR, const TPZVec< STATE > &normal, const TPZVec< STATE > &dL, const TPZVec< STATE > &dR)
Templated vector implementation.
void ApplyLimiter(TPZMaterialData &data, TPZMaterialData &dataleft, TPZMaterialData &dataright)
Apply limiter.
void ComputeFlux(TPZVec< STATE > &solL, TPZVec< STATE > &solR, const TPZVec< REAL > &normal, TPZVec< STATE > &F)
Computes numerical flux.
STATE Dot(const TPZVec< STATE > &A, const TPZVec< STATE > &B)
Computes the dot product (scalar)
~TPZGradientFlux()
Destructor.
void ApplyMinModLimiter(STATE &soll, STATE &solr, const TPZVec< STATE > &gradL, const TPZVec< STATE > &gradR, const TPZVec< STATE > &normal, const TPZVec< STATE > &dL, const TPZVec< STATE > &dR)
It corrects and values.
int64_t NElements() const
Returns the number of elements of the vector.
Contains the declaration of TPZFlopCounter class and TPZCounter struct.
TPZGradientFlux()
Default constructor.