Go to the documentation of this file.
51 template<
class SourcePatch,
class TargetPatch>
54 public AMIMethod<SourcePatch, TargetPatch>
65 void operator=(
const directAMI&) =
delete;
70 void appendToDirectSeeds
82 void restartAdvancingFront
112 const SourcePatch& srcPatch,
113 const TargetPatch& tgtPatch,
115 const bool reverseTarget =
false,
116 const bool requireMatch =
true
142 const TargetPatch& tgtPatch,
virtual void normaliseWeights(const bool verbose, AMIInterpolation< SourcePatch, TargetPatch > &inter)
Normalise the weight. Can optionally subset addressing.
const List< scalar > & tgtMagSf() const
Return const access to target patch face areas.
virtual void setMagSf(const TargetPatch &tgtPatch, const mapDistribute &map, scalarList &srcMagSf, scalarList &tgtMagSf) const
Set the face areas for parallel runs.
Base class for Arbitrary Mesh Interface (AMI) methods.
Direct mapped Arbitrary Mesh Interface (AMI) method.
virtual ~directAMI()
Destructor.
TypeName("directAMI")
Runtime type information.
virtual void calculate(labelListList &srcAddress, scalarListList &srcWeights, labelListList &tgtAddress, scalarListList &tgtWeights, label srcFacei=-1, label tgtFacei=-1)
Update addressing and weights.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const List< scalar > & srcMagSf() const
Return const access to source patch face areas.
Class containing processor-to-processor mapping information.
Interpolation class dealing with transfer of data between two primitive patches with an arbitrary mes...