Class to create the weighting-factors based on the NVD (Normalised Variable Diagram).
More...
|
| TypeName ("faNVDscheme") |
|
| faNVDscheme (const faMesh &mesh, const edgeScalarField &edgeFlux, const NVDweight &weight) |
|
| faNVDscheme (const faMesh &mesh, Istream &is) |
|
| faNVDscheme (const faMesh &mesh, const edgeScalarField &edgeFlux, Istream &is) |
|
virtual tmp< edgeScalarField > | weights (const GeometricField< Type, faPatchField, areaMesh > &) const |
|
| declareRunTimeSelectionTable (tmp, edgeInterpolationScheme, Mesh,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData)) |
|
| declareRunTimeSelectionTable (tmp, edgeInterpolationScheme, MeshFlux,(const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData),(mesh, faceFlux, schemeData)) |
|
| edgeInterpolationScheme (const faMesh &mesh) |
|
virtual | ~edgeInterpolationScheme () |
|
const faMesh & | mesh () const |
|
virtual bool | corrected () const |
|
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > | correction (const GeometricField< Type, faPatchField, areaMesh > &) const |
|
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > | interpolate (const GeometricField< Type, faPatchField, areaMesh > &) const |
|
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > | euclidianInterpolate (const GeometricField< Type, faPatchField, areaMesh > &) const |
|
tmp< GeometricField< Type, faePatchField, edgeMesh > > | interpolate (const tmp< GeometricField< Type, faPatchField, areaMesh >> &) const |
|
constexpr | refCount () noexcept |
|
int | count () const noexcept |
|
bool | unique () const noexcept |
|
void | operator++ () noexcept |
|
void | operator++ (int) noexcept |
|
void | operator-- () noexcept |
|
void | operator-- (int) noexcept |
|
template<class Type, class NVDweight>
class Foam::faNVDscheme< Type, NVDweight >
Class to create the weighting-factors based on the NVD (Normalised Variable Diagram).
The particular differencing scheme class is supplied as a template argument, the weight function of which is called by the weight function of this class for the internal edges as well as edges of coupled patches (e.g. processor-processor patches). The weight function is supplied the central-differencing weighting factor, the edge-flux, the cell and edge gradients (from which the normalised variable distribution may be created) and the cell centre distance.
This code organisation is both neat and efficient, allowing for convenient implementation of new schemes to run on parallelised cases.
- Source files
-
Definition at line 59 of file faNVDscheme.H.