Documentation 6b54b78464
Loading...
Searching...
No Matches
CRoeScheme< Decorator > Class Template Reference

Classical Roe scheme. More...

#include <upwind.hpp>

Inheritance diagram for CRoeScheme< Decorator >:
[legend]

Public Member Functions

template<class... Ts>
 CRoeScheme (const CConfig &config, Ts &... args)
 Constructor, store some constants and forward to base.
 
template<class PrimVarType , class ConsVarType , class... Ts>
void finalizeFlux (VectorDbl< nVar > &flux, MatrixDbl< nVar > &jac_i, MatrixDbl< nVar > &jac_j, const bool implicit, const Double &area, const VectorDbl< nDim > &unitNormal, const VectorDbl< nDim > &normal, const CPair< PrimVarType > &V, const CPair< ConsVarType > &U, const Int &iPoint, const Int &jPoint, const Double &nonPhysical, const CEulerVariable &solution, const CGeometry &geometry, Ts &...) const
 Updates flux and Jacobians with standard Roe dissipation.
 
- Public Member Functions inherited from CUpwindBase< CRoeScheme< Decorator >, Decorator >
void ComputeFlux (const Int iEdge, const CConfig &config, const CGeometry &geometry, const CVariable &solution_, const UpdateType updateType, const Double updateMask, CSysVector< su2double > &vector, SparseMatrixType &matrix, su2activevector *edgeMassFluxes) const final
 Implementation of the base Roe flux.
 

Additional Inherited Members

- Protected Member Functions inherited from CUpwindBase< CRoeScheme< Decorator >, Decorator >
 CUpwindBase (const CConfig &config, unsigned iMesh, Ts &... args)
 Constructor, store some constants and forward args to base.
 
- Protected Attributes inherited from CUpwindBase< CRoeScheme< Decorator >, Decorator >
const su2double gamma
 
const su2double gasConst
 
const bool finestGrid
 
const bool dynamicGrid
 
const bool muscl
 
const su2double umusclKappa
 
const LIMITER typeLimiter
 
- Static Protected Attributes inherited from CUpwindBase< CRoeScheme< Decorator >, Decorator >
static constexpr size_t nVar
 
static constexpr size_t nPrimVarGrad
 
static constexpr size_t nPrimVar
 

Detailed Description

template<class Decorator>
class CRoeScheme< Decorator >

Classical Roe scheme.

Constructor & Destructor Documentation

◆ CRoeScheme()

template<class Decorator >
template<class... Ts>
CRoeScheme< Decorator >::CRoeScheme ( const CConfig &  config,
Ts &...  args 
)
inline

Constructor, store some constants and forward to base.

Member Function Documentation

◆ finalizeFlux()

template<class Decorator >
template<class PrimVarType , class ConsVarType , class... Ts>
void CRoeScheme< Decorator >::finalizeFlux ( VectorDbl< nVar > &  flux,
MatrixDbl< nVar > &  jac_i,
MatrixDbl< nVar > &  jac_j,
const bool  implicit,
const Double &  area,
const VectorDbl< nDim > &  unitNormal,
const VectorDbl< nDim > &  normal,
const CPair< PrimVarType > &  V,
const CPair< ConsVarType > &  U,
const Int &  iPoint,
const Int &  jPoint,
const Double &  nonPhysical,
const CEulerVariable &  solution,
const CGeometry &  geometry,
Ts &  ... 
) const
inline

Updates flux and Jacobians with standard Roe dissipation.

Note
"Ts" is here just in case other schemes in the family need extra args.

The documentation for this class was generated from the following file: