![]() |
|
Public Member Functions | |
ClassName ("triSurface") | |
Runtime type information. | |
triSurface () | |
Construct null. | |
triSurface (const List< labelledTri > &, const geometricSurfacePatchList &, const pointField &) | |
Construct from triangles, patches, points. | |
triSurface (const List< labelledTri > &, const pointField &) | |
Construct from triangles, points. Set patchnames to default. | |
triSurface (const triFaceList &, const pointField &) | |
Construct from triangles, points. Set region to 0 and default. | |
triSurface (const fileName &) | |
Construct from file name (uses extension to determine type). | |
triSurface (Istream &) | |
Construct from Istream. | |
triSurface (const Time &d) | |
Construct from objectRegistry. | |
triSurface (const triSurface &) | |
Construct as copy. | |
~triSurface () | |
void | clearOut () |
void | clearTopology () |
void | clearPatchMeshAddr () |
const geometricSurfacePatchList & | patches () const |
geometricSurfacePatchList & | patches () |
const labelListList & | sortedEdgeFaces () const |
Return edge-face addressing sorted (for edges with more than. | |
const labelList & | edgeOwner () const |
If 2 face neighbours: label of face where ordering of edge. | |
virtual void | movePoints (const pointField &) |
Move points. | |
void | checkTriangles (const bool verbose) |
Check/fix duplicate/degenerate triangles. | |
void | checkEdges (const bool verbose) |
Check triply (or more) connected edges. Return list of faces. | |
boolList | checkOrientation (const bool verbose) |
Check orientation (normals) and normals of neighbouring. | |
void | cleanup (const bool verbose) |
Remove non-valid triangles. | |
void | markZone (const boolList &borderEdge, const label faceI, const label currentZone, labelList &faceZone) const |
Fill faceZone with currentZone for every face reachable. | |
label | markZones (const boolList &borderEdge, labelList &faceZone) const |
(size and) fills faceZone with zone of face. Zone is area | |
void | subsetMeshMap (const boolList &include, labelList &pointMap, labelList &faceMap) const |
'Create' sub mesh, including only faces for which | |
triSurface | subsetMesh (const boolList &include, labelList &pointMap, labelList &faceMap) const |
Return new surface. Returns pointMap, faceMap from. | |
void | write (Ostream &) const |
Write to Ostream in simple FOAM format. | |
void | write (const fileName &, const bool sortByRegion=false) const |
Generic write routine. Chooses writer based on extension. | |
void | write (const Time &) const |
Write to database. | |
void | writeDX (const scalarField &, Ostream &) const |
Write to Ostream in OpenDX format. | |
void | writeDX (const vectorField &, Ostream &) const |
void | writeStats (Ostream &) const |
Write some statistics. | |
void | operator= (const triSurface &) |
Static Public Member Functions | |
fileName | triSurfInstance (const Time &) |
Name of triSurface directory to use. | |
Friends | |
Ostream & | operator<< (Ostream &, const triSurface &) |
|
Construct null.
|
|
Construct from triangles, patches, points.
|
|
Construct from triangles, points. Set patchnames to default.
|
|
Construct from triangles, points. Set region to 0 and default. patchName. |
|
Construct from file name (uses extension to determine type).
|
|
Construct from Istream.
|
|
Construct from objectRegistry.
|
|
Construct as copy.
|
|
|
|
Check triply (or more) connected edges. Return list of faces. sharing these edges. |
|
Check orientation (normals) and normals of neighbouring. triangles |
|
Check/fix duplicate/degenerate triangles.
|
|
Runtime type information.
|
|
Remove non-valid triangles.
|
|
Reimplemented from PrimitivePatch< labelledTri, List, pointField >. |
|
Reimplemented from PrimitivePatch< labelledTri, List, pointField >. |
|
Reimplemented from PrimitivePatch< labelledTri, List, pointField >. |
|
If 2 face neighbours: label of face where ordering of edge. is consistent with righthand walk. If 1 neighbour: label of only face. If >2 neighbours: undetermined. |
|
Fill faceZone with currentZone for every face reachable. from faceI without crossing edge marked in borderEdge. Note: faceZone has to be sized nFaces before calling this fun. |
|
(size and) fills faceZone with zone of face. Zone is area reachable by edge crossing without crossing borderEdge (bool for every edge in surface). Returns number of zones. |
|
Move points.
Reimplemented from PrimitivePatch< labelledTri, List, pointField >. |
|
|
|
Definition at line 303 of file triSurface.H. References Foam::boolList, Foam::label, Foam::labelList, Foam::scalarField, and Foam::vectorField. |
|
Definition at line 298 of file triSurface.H. |
|
Return edge-face addressing sorted (for edges with more than. 2 faces) according to the angle around the edge. Orientation is anticlockwise looking from edge.vec(localPoints()) |
|
Return new surface. Returns pointMap, faceMap from. subsetMeshMap |
|
'Create' sub mesh, including only faces for which boolList entry is true Sets: pointMap: from new to old localPoints faceMap: new to old faces |
|
Name of triSurface directory to use.
|
|
Write to database.
|
|
Generic write routine. Chooses writer based on extension.
|
|
Write to Ostream in simple FOAM format.
|
|
|
|
Write to Ostream in OpenDX format.
|
|
Write some statistics.
|
|
|