37Foam::sampledPatchInternalField::sampleOnFaces
42 const auto& vField = sampler.
psi();
46 auto& values = tvalues.ref();
52 mappers_[i].map().distribute(interpVals);
62 for (label triI =
patchStart()[i]; triI < end; triI++)
74Foam::sampledPatchInternalField::sampleOnPoints
118 sz += patchVals.
size();
126 for (
const label
patchId : patchIDs())
131 meshFaceLabels[sz++] = pp.
start()+i;
Generic templated field type.
A List with indirect addressing.
label size() const
The surface size is the number of faces.
Interpolation class within a primitive patch. Allows interpolation from points to faces and vice vers...
tmp< Field< Type > > faceToPointInterpolate(const Field< Type > &ff) const
Interpolate from faces to points.
A list of faces which address into the list of points.
A List obtained as a section of another List.
void size(const label n)
Older name for setAddressableSize.
label size() const noexcept
The number of elements in the list.
Abstract base class for volume field interpolation.
const GeometricField< Type, fvPatchField, volMesh > & psi() const noexcept
Return the field to be interpolated.
virtual Type interpolate(const vector &position, const label celli, const label facei=-1) const =0
Interpolate field to the given point in the given cell.
Class containing processor-to-processor mapping information.
void reverseDistribute(const label constructSize, List< T > &fld, const bool dummyTransform=true, const int tag=UPstream::msgType()) const
Reverse distribute data using default commsType.
void distribute(List< T > &fld, const bool dummyTransform=true, const int tag=UPstream::msgType()) const
Distribute data using default commsType.
static const complex max
complex (VGREAT,VGREAT)
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
A patch is a list of labels that address the faces in the global face list.
label start() const
Return start label of this patch in the polyMesh face list.
const labelList & patchStart() const
The offset into patchIndex, patchFaceLabels.
const labelList & patchFaceLabels() const
For each face, the patch local face ID.
A class for managing temporary objects.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
#define forAll(list, i)
Loop across all elements in list.
scalarField samples(nIntervals, Zero)