Go to the documentation of this file.
26 #include "triSurface.H"
40 os <<
"# tetgen .smesh file" <<
endl
41 << ps.size() <<
" 3" <<
endl;
47 << ps[pointi].x() <<
' '
48 << ps[pointi].y() <<
' '
49 << ps[pointi].z() <<
endl;
69 patchFaceI < myPatches[patchI].
size();
76 << operator[](faceI)[0] <<
' '
77 << operator[](faceI)[1] <<
' '
78 << operator[](faceI)[2] <<
' '
79 << operator[](faceI).region()
94 << operator[](faceI)[0] <<
' '
95 << operator[](faceI)[1] <<
' '
96 << operator[](faceI)[2] <<
' '
97 << operator[](faceI).region()
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
const Field< point > & points() const
Return reference to global points.
#define forAll(list, i)
Loop across all elements in list.
Ostream & endl(Ostream &os)
Add newline and flush stream.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
label size() const
Return the number of elements in the UList.
surfacePatchList calcPatches(labelList &faceMap) const
Sort faces according to region. Returns patch list.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void size(const label)
Override size to be inconsistent with allocated storage.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void writeSMESH(const bool writeSorted, Ostream &) const
Write to Ostream in SMESH (tetgen) format.