Go to the documentation of this file.
26 #include "triSurface.H"
55 patchFaceI < myPatches[patchI].
size();
61 const point& p1 = ps[operator[](faceI)[0]];
62 const point& p2 = ps[operator[](faceI)[1]];
63 const point& p3 = ps[operator[](faceI)[2]];
77 <<
"0x" <<
hex << operator[](faceI).region() <<
dec
86 const point& p1 = ps[operator[](faceI)[0]];
87 const point& p2 = ps[operator[](faceI)[1]];
88 const point& p3 = ps[operator[](faceI)[2]];
102 <<
"0x" <<
hex << operator[](faceI).region() <<
dec
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.
IOstream & dec(IOstream &io)
Istream and Ostream manipulators taking arguments.
IOstream & hex(IOstream &io)
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 writeTRI(const bool writeSorted, Ostream &) const
Write to Ostream in TRI (AC3D) format.