Go to the documentation of this file.
40 #ifndef faceAreaWeightAMI_H
41 #define faceAreaWeightAMI_H
63 const bool restartUncoveredSourceFace_;
93 const label tgtStartFacei,
122 const bool errorOnNotFound =
true
131 const label srcFacei,
132 const label tgtFacei,
140 const label srcFacei,
141 const label tgtFacei,
142 const scalar threshold
const labelListList & srcAddress() const
virtual void write(Ostream &os) const
virtual void restartUncoveredSourceFace(List< DynamicList< label >> &srcAddr, List< DynamicList< scalar >> &srcWght, List< DynamicList< point >> &srcCtr, List< DynamicList< label >> &tgtAddr, List< DynamicList< scalar >> &tgtWght)
virtual bool processSourceFace(const label srcFacei, const label tgtStartFacei, DynamicList< label > &nbrFaces, DynamicList< label > &visitedFaces, List< DynamicList< label >> &srcAddr, List< DynamicList< scalar >> &srcWght, List< DynamicList< point >> &srcCtr, List< DynamicList< label >> &tgtAddr, List< DynamicList< scalar >> &tgtWght)
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
const pointListList & srcCentroids() const
virtual bool setNextFaces(label &startSeedi, label &srcFacei, label &tgtFacei, const bitSet &mapFlag, labelList &seedFaces, const DynamicList< label > &visitedFaces, const bool errorOnNotFound=true) const
virtual void calcInterArea(const label srcFacei, const label tgtFacei, scalar &area, vector ¢roid) const
virtual ~faceAreaWeightAMI()=default
Face area weighted Arbitrary Mesh Interface (AMI) method.
faceAreaWeightAMI(const dictionary &dict, const bool reverseTarget=false)
TypeName("faceAreaWeightAMI")
const scalarListList & tgtWeights() const
virtual bool calculate(const primitivePatch &srcPatch, const primitivePatch &tgtPatch, const autoPtr< searchableSurface > &surfPtr=nullptr)
bool requireMatch() const
virtual autoPtr< AMIInterpolation > clone() const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
const labelListList & tgtAddress() const
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
scalar lowWeightCorrection() const
void operator=(const faceAreaWeightAMI &)=delete
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
const primitivePatch & srcPatch() const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void calcAddressing(List< DynamicList< label >> &srcAddress, List< DynamicList< scalar >> &srcWeights, List< DynamicList< point >> &srcCentroids, List< DynamicList< label >> &tgtAddress, List< DynamicList< scalar >> &tgtWeights, label srcFacei, label tgtFacei)
const primitivePatch & tgtPatch() const
virtual bool overlaps(const label srcFacei, const label tgtFacei, const scalar threshold) const
A list of faces which address into the list of points.
const scalarListList & srcWeights() const