Data for the quadratic fit correction interpolation scheme to be used with upwind biased stencil. More...
Public Member Functions | |
TypeName ("UpwindFitData") | |
UpwindFitData (const fvMesh &mesh, const extendedUpwindCellToFaceStencil &stencil, const bool linearCorrection, const scalar linearLimitFactor, const scalar centralWeight) | |
Construct from components. More... | |
virtual | ~UpwindFitData ()=default |
Destructor. More... | |
const List< scalarList > & | owncoeffs () const |
Return reference to owner fit coefficients. More... | |
const List< scalarList > & | neicoeffs () const |
Return reference to neighbour fit coefficients. More... | |
Public Member Functions inherited from FitData< UpwindFitData< Polynomial >, extendedUpwindCellToFaceStencil, Polynomial > | |
FitData (const fvMesh &mesh, const extendedUpwindCellToFaceStencil &stencil, const bool linearCorrection, const scalar linearLimitFactor, const scalar centralWeight) | |
Construct from components. More... | |
virtual | ~FitData ()=default |
Destructor. More... | |
const extendedUpwindCellToFaceStencil & | stencil () const |
Return reference to the stencil. More... | |
scalar | linearLimitFactor () const |
Factor the fit is allowed to deviate from the base scheme. More... | |
scalar | centralWeight () const |
Return weight for central stencil. More... | |
label | dim () const |
Dimensionality of the geometry. More... | |
label | minSize () const |
Minimum stencil size. More... | |
bool | linearCorrection () const |
void | calcFit (scalarList &coeffsi, const List< point > &, const scalar wLin, const label faci) |
Calculate the fit for the specified face and set the coefficients. More... | |
virtual void | calcFit ()=0 |
Calculate the fit for all the faces. More... | |
bool | movePoints () |
Recalculate weights (but not stencil) when the mesh moves. More... | |
Public Member Functions inherited from MeshObject< Mesh, MeshObjectType, Type > | |
MeshObject (const Mesh &mesh) | |
Construct on Mesh type. More... | |
virtual | ~MeshObject ()=default |
Destructor. More... | |
const Mesh & | mesh () const |
virtual bool | writeData (Ostream &os) const |
Additional Inherited Members | |
Static Public Member Functions inherited from MeshObject< Mesh, MeshObjectType, Type > | |
template<class... Args> | |
static const Type & | New (const Mesh &mesh, Args &&... args) |
Get existing or create a new MeshObject. More... | |
static bool | Delete (const Mesh &mesh) |
Static destructor. More... | |
Protected Member Functions inherited from FitData< UpwindFitData< Polynomial >, extendedUpwindCellToFaceStencil, Polynomial > | |
void | findFaceDirs (vector &idir, vector &jdir, vector &kdir, const label faci) |
Find the normal direction (i) and j and k directions for face faci. More... | |
Protected Attributes inherited from MeshObject< Mesh, MeshObjectType, Type > | |
const Mesh & | mesh_ |
Data for the quadratic fit correction interpolation scheme to be used with upwind biased stencil.
- linearCorrection = true : fit calculated for corrected linear scheme
Definition at line 57 of file UpwindFitData.H.
UpwindFitData | ( | const fvMesh & | mesh, |
const extendedUpwindCellToFaceStencil & | stencil, | ||
const bool | linearCorrection, | ||
const scalar | linearLimitFactor, | ||
const scalar | centralWeight | ||
) |
Construct from components.
Definition at line 38 of file UpwindFitData.C.
References DebugInfo, DebugInFunction, and Foam::nl.
|
virtualdefault |
Destructor.
TypeName | ( | "UpwindFitData< Polynomial >" | ) |
|
inline |
Return reference to owner fit coefficients.
Definition at line 109 of file UpwindFitData.H.
Referenced by PureUpwindFitScheme< Type, Polynomial, Stencil >::correction(), and UpwindFitScheme< Type, Polynomial, Stencil >::correction().
|
inline |
Return reference to neighbour fit coefficients.
Definition at line 115 of file UpwindFitData.H.
Referenced by PureUpwindFitScheme< Type, Polynomial, Stencil >::correction(), and UpwindFitScheme< Type, Polynomial, Stencil >::correction().