Go to the documentation of this file.
38 #ifndef partialFaceAreaWeightAMI_H
39 #define partialFaceAreaWeightAMI_H
78 const bool errorOnNotFound =
true
85 TypeName(
"partialFaceAreaWeightAMI");
virtual bool conformal() const
Flag to indicate that interpolation patches are conformal.
virtual void restartUncoveredSourceFace(List< DynamicList< label >> &srcAddr, List< DynamicList< scalar >> &srcWght, List< DynamicList< point >> &srcCtr, List< DynamicList< label >> &tgtAddr, List< DynamicList< scalar >> &tgtWght)
Attempt to re-evaluate source faces that have not been included.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
virtual autoPtr< AMIInterpolation > clone() const
Construct and return a clone.
virtual bool setNextFaces(label &startSeedi, label &srcFacei, label &tgtFacei, const bitSet &mapFlag, labelList &seedFaces, const DynamicList< label > &visitedFaces, const bool errorOnNotFound=true) const
Set the source and target seed faces.
Face area weighted Arbitrary Mesh Interface (AMI) method.
bool requireMatch() const
Access to the requireMatch flag.
virtual ~partialFaceAreaWeightAMI()=default
Destructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool calculate(const primitivePatch &srcPatch, const primitivePatch &tgtPatch, const autoPtr< searchableSurface > &surfPtr=nullptr)
Update addressing, weights and (optional) centroids.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
scalar lowWeightCorrection() const
Threshold weight below which interpolation is deactivated.
partialFaceAreaWeightAMI(const dictionary &dict, const bool reverseTarget=false)
Construct from dictionary.
bool reverseTarget() const
Access to the reverseTarget flag.
const primitivePatch & srcPatch() const
Return const access to the source patch.
Partial face area weighted Arbitrary Mesh Interface (AMI) method.
const primitivePatch & tgtPatch() const
Return const access to the target patch.
TypeName("partialFaceAreaWeightAMI")
Runtime type information.
A list of faces which address into the list of points.