35 #ifndef mapNearestAMI_H 36 #define mapNearestAMI_H 49 template<
class SourcePatch,
class TargetPatch>
52 public AMIMethod<SourcePatch, TargetPatch>
70 const SourcePatch& srcPatch,
71 const TargetPatch& tgtPatch,
72 const label& srcFacei,
77 void setNextNearestFaces
86 label findMappedSrcFace
114 const SourcePatch& srcPatch,
115 const TargetPatch& tgtPatch,
119 const bool reverseTarget =
false,
120 const bool requireMatch =
true Nearest-mapping Arbitrary Mesh Interface (AMI) method.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual ~mapNearestAMI()
Destructor.
virtual void calculate(labelListList &srcAddress, scalarListList &srcWeights, labelListList &tgtAddress, scalarListList &tgtWeights, label srcFacei=-1, label tgtFacei=-1)
Update addressing and weights.
TypeName("mapNearestAMI")
Runtime type information.
Base class for Arbitrary Mesh Interface (AMI) methods.