61 #undef TypeValueSetsConstArg
64 if (!
set.hasPointAxis())
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),
92 #undef TypeValueSetsParameter
A class for handling file names.
virtual ~vtkSetWriter()
Destructor.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define TypeValueSetsParameter(Type, nullArg)
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.
Macros for easy insertion into run-time selection tables.
List< bool > boolList
Bool container classes.
#define TypeValueSetsConstArg(Type, nullArg)
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
pointField vertices(const blockVertexList &bvl)
Holds list of sampling positions.
Pre-declare SubField and related Field type.
bool isDir(const fileName &, const bool followLink=true)
Does the name exist as a directory in the file system?
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.
FOR_ALL_FIELD_TYPES(DefineFvWallInfoType)