40 <<
"Supply either a regionName or a coupleGroup" 66 <<
"Supply either a patchName or a coupleGroup" 160 if (forceUpdate ||
AMIPtr_.empty())
bool valid() const
Is a valid patchGroup.
word samplePatch_
Patch (if in sampleMode NEARESTPATCH*)
label nPoints() const
Return number of points supporting patch faces.
vector offset_
Offset vector (uniform)
bool sameRegion() const
Cached sampleRegion != mesh.name()
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManipArg< error, int > exit(error &err, const int errNo=1)
autoPtr< AMIPatchToPatchInterpolation > AMIPtr_
Pointer to AMI interpolator.
word sampleRegion_
Region to sample.
autoPtr< mapDistribute > mapPtr_
Communication schedule:
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const polyPatch & patch_
Patch to sample.
bool sameRegion_
Same region.
const vectorField & offsets() const
Offset vector (from patch faces to destination mesh objects)
const coupleGroupIdentifier coupleGroup_
PatchGroup (if in sampleMode NEARESTPATCH*)
const polyMesh & sampleMesh() const
Get the region mesh.
void calcAMI() const
Calculate AMI interpolator.
vectorField offsets_
Offset vector (nonuniform)
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
const mapDistribute & map() const
Return reference to the parallel distribution map.
void calcMapping() const
Calculate mapping.
A class for handling words, derived from string.
const word & name() const
Return name.
errorManip< error > abort(error &err)
const polyMesh & mesh() const
Return the mesh reference.
const vector & offset() const
Offset vector (from patch faces to destination mesh objects)
const word & samplePatch() const
Patch (only if NEARESTPATCHFACE)
const word & name() const
Name of patchGroup.
Class containing processor-to-processor mapping information.
const polyPatch & samplePolyPatch() const
Get the patch on the region.
const word & sampleRegion() const
Region to sample.
sampleMode
Mesh items to sample.
Interpolation class dealing with transfer of data between two primitive patches with an arbitrary mes...
const word & coupleGroup() const
PatchGroup (only if NEARESTPATCHFACE)
const AMIPatchToPatchInterpolation & AMI(const bool forceUpdate=false) const
Return reference to the AMI interpolator.
Mesh consisting of general polyhedral cells.
label sampleSize() const
Return size of mapped mesh/patch/boundary.
const polyBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
label nInternalFaces() const
const sampleMode & mode() const
What to sample.
const word & name() const
Return name.
const sampleMode mode_
What to sample.