44 if (info.
index() == -1)
47 <<
"Could not find " << sample <<
" in octree." 52 const label facei = info.
index();
61 if (t == triSurfaceTools::UNKNOWN)
63 return volumeType::UNKNOWN;
65 else if (t == triSurfaceTools::INSIDE)
67 return volumeType::INSIDE;
69 else if (t == triSurfaceTools::OUTSIDE)
71 return volumeType::OUTSIDE;
77 return volumeType::UNKNOWN;
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
volumeType getVolumeType(const indexedOctree< treeDataPrimitivePatch< PatchType >> &, const point &) const
Get type (inside,outside,mixed,unknown) of point w.r.t. surface.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
This class describes the interaction of an object (often a face) and a point. It carries the info of ...
An enumeration wrapper for classification of a location as being inside/outside of a volume...
Encapsulation of data needed to search on PrimitivePatches.
label index() const noexcept
Return the hit index.
errorManip< error > abort(error &err)
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
Non-pointer based hierarchical recursive searching.