35 #ifndef CentredFitSnGradData_H 36 #define CentredFitSnGradData_H 45 class extendedCentredCellToFaceStencil;
51 template<
class Polynomial>
56 CentredFitSnGradData<Polynomial>,
57 extendedCentredCellToFaceStencil,
105 const scalar deltaCoeff,
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const List< scalarList > & coeffs() const
Return reference to fit coefficients.
CentredFitSnGradData(const fvMesh &mesh, const extendedCentredCellToFaceStencil &stencil, const scalar linearLimitFactor, const scalar centralWeight)
Construct from components.
const extendedCentredCellToFaceStencil & stencil() const
Return reference to the stencil.
TypeName("CentredFitSnGradData")
void calcFit()
Calculate the fit for all the faces.
scalar centralWeight() const
Return weight for central stencil.
scalar linearLimitFactor() const
Factor the fit is allowed to deviate from the base scheme.
const fvMesh & mesh() const
Mesh data needed to do the Finite Volume discretisation.
Data for centred fit snGrad schemes.
Data for the upwinded and centred polynomial fit interpolation schemes. The linearCorrection_ determi...
virtual ~CentredFitSnGradData()
Destructor.