Go to the documentation of this file.
38 #ifndef partialFaceAreaWeightAMI_H
39 #define partialFaceAreaWeightAMI_H
52 template<
class SourcePatch,
class TargetPatch>
71 virtual void setNextFaces
79 bool errorOnNotFound =
true
86 TypeName(
"partialFaceAreaWeightAMI");
94 const SourcePatch& srcPatch,
95 const TargetPatch& tgtPatch,
97 const bool reverseTarget =
false,
98 const bool requireMatch =
true
130 const TargetPatch& tgtPatch,
virtual bool conformal() const
Flag to indicate that interpolation patches are conformal.
virtual ~partialFaceAreaWeightAMI()
Destructor.
const List< scalar > & tgtMagSf() const
Return const access to target patch face areas.
virtual void calculate(labelListList &srcAddress, scalarListList &srcWeights, labelListList &tgtAddress, scalarListList &tgtWeights, label srcFacei=-1, label tgtFacei=-1)
Update addressing and weights.
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.
const List< scalar > & srcMagSf() const
Return const access to source patch face areas.
Class containing processor-to-processor mapping information.
Partial face area weighted Arbitrary Mesh Interface (AMI) method.
TypeName("partialFaceAreaWeightAMI")
Runtime type information.
virtual void setMagSf(const TargetPatch &tgtPatch, const mapDistribute &map, scalarList &srcMagSf, scalarList &tgtMagSf) const
Set the face areas for parallel runs.