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

Lax–Friedrichs 1st order scheme. More...

#include <centered.hpp>

Inheritance diagram for CLaxScheme< Decorator >:
[legend]

Public Member Functions

template<class... Ts>
 CLaxScheme (const CConfig &config, Ts &... args)
 Constructor, forward everything to base.
 
template<class PrimVarType , class... Ts>
void finalizeFlux (VectorDbl< nVar > &flux, MatrixDbl< nVar > &jac_i, MatrixDbl< nVar > &jac_j, const bool implicit, const Double &area, const Double &projVel, const PrimVarType &avgV, const CPair< PrimVarType > &V, const VectorDbl< nVar > &diffU, const Int &iPoint, const Int &jPoint, const CGeometry &geometry, const CEulerVariable &solution, Ts &...) const
 Updates flux and Jacobians with 1st order scalar dissipation.
 
- Public Member Functions inherited from CCenteredBase< CLaxScheme< 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 centered flux.
 

Additional Inherited Members

- Protected Member Functions inherited from CCenteredBase< CLaxScheme< Decorator >, Decorator >
 CCenteredBase (const CConfig &config, Ts &... args)
 Constructor, store some constants and forward args to base.
 
- Static Protected Member Functions inherited from CCenteredBase< CLaxScheme< Decorator >, Decorator >
static Double numNeighbor (const simd::Array< T, N > &idx, const CGeometry &geometry)
 Special treatment needed to fetch integer data.
 
static Double numNeighbor (unsigned long idx, const CGeometry &geometry)
 
- Protected Attributes inherited from CCenteredBase< CLaxScheme< Decorator >, Decorator >
const su2double gamma
 
const su2double fixFactor
 
const bool dynamicGrid
 
const su2double stretchParam
 
- Static Protected Attributes inherited from CCenteredBase< CLaxScheme< Decorator >, Decorator >
static constexpr size_t nVar
 
static constexpr size_t nPrimVar
 

Detailed Description

template<class Decorator>
class CLaxScheme< Decorator >

Lax–Friedrichs 1st order scheme.

Constructor & Destructor Documentation

◆ CLaxScheme()

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

Constructor, forward everything to base.

Member Function Documentation

◆ finalizeFlux()

template<class Decorator >
template<class PrimVarType , class... Ts>
void CLaxScheme< Decorator >::finalizeFlux ( VectorDbl< nVar > &  flux,
MatrixDbl< nVar > &  jac_i,
MatrixDbl< nVar > &  jac_j,
const bool  implicit,
const Double &  area,
const Double &  projVel,
const PrimVarType &  avgV,
const CPair< PrimVarType > &  V,
const VectorDbl< nVar > &  diffU,
const Int &  iPoint,
const Int &  jPoint,
const CGeometry &  geometry,
const CEulerVariable &  solution,
Ts &  ... 
) const
inline

Updates flux and Jacobians with 1st order scalar 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: