34 template<
class Polynomial>
38 const extendedUpwindCellToFaceStencil& stencil,
39 const bool linearCorrection,
40 const scalar linearLimitFactor,
41 const scalar centralWeight
46 UpwindFitData<Polynomial>,
47 extendedUpwindCellToFaceStencil,
51 mesh, stencil, linearCorrection, linearLimitFactor, centralWeight
53 owncoeffs_(mesh.nFaces()),
54 neicoeffs_(mesh.nFaces())
58 Info<<
"Contructing UpwindFitData<Polynomial>" <<
endl;
65 Info<<
"UpwindFitData<Polynomial>::UpwindFitData() :" 66 <<
"Finished constructing polynomialFit data" 74 template<
class Polynomial>
80 const surfaceScalarField::GeometricBoundaryField& bw = w.
boundaryField();
87 this->stencil().collectData
89 this->stencil().ownMap(),
90 this->stencil().ownStencil(),
102 UpwindFitData<Polynomial>,
103 extendedUpwindCellToFaceStencil,
105 >::calcFit(owncoeffs_[facei], stencilPoints[facei], w[facei], facei);
129 UpwindFitData<Polynomial>,
130 extendedUpwindCellToFaceStencil,
134 owncoeffs_[facei], stencilPoints[facei], pw[i], facei
146 this->stencil().collectData
148 this->stencil().neiMap(),
149 this->stencil().neiStencil(),
161 UpwindFitData<Polynomial>,
162 extendedUpwindCellToFaceStencil,
164 >::calcFit(neicoeffs_[facei], stencilPoints[facei], w[facei], facei);
188 UpwindFitData<Polynomial>,
189 extendedUpwindCellToFaceStencil,
193 neicoeffs_[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.
UpwindFitData(const fvMesh &mesh, const extendedUpwindCellToFaceStencil &stencil, const bool linearCorrection, const scalar linearLimitFactor, const scalar centralWeight)
Construct from components.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Data for the quadratic fit correction interpolation scheme to be used with upwind biased stencil...
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
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...