Go to the documentation of this file.
46 <<
"interpolating field from points to cells"
57 const labelList& curCellPoints = cellPoints[cellI];
59 forAll(curCellPoints, cellPointI)
62 weights[cellI][cellPointI]*pf[curCellPoints[cellPointI]];
75 if (bm[patchI].
type() != emptyFvPatch::typeName)
78 pi[patchI].pointToFaceInterpolate
88 <<
"finished interpolating field from points to cells"
107 "pointVolInterpolate(" + pf.name() +
')',
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A field of fields is a PtrList of fields with reference counting.
A class for managing temporary objects.
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define forAll(list, i)
Loop across all elements in list.
void interpolate(const GeometricField< Type, pointPatchField, pointMesh > &, GeometricField< Type, fvPatchField, volMesh > &) const
Interpolate from pointField to volField.
#define DebugInFunction
Report an information message using Foam::Info.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
void correctBoundaryConditions()
Correct boundary field.
constexpr scalar pi(M_PI)
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
Traits class for primitives.
Generic GeometricField class.
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate(const GeometricField< Type, faPatchField, areaMesh > &tvf, const edgeScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
const Boundary & boundaryField() const
Return const-reference to the boundary field.