34 <<
"tsrcPatch0Ptr_ not set" 48 <<
"ttgtPatch0Ptr_ not set" 58 return (singlePatchProc_ == -1);
77 return requireMatch_ && !applyLowWeightCorrection();
83 return reverseTarget_;
89 return lowWeightCorrection_;
95 return lowWeightCorrection_ > 0;
101 return singlePatchProc_;
113 const label oldComm(comm_);
157 return srcWeightsSum_;
163 return srcWeightsSum_;
169 return srcCentroids_;
175 return srcCentroids_;
188 return srcMapPtr_.get();
230 return tgtWeightsSum_;
236 return tgtWeightsSum_;
249 return tgtMapPtr_.get();
const pointListList & srcCentroids() const
Return const access to source patch face centroids.
refPtr< primitivePatch > tsrcPatch0_
Source patch using manipulated input points.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
const scalarListList & tgtWeights() const
Return const access to target patch weights.
bool mustMatchFaces() const
Return true if requireMatch and but not lowWeightCorrection.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const mapDistribute & srcMap() const
Source map - valid only if singlePatchProc = -1 This gets source data into a form to be consumed by t...
const labelListList & tgtAddress() const
Return const access to target patch addressing.
bool requireMatch() const noexcept
Return the requireMatch flag.
label singlePatchProc() const noexcept
The processor holding all faces (both sides), or -1 if distributed.
bool distributed() const noexcept
Distributed across processors (singlePatchProc == -1)
A list of faces which address into the list of points.
const primitivePatch & tgtPatch0() const
Return the orginal tgt patch with optionally updated points.
const List< scalar > & tgtMagSf() const
Return const access to target patch face areas.
const mapDistribute * hasTgtMap() const noexcept
Pointer to the target map (if distributed). Can be checked as a bool.
const primitivePatch & srcPatch0() const
Return the orginal src patch with optionally updated points.
const scalarField & tgtWeightsSum() const
Return const access to normalisation factor of target patch weights (i.e. the sum before normalisatio...
errorManip< error > abort(error &err)
const mapDistribute * hasSrcMap() const noexcept
Pointer to the source map (if distributed). Can be checked as a bool.
const scalarListList & srcWeights() const
Return const access to source patch weights.
bool setRequireMatch(bool flag) noexcept
Set the require match flag, return the new value.
bool reverseTarget() const noexcept
Access to the reverseTarget flag.
const List< scalar > & srcMagSf() const
Return const access to source patch face areas.
const scalarField & srcWeightsSum() const
Return const access to normalisation factor of source patch weights (i.e. the sum before normalisatio...
Class containing processor-to-processor mapping information.
const mapDistribute & tgtMap() const
Target map - valid only if singlePatchProc=-1. This gets target data into a form to be consumed by sr...
scalar lowWeightCorrection() const
Threshold weight below which interpolation is deactivated.
const labelListList & srcAddress() const
Return const access to source patch addressing.
bool applyLowWeightCorrection() const
Return true if employing a 'lowWeightCorrection'.
label comm() const
Communicator to use for parallel operations.