56 return this->
getBaseName(points, valueSetNames) +
".xy";
74 columns[i] = valueSets[i];
84 const bool writeTracks,
91 if (valueSets.size() != valueSetNames.
size())
94 <<
"Number of variables:" << valueSetNames.
size() <<
endl 95 <<
"Number of valueSets:" << valueSets.size()
106 columns[i] = &valueSets[i][trackI];
109 this->
writeTable(points[trackI], columns, os);
#define forAll(list, i)
Loop across all elements in list.
fileName getBaseName(const coordSet &, const wordList &) const
Generates filename from coordSet and sampled fields.
A class for handling file names.
virtual void write(const coordSet &, const wordList &, const List< const Field< Type > *> &, Ostream &) const
General entry point for writing.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void size(const label)
Override size to be inconsistent with allocated storage.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Base class for graphics format writing. Entry points are.
Holds list of sampling positions.
Pre-declare SubField and related Field type.
void writeTable(const coordSet &, const List< Type > &, Ostream &) const
Writes single-column ascii write. Column 1 is coordSet coordinate,.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual fileName getFileName(const coordSet &, const wordList &) const
Generate file name with correct extension.
rawSetWriter()
Construct null.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
virtual ~rawSetWriter()
Destructor.