Go to the documentation of this file.
38 #ifndef UpwindFitData_H
39 #define UpwindFitData_H
48 class extendedUpwindCellToFaceStencil;
54 template<
class Polynomial>
59 UpwindFitData<Polynomial>,
60 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.
void calcFit()
Calculate the fit for the all the mesh faces.
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
virtual ~UpwindFitData()
Destructor.
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.
List< scalarList > owncoeffs_
For each face of the mesh store the coefficients to multiply the.
List< scalarList > neicoeffs_
For each face of the mesh store the coefficients to multiply the.