44 namespace surfaceWriters
60 caching_(
"fieldsDict")
71 collateTimes_(options.getOrDefault(
"collateTimes", true)),
72 caching_(
"fieldsDict")
74 caseOpts_.timeFormat(
"timeFormat", options);
75 caseOpts_.timePrecision(
"timePrecision", options);
89 open(surf, outputPath, parallel);
104 open(
points, faces, outputPath, parallel);
139 return writeUncollated();
154 const word& fieldName,
160 return writeCollated(fieldName, localValues);
164 return writeUncollated(fieldName, localValues);
void clear()
Clear all values.
A class for handling file names.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
ensightWriter()
Default construct.
A surfaceWriter for Ensight format.
A simple container for options an IOstream can normally have.
Macros for easy insertion into run-time selection tables.
Abstract definition of a meshed surface defined by faces and points.
virtual bool separateGeometry() const
True if the surface format supports geometry in a separate file.
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
virtual fileName write()
Write surface geometry to file.
virtual void close()
Finish output, clears output times.
A class for handling words, derived from Foam::string.
Istream and Ostream manipulators taking arguments.
virtual void close()
Finish output, performing any necessary cleanup.
Convenience macros for instantiating surfaceWriter methods.
defineTypeName(abaqusWriter)
defineSurfaceWriterWriteFields(Foam::surfaceWriters::ensightWriter)
Base class for surface writers.
addToRunTimeSelectionTable(surfaceWriter, abaqusWriter, word)