Data for the quadratic fit correction interpolation scheme. More...
Public Member Functions | |
TypeName ("CentredFitData") | |
CentredFitData (const fvMesh &mesh, const extendedCentredCellToFaceStencil &stencil, const scalar linearLimitFactor, const scalar centralWeight) | |
Construct from components. More... | |
virtual | ~CentredFitData ()=default |
Destructor. More... | |
const List< scalarList > & | coeffs () const |
Return reference to fit coefficients. More... | |
Public Member Functions inherited from FitData< CentredFitData< Polynomial >, extendedCentredCellToFaceStencil, Polynomial > | |
FitData (const fvMesh &mesh, const extendedCentredCellToFaceStencil &stencil, const bool linearCorrection, const scalar linearLimitFactor, const scalar centralWeight) | |
Construct from components. More... | |
virtual | ~FitData ()=default |
Destructor. More... | |
const extendedCentredCellToFaceStencil & | 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< CentredFitData< Polynomial >, extendedCentredCellToFaceStencil, 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.
Definition at line 54 of file CentredFitData.H.
CentredFitData | ( | const fvMesh & | mesh, |
const extendedCentredCellToFaceStencil & | stencil, | ||
const scalar | linearLimitFactor, | ||
const scalar | centralWeight | ||
) |
Construct from components.
Definition at line 39 of file CentredFitData.C.
References DebugInfo, DebugInFunction, Foam::endl(), and Foam::nl.
|
virtualdefault |
Destructor.
TypeName | ( | "CentredFitData< Polynomial >" | ) |
|
inline |
Return reference to fit coefficients.
Definition at line 101 of file CentredFitData.H.
Referenced by CentredFitScheme< Type, Polynomial, Stencil >::correction().