38#ifndef orientedSurface_H
39#define orientedSurface_H
50class triSurfaceSearch;
94 static void walkSurface
97 const label startFacei,
103 static void propagateOrientation
106 const point& outsidePoint,
107 const bool orientOutside,
108 const label nearestFacei,
109 const point& nearestPt,
115 static void findZoneSide
120 const point& visiblePoint,
150 const point& samplePoint,
151 const bool orientOutside =
true
176 const point& samplePoint,
177 const bool orientOutside
A subset of mesh faces organised as a primitive patch.
Given point flip all faces such that normals point in same direction.
static bool orient(triSurface &, const point &, const bool orientOutside)
Flip faces such that normals are consistent with point:
ClassName("orientedSurface")
orientedSurface()
Default construct.
sideStat
Enumeration listing whether face needs to be flipped.
Helper class to search on triSurface.
Triangulated surface description with patch information.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))