38 #ifndef UpwindFitData_H
39 #define UpwindFitData_H
48 class extendedUpwindCellToFaceStencil;
54 template<
class Polynomial>
59 UpwindFitData<Polynomial>,
60 extendedUpwindCellToFaceStencil,
const Mesh & mesh() const
Data for the upwinded and centred polynomial fit interpolation schemes. The linearCorrection_ determi...
const extendedUpwindCellToFaceStencil & stencil() const
Return reference to the stencil.
scalar linearLimitFactor() const
Factor the fit is allowed to deviate from the base scheme.
bool linearCorrection() const
scalar centralWeight() const
Return weight for central stencil.
Data for the quadratic fit correction interpolation scheme to be used with upwind biased stencil.
TypeName("UpwindFitData")
virtual ~UpwindFitData()
Destructor.
const List< scalarList > & neicoeffs() const
Return reference to neighbour fit coefficients.
const List< scalarList > & owncoeffs() const
Return reference to owner fit coefficients.
UpwindFitData(const fvMesh &mesh, const extendedUpwindCellToFaceStencil &stencil, const bool linearCorrection, const scalar linearLimitFactor, const scalar centralWeight)
Construct from components.
Creates upwind stencil by shifting a centred stencil to upwind and downwind faces and optionally remo...
Mesh data needed to do the Finite Volume discretisation.