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

MSW scheme with switch to SW based on a pressure sensor. More...

#include <upwind.hpp>

Inheritance diagram for CMSWScheme< Decorator >:
[legend]

Public Member Functions

template<class... Ts>
 CMSWScheme (const CConfig &config, unsigned iMesh, Ts &... args)
 Constructor, store some constants and forward args 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
 Implementation of the flux.
 
- Public Member Functions inherited from CUpwindBase< CMSWScheme< 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.
 

Protected Types

using Base = CUpwindBase< CMSWScheme< Decorator >, Decorator >
 

Protected Attributes

const su2double alpha
 
- Protected Attributes inherited from CUpwindBase< CMSWScheme< Decorator >, Decorator >
const su2double gamma
 
const su2double gasConst
 
const bool finestGrid
 
const bool dynamicGrid
 
const bool muscl
 
const su2double umusclKappa
 
const LIMITER typeLimiter
 

Additional Inherited Members

- Protected Member Functions inherited from CUpwindBase< CMSWScheme< Decorator >, Decorator >
 CUpwindBase (const CConfig &config, unsigned iMesh, Ts &... args)
 Constructor, store some constants and forward args to base.
 
- Static Protected Attributes inherited from CUpwindBase< CMSWScheme< Decorator >, Decorator >
static constexpr size_t nVar
 
static constexpr size_t nPrimVarGrad
 
static constexpr size_t nPrimVar
 

Detailed Description

template<class Decorator>
class CMSWScheme< Decorator >

MSW scheme with switch to SW based on a pressure sensor.

Member Typedef Documentation

◆ Base

template<class Decorator >
using CMSWScheme< Decorator >::Base = CUpwindBase<CMSWScheme<Decorator>, Decorator>
protected

Constructor & Destructor Documentation

◆ CMSWScheme()

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

Constructor, store some constants and forward args to base.

Member Function Documentation

◆ finalizeFlux()

template<class Decorator >
template<class PrimVarType , class ConsVarType , class... Ts>
void CMSWScheme< 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

Implementation of the flux.

Member Data Documentation

◆ alpha

template<class Decorator >
const su2double CMSWScheme< Decorator >::alpha
protected

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