Go to the documentation of this file.
32 template<
class SourcePatch,
class TargetPatch>
40 const DynamicList<label>& visitedFaces,
41 const bool errorOnNotFound
44 faceAreaWeightAMI<SourcePatch, TargetPatch>::setNextFaces
59 template<
class SourcePatch,
class TargetPatch>
63 const SourcePatch& srcPatch,
64 const TargetPatch& tgtPatch,
66 const bool reverseTarget,
67 const bool requireMatch
83 template<
class SourcePatch,
class TargetPatch>
91 template<
class SourcePatch,
class TargetPatch>
98 template<
class SourcePatch,
class TargetPatch>
155 template<
class SourcePatch,
class TargetPatch>
158 const TargetPatch& tgtPatch,
164 srcMagSf = std::move(this->srcMagSf_);
166 scalarList newTgtMagSf(std::move(this->tgtMagSf_));
173 tgtMagSf = tgtPatch.magFaceAreas();
List< label > labelList
A List of labels.
const labelListList & subMap() const
From subsetted data back to original data.
virtual bool conformal() const
Flag to indicate that interpolation patches are conformal.
virtual ~partialFaceAreaWeightAMI()
Destructor.
List< bool > boolList
A List of bools.
virtual void calculate(labelListList &srcAddress, scalarListList &srcWeights, labelListList &tgtAddress, scalarListList &tgtWeights, label srcFacei=-1, label tgtFacei=-1)
Update addressing and weights.
#define forAll(list, i)
Loop across all elements in list.
Face area weighted 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.
Class containing processor-to-processor mapping information.
void transfer(List< T > &list)
void reverseDistribute(const label constructSize, List< T > &, const bool dummyTransform=true, const int tag=UPstream::msgType()) const
Reverse distribute data using default commsType.
A List with indirect addressing.
Partial face area weighted Arbitrary Mesh Interface (AMI) method.
virtual void setMagSf(const TargetPatch &tgtPatch, const mapDistribute &map, scalarList &srcMagSf, scalarList &tgtMagSf) const
Set the face areas for parallel runs.