37#ifndef nearestFaceAMI_H
38#define nearestFaceAMI_H
74 else if (
y.second() <
x.second())
Interpolation class dealing with transfer of data between two primitive patches with an arbitrary mes...
bool reverseTarget() const
Access to the reverseTarget flag.
bool requireMatch() const
Access to the requireMatch flag.
scalar lowWeightCorrection() const
Threshold weight below which interpolation is deactivated.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of faces which address into the list of points.
A 2-tuple for storing two objects of dissimilar types. The container is similar in purpose to std::pa...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Helper class for finding nearest.
void operator()(nearestAndDist &x, const nearestAndDist &y) const
Nearest-face Arbitrary Mesh Interface (AMI) method.
virtual autoPtr< AMIInterpolation > clone() const
Construct and return a clone.
TypeName("nearestFaceAMI")
Runtime type information.
virtual ~nearestFaceAMI()=default
Destructor.
virtual bool calculate(const primitivePatch &srcPatch, const primitivePatch &tgtPatch, const autoPtr< searchableSurface > &surfPtr=nullptr)
Update addressing and weights.
Tuple2< pointIndexHit, scalar > nearestAndDist
OBJstream os(runTime.globalPath()/outputName)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.