Go to the documentation of this file.
38 #ifndef CentredFitSnGradData_H
39 #define CentredFitSnGradData_H
48 class extendedCentredCellToFaceStencil;
54 template<
class Polynomial>
59 CentredFitSnGradData<Polynomial>,
60 extendedCentredCellToFaceStencil,
107 const scalar deltaCoeff,
Data for the upwinded and centred polynomial fit interpolation schemes. The linearCorrection_ determi...
const extendedCentredCellToFaceStencil & stencil() const
Return reference to the stencil.
scalar linearLimitFactor() const
Factor the fit is allowed to deviate from the base scheme.
virtual ~CentredFitSnGradData()=default
Destructor.
CentredFitSnGradData(const fvMesh &mesh, const extendedCentredCellToFaceStencil &stencil, const scalar linearLimitFactor, const scalar centralWeight)
Construct from components.
TypeName("CentredFitSnGradData")
const fvMesh & mesh() const
Mesh data needed to do the Finite Volume discretisation.
Data for centred fit snGrad schemes.
scalar centralWeight() const
Return weight for central stencil.
void calcFit()
Calculate the fit for all the faces.
const List< scalarList > & coeffs() const
Return reference to fit coefficients.