56 const bool writePointValues
60 #undef FieldTypeValuesConstArg
63 if (!
isDir(outputDir))
70 outputDir/surfaceName +
".vtk",
82 #undef FieldTypeValuesParameter
A class for handling file names.
void size(const label)
Override size to be inconsistent with allocated storage.
virtual ~vtkSurfaceWriter()
Destructor.
virtual void write(const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces, const wordList &fieldNames, const bool writePointValues #define FieldTypeValuesConstArg(Type, nullArg)) const
Write fields for a single surface to file.
Macros for easy insertion into run-time selection tables.
List< bool > boolList
Bool container classes.
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
bool isDir(const fileName &, const bool followLink=true)
Does the name exist as a directory in the file system?
List< label > labelList
A List of labels.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
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.
bool mkDir(const fileName &, mode_t=0777)
Make a directory and return an error if it could not be created.
#define FieldTypeValuesConstArg(Type, nullArg)
FOR_ALL_FIELD_TYPES(DefineFvWallInfoType)
#define FieldTypeValuesParameter(Type, nullArg)