Go to the documentation of this file.
54 template<
class FitDataType,
class ExtendedStencil,
class Polynomial>
57 public MeshObject<fvMesh, MoveableMeshObject, FitDataType>
102 const ExtendedStencil&
stencil,
117 const ExtendedStencil&
stencil()
const
Data for the upwinded and centred polynomial fit interpolation schemes. The linearCorrection_ determi...
const scalar centralWeight_
Weights for central stencil.
const ExtendedStencil & stencil() const
Return reference to the stencil.
scalar linearLimitFactor() const
Factor the fit is allowed to deviate from the base scheme.
virtual ~FitData()
Destructor.
const ExtendedStencil & stencil_
The stencil the fit is based on.
const scalar linearLimitFactor_
Factor the fit is allowed to deviate from the base scheme.
label minSize() const
Minimum stencil size.
const label dim_
Dimensionality of the geometry.
void findFaceDirs(vector &idir, vector &jdir, vector &kdir, const label faci)
Find the normal direction (i) and j and k directions for face faci.
const label minSize_
Minimum stencil size.
label dim() const
Dimensionality of the geometry.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool linearCorrection() const
const fvMesh & mesh() const
bool movePoints()
Recalculate weights (but not stencil) when the mesh moves.
Mesh data needed to do the Finite Volume discretisation.
scalar centralWeight() const
Return weight for central stencil.
FitData(const fvMesh &mesh, const ExtendedStencil &stencil, const bool linearCorrection, const scalar linearLimitFactor, const scalar centralWeight)
Construct from components.
virtual void calcFit()=0
Calculate the fit for all the faces.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const bool linearCorrection_
Is scheme correction on linear (true) or on upwind (false)
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...