Go to the documentation of this file.
50 ? surfaceFormatsCore::oneZone(faceLst, word::null)
54 const bool useFaceMap = (surf.
useFaceMap() && zones.size() > 1);
60 <<
"Cannot open file for writing " << filename
72 " <IndexedFaceSet coordIndex='\n";
81 for (
label i=0; i<nLocalFaces; ++i)
83 const Face&
f = faceLst[
faceMap[faceIndex++]];
94 for (
label i=0; i<nLocalFaces; ++i)
96 const Face&
f = faceLst[faceIndex++];
110 writePoints(os, pointLst);
113 " </IndexedFaceSet>\n";
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
A class for handling file names.
bool useFaceMap() const
Use faceMap?
Base class for mesh zones.
const pointField & points() const
Return const access to the points.
static void writeHeader(Ostream &os, const word &fieldName)
A proxy for writing MeshedSurface, UnsortedMeshedSurface and surfMesh to various file formats.
const labelUList & faceMap() const
Const access to the faceMap, zero-sized when unused.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
errorManipArg< error, int > exit(error &err, const int errNo=1)
Output to file stream, using an OSstream.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A surface zone on a MeshedSurface.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
const UList< Face > & surfFaces() const
Return const access to the faces.
bool good() const
Return true if next operation might succeed.
const UList< surfZone > & surfZones() const
Const access to the surface zones.