67 <<
"Cannot write " << setName <<
" in " << typeName
68 <<
" format as it does not have a point axis"
72 if (!
isDir(outputDir))
80 outputDir/setName +
".vtk",
88 boolList(valueSetNames.size(),
true),
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
Macros for easy insertion into run-time selection tables.
Pre-declare SubField and related Field type.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Holds list of sampling positions.
bool hasPointAxis() const
Is the coordinate axis a point?
labelListList lines() const
Return a list of lines. These are lists of points which are in the.
labelList vertices() const
Return a list of isolated vertices. These are the points that are.
tmp< pointField > pointCoords() const
Get vector coordinate (axis is xyz)
A class for handling file names.
Base class for writing coordinate sets with data.
virtual void write(const fileName &outputDir, const fileName &setName, const coordSet &set, const wordList &valueSetNames #define TypeValueSetsConstArg(Type, nullArg)) const
Write a coordSet and associated data.
virtual ~vtkSetWriter()
Destructor.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void write(const fileName &file, const word &title, const bool binary, const PointField &points, const VertexList &vertices, const LineList &lines, const FaceList &faces, const wordList &fieldNames, const boolList &fieldIsPointValues, const UPtrList< const Field< label >> &fieldLabelValues #define FieldTypeValuesConstArg(Type, nullArg))
Write VTK polygonal data to a file. Takes a PtrList of fields of labels and.
errorManipArg< error, int > exit(error &err, const int errNo=1)
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
bool mkDir(const fileName &, mode_t=0777)
Make a directory and return an error if it could not be created.
List< bool > boolList
Bool container classes.
defineTypeNameAndDebug(combustionModel, 0)
bool isDir(const fileName &, const bool followLink=true)
Does the name exist as a directory in the file system?
FOR_ALL_FIELD_TYPES(makeFieldSourceTypedef)
#define TypeValueSetsParameter(Type, nullArg)
#define TypeValueSetsConstArg(Type, nullArg)