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() +
')',
const word & name() const noexcept
Return the object name.
bool interpolate(const vector &p1, const vector &p2, const vector &o, vector &n, scalar l)
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A traits class, which is primarily used for primitives and vector-space.
A field of fields is a PtrList of fields with reference counting.
#define forAll(list, i)
Loop across all elements in list.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
const fvMesh & vMesh() const
#define DebugInFunction
Report an information message using Foam::Info.
const FieldField< Field, scalar > & volWeights() const
Return reference to weights arrays.
const objectRegistry & db() const noexcept
Return the local objectRegistry.
constexpr scalar pi(M_PI)
void interpolate(const GeometricField< Type, pointPatchField, pointMesh > &, GeometricField< Type, fvPatchField, volMesh > &) const
Interpolate from pointField to volField.
const Mesh & mesh() const noexcept
Return mesh.
const fileName & instance() const noexcept
Read access to instance path component.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
void correctBoundaryConditions()
Correct boundary field.
const fvBoundaryMesh & boundary() const noexcept
Return reference to boundary mesh.
A class for managing temporary objects.
Defines the attributes of an object for which implicit objectRegistry management is supported...
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.
const dimensionSet & dimensions() const noexcept
Return dimensions.