35 template<
class Polynomial>
39 const extendedCentredCellToFaceStencil& stencil,
40 const scalar linearLimitFactor,
41 const scalar centralWeight
46 CentredFitData<Polynomial>,
47 extendedCentredCellToFaceStencil,
51 mesh, stencil,
true, linearLimitFactor, centralWeight
53 coeffs_(mesh.nFaces())
57 Info<<
"Contructing CentredFitData<Polynomial>" <<
endl;
64 Info<<
"CentredFitData<Polynomial>::CentredFitData() :" 65 <<
"Finished constructing polynomialFit data" 73 template<
class Polynomial>
82 this->stencil().collectData(mesh.
C(), stencilPoints);
92 CentredFitData<Polynomial>,
93 extendedCentredCellToFaceStencil,
95 >::calcFit(coeffs_[facei], stencilPoints[facei], w[facei], facei);
98 const surfaceScalarField::GeometricBoundaryField& bw = w.
boundaryField();
112 CentredFitData<Polynomial>,
113 extendedCentredCellToFaceStencil,
115 >::calcFit(coeffs_[facei], stencilPoints[facei], pw[i], facei);
Data for the upwinded and centred polynomial fit interpolation schemes. The linearCorrection_ determi...
virtual bool coupled() const
Return true if this patch field is coupled.
Polynomial templated on size (order):
Mesh data needed to do the Finite Volume discretisation.
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
const fvPatch & patch() const
Return patch.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Ostream & endl(Ostream &os)
Add newline and flush stream.
const volVectorField & C() const
Return cell centres as volVectorField.
label nInternalFaces() const
CentredFitData(const fvMesh &mesh, const extendedCentredCellToFaceStencil &stencil, const scalar linearLimitFactor, const scalar centralWeight)
Construct from components.
Data for the quadratic fit correction interpolation scheme.
label start() const
Return start label of this patch in the polyMesh face list.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...