38 #ifndef orientedSurface_H 39 #define orientedSurface_H 50 class 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
ClassName("orientedSurface")
static bool orient(triSurface &, const point &, const bool orientOutside)
Flip faces such that normals are consistent with point:
Given point flip all faces such that normals point in same direction.
orientedSurface()
Default construct.
Helper class to search on triSurface.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
A subset of mesh faces organised as a primitive patch.
Triangulated surface description with patch information.
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))
sideStat
Enumeration listing whether face needs to be flipped.