Go to the documentation of this file.
38 #ifndef faceAreaWeightAMI2D_H
39 #define faceAreaWeightAMI2D_H
128 const bool restartUncoveredSourceFace =
true
void storeInterArea(const label srcFacei, const label tgtFacei, DynamicList< label > &srcAddr, DynamicList< scalar > &srcWght, DynamicList< vector > &srcCtr, DynamicList< label > &tgtAddr, DynamicList< scalar > &tgtWght) const
Face area weighted Arbitrary Mesh Interface (AMI) method that performs the intersection of src and tg...
faceAreaWeightAMI2D(const dictionary &dict, const bool reverseTarget=false)
void writeNoMatch(const label srcFacei, const labelList &tgtFaceCandidates, const boundBox &srcFaceBb) const
TypeName("faceAreaWeightAMI2D")
bool requireMatch() const
virtual bool calculate(const primitivePatch &srcPatch, const primitivePatch &tgtPatch, const autoPtr< searchableSurface > &surfPtr=nullptr)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
labelList overlappingTgtFaces(const AABBTree< face > &tree, const List< boundBox > &tgtFaceBbs, const boundBox &srcFaceBb) const
void operator=(const faceAreaWeightAMI2D &)=delete
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
scalar lowWeightCorrection() const
virtual void write(Ostream &os) const
virtual ~faceAreaWeightAMI2D()=default
Templated tree of axis-aligned bounding boxes (AABB)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Base class for Arbitrary Mesh Interface (AMI) methods.
bool reverseTarget() const
virtual autoPtr< AMIInterpolation > clone() const
A bounding box defined in terms of min/max extrema points.
const primitivePatch & srcPatch() const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const primitivePatch & tgtPatch() const
A list of faces which address into the list of points.