51#ifndef triSurfaceTools_H
52#define triSurfaceTools_H
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
382 static const label
NOEDGE;
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.
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 vertex labels. This can correspond to a directed graph edge or an edge on a ...
A face is a list of labels corresponding to mesh vertices.
A class for handling file names.
A triFace with additional (region) index.
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 registered IO, a reference to the associated polyMesh,...
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 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)
List< label > labelList
A List of labels.
PointFrompoint toPoint(const Foam::point &p)
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
void writeVTK(OFstream &os, const Type &value)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Field< vector > vectorField
Specialisation of Field<T> for vector.
vector point
Point is a vector.
List< bool > boolList
A List of bools.
Field< triad > triadField
Specialisation of Field<T> for triad.
triangle< point, const point & > triPointRef
A triangle using referred points.
PrimitivePatch< List< face >, const pointField > bMesh
Holder of faceList and points. (v.s. e.g. primitivePatch which references points).
vectorField pointField
pointField is a vectorField.
Forward declarations of Field<T> triad specialisation.