47 if (separateSegments_)
63 separateSegments_(true)
70 separateSegments_(true)
77 separateSegments_(true)
101 if (!
isDir(outputDir))
108 outputDir/setName +
".xy",
119 writeValueSeparator(oss);
121 os << oss.
str().c_str();
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.
static const versionNumber currentVersion
Current version number.
streamFormat
Enumeration for the format of data in the stream.
compressionType
Enumeration for the format of data in the stream.
Output to memory buffer stream.
string str() const
Return the string.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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.
label size() const
Return the size.
const labelList & segments() const
Return the segments.
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for handling file names.
Write set in raw tabulated format.
virtual void writeSegmentSeparator(Ostream &os) const
Write a segment separator.
virtual ~rawSetWriter()
Destructor.
rawSetWriter(const IOstream::streamFormat writeFormat, const IOstream::compressionType writeCompression)
Construct given write options.
virtual void write(const fileName &outputDir, const fileName &setName, const coordSet &set, const wordList &valueSetNames #define TypeValueSetsConstArg(Type, nullArg)) const=0
Inherit base class write methods.
Base class for writing coordinate sets with data.
A class for handling words, derived from string.
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
bool mkDir(const fileName &, mode_t=0777)
Make a directory and return an error if it could not be created.
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)
labelList identityMap(const label len)
Create identity map (map[i] == i) of given length.
#define TypeValueSetsParameter(Type, nullArg)
#define TypeValueSetsConstArg(Type, nullArg)