Go to the documentation of this file.
41 #ifndef UpwindFitData_H
42 #define UpwindFitData_H
51 class extendedUpwindCellToFaceStencil;
57 template<
class Polynomial>
62 UpwindFitData<Polynomial>,
63 extendedUpwindCellToFaceStencil,
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.
virtual ~UpwindFitData()=default
Destructor.
const List< scalarList > & neicoeffs() const
Return reference to neighbour fit coefficients.
TypeName("UpwindFitData")
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...
bool linearCorrection() const
const fvMesh & mesh() const
Data for the quadratic fit correction interpolation scheme to be used with upwind biased stencil.
const List< scalarList > & owncoeffs() const
Return reference to owner fit coefficients.
Mesh data needed to do the Finite Volume discretisation.
scalar centralWeight() const
Return weight for central stencil.