![]() |
Documentation 6b54b78464
|
Base class for upwind schemes, derived classes implement details of the convective flux in a const "finalizeFlux" method. A base class implementing "viscousTerms" is accepted as template parameter. Similarly to derived, that method should update the flux and Jacobians, but whereas "finalizeFlux" is passed data prepared by CUpwindBase, "viscousTerms" takes the same input arguments as "ComputeFlux", i.e. it can fetch more data from CVariable. Derived is meant to implement small details, Base is meant to do heavy lifting. More...
#include <upwind.hpp>
Public Member Functions | |
| 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 Member Functions | |
| template<class... Ts> | |
| CUpwindBase (const CConfig &config, unsigned iMesh, Ts &... args) | |
| Constructor, store some constants and forward args to base. | |
Protected Attributes | |
| const su2double | gamma |
| const su2double | gasConst |
| const bool | finestGrid |
| const bool | dynamicGrid |
| const bool | muscl |
| const su2double | umusclKappa |
| const LIMITER | typeLimiter |
Static Protected Attributes | |
| static constexpr size_t | nVar = CCompressibleConservatives<nDim>::nVar |
| static constexpr size_t | nPrimVarGrad = nDim+4 |
| static constexpr size_t | nPrimVar = Max(Base::nPrimVar, nPrimVarGrad) |
Base class for upwind schemes, derived classes implement details of the convective flux in a const "finalizeFlux" method. A base class implementing "viscousTerms" is accepted as template parameter. Similarly to derived, that method should update the flux and Jacobians, but whereas "finalizeFlux" is passed data prepared by CUpwindBase, "viscousTerms" takes the same input arguments as "ComputeFlux", i.e. it can fetch more data from CVariable. Derived is meant to implement small details, Base is meant to do heavy lifting.
|
inlineprotected |
Constructor, store some constants and forward args to base.
|
inlinefinal |
Implementation of the base Roe flux.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticconstexprprotected |
|
staticconstexprprotected |
|
staticconstexprprotected |
|
protected |
|
protected |