51#ifndef triSurfaceTools_H
52#define triSurfaceTools_H
76class polyBoundaryMesh;
81template<
class Face>
class MeshedSurface;
99 static void calcRefineStatus
105 static void greenRefine
122 static scalar faceCosAngle
130 static void protectNeighbours
146 static label vertexUsesFace
161 static void getMergedEdges
173 static scalar edgeCosAngle
189 static scalar collapseMinCosAngle
200 bool collapseCreatesFold
231 const label excludeEdgeI,
232 const label excludePointi,
233 const point& triPoint,
234 const plane& cutPlane,
240 static void snapToEnd
260 const label excludeEdgeI,
261 const label excludePointi,
263 const plane& cutPlane
437 const scalar mergeTol
446 const label nearestFacei,
447 const point& nearestPt
464 const point& nearestPoint,
475 const label nearestFacei
489 const bool verbose =
false
498 const bool verbose =
false
510 const bool verbose =
false
584 const word& basename,
595 const word& basename,
597 const scalar internalAngleTolerance = 45,
598 const scalar externalAngleTolerance = 10
608 const scalar searchDistance
615 const word& basename,
618 const scalar searchDistance
629 const bool verbose =
true
637 const bool verbose =
true
648 const point& trianglePoint
673 const plane& cutPlane
685 const plane& cutPlane,
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
A 1D vector of objects of type <T> with a fixed length <N>.
Minimal example by using system/controlDict.functions:
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A HashTable to objects of type <T> with a label key.
A surface geometry mesh with zone information, not to be confused with the similarly named surfaceMes...
An ordered pair of two objects of type <T> with first() and second() elements.
A list of faces which address into the list of points.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A bounding box defined in terms of min/max extrema points.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
A class for handling file names.
Geometric class that creates a 3D plane and can return the intersection point between a line and the ...
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
Contains information about location on a triSurface.
A class for managing temporary objects.
A triangular face using a FixedList of labels corresponding to mesh vertices.
Triangulated surface description with patch information.
A triangle primitive used to calculate face normals and swept volumes.
A class for handling words, derived from Foam::string.
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))
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
PointFrompoint toPoint(const Foam::point &p)
void writeVTK(OFstream &os, const Type &value)
Forward declarations of Field<T> triad specialisation.