35 template<
class Polynomial>
40 const scalar linearLimitFactor,
41 const scalar centralWeight
51 mesh, stencil, true, linearLimitFactor, centralWeight
53 coeffs_(mesh.nFaces())
64 Info<<
"Finished constructing polynomialFit data" <<
endl;
71 template<
class Polynomial>
74 const fvMesh& mesh = this->mesh();
80 this->stencil().collectData(mesh.
C(), stencilPoints);
93 >::calcFit(coeffs_[facei], stencilPoints[facei], w[facei], facei);
104 label facei = pw.patch().start();
110 CentredFitData<Polynomial>,
111 extendedCentredCellToFaceStencil,
113 >::calcFit(coeffs_[facei], stencilPoints[facei], pw[i], facei);
#define forAll(list, i)
Loop across all elements in list.
Data for the quadratic fit correction interpolation scheme.
CentredFitData(const fvMesh &mesh, const extendedCentredCellToFaceStencil &stencil, const scalar linearLimitFactor, const scalar centralWeight)
Construct from components.
Data for the upwinded and centred polynomial fit interpolation schemes. The linearCorrection_ determi...
Generic GeometricField class.
GeometricBoundaryField< Type, PatchField, GeoMesh > Boundary
Type of the boundary field.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Polynomial templated on size (order):
Mesh data needed to do the Finite Volume discretisation.
const volVectorField & C() const
Return cell centres.
label nInternalFaces() const
#define InfoInFunction
Report an information message using Foam::Info.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
fvsPatchField< scalar > fvsPatchScalarField