Go to the documentation of this file.
47 mappers_[i].
map().distribute(interpVals);
52 i < patchStart().size()-1
54 : patchFaceLabels().size()
57 for (
label triI = patchStart()[i]; triI < end; triI++)
59 values[triI] = interpVals[patchFaceLabels()[triI]];
77 sz +=
mesh().boundaryMesh()[patchIDs()[i]].size();
113 sz += patchVals.size();
119 labelList meshFaceLabels(allPatchVals.size());
126 meshFaceLabels[sz++] = pp.
start()+i;
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
A List obtained as a section of another List.
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.
void map(const UList< Type > &mapF, const labelUList &mapAddressing)
1 to 1 map from the given field
scalarField samples(nIntervals, 0)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A patch is a list of labels that address the faces in the global face list.
Class containing processor-to-processor mapping information.
void assign(const UList< T > &)
Assign elements to those from UList.
A List with indirect addressing.
InternalField & internalField()
Return internal field.
void distribute(List< T > &fld, const bool dummyTransform=true, const int tag=UPstream::msgType()) const
Distribute data using default commsType.
label start() const
Return start label of this patch in the polyMesh face list.
tmp< Field< Type > > faceToPointInterpolate(const Field< Type > &ff) const
Interpolate from faces to points.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
Interpolation class within a primitive patch. Allows interpolation from points to faces and vice vers...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void reverseDistribute(const label constructSize, List< T > &, const bool dummyTransform=true, const int tag=UPstream::msgType()) const
Reverse distribute data using default commsType.
tmp< Field< Type > > sampleField(const GeometricField< Type, fvPatchField, volMesh > &vField) const
Sample field on faces.
Generic GeometricField class.
tmp< Field< Type > > interpolateField(const interpolation< Type > &) const
A list of faces which address into the list of points.