34 #ifndef Foam_triangulatedPatch_H 35 #define Foam_triangulatedPatch_H 97 const scalar perturbTol
104 const word& patchName,
105 const scalar perturbTol
triangulatedPatch(const polyPatch &patch, const scalar perturbTol)
Constructors.
A class for handling words, derived from Foam::string.
bool randomLocalPoint(Random &rnd, point &result, label &facei, label &celli) const
Set a random point on the local patch.
bool randomGlobalPoint(Random &rnd, point &result, label &facei, label &celli) const
Set a global random point on the patch.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
~triangulatedPatch()=default
Destructor.
Performs a triangulation of a patch to return randomised point locations.
const dimensionedScalar c
Speed of light in a vacuum.
const std::string patch
OpenFOAM patch number as a std::string.
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())