Go to the documentation of this file.
59 return this->getBaseName(
points, valueSetNames) +
".csv";
79 columns[i] = valueSets[i];
82 this->writeTable(
points, columns,
os);
89 const bool writeTracks,
99 if (valueSets.size() != valueSetNames.size())
102 <<
"Number of variables:" << valueSetNames.size() <<
endl
103 <<
"Number of valueSets:" << valueSets.size()
114 columns[i] = &valueSets[i][trackI];
117 this->writeTable(tracks[trackI], columns,
os);
149 os << valueSetNames[i];
169 for (label j=0; j<Type::nComponents; j++)
175 os << valueSetNames[i] <<
"_" << j;
190 const word axisName(
points.axis());
192 if (
points.hasVectorAxis())
194 for (
auto iter = axisName.cbegin(); iter != axisName.cend(); ++iter)
virtual void write(const coordSet &, const wordList &, const List< const Field< Type > * > &, Ostream &) const
General entry point for writing.
A class for handling file names.
virtual fileName getFileName(const coordSet &, const wordList &) const
Generate file name with correct extension.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static void writeHeader(Ostream &os, const word &fieldName)
#define forAll(list, i)
Loop across all elements in list.
List< word > wordList
A List of words.
Generic templated field type.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Base class for graphics format writing. Entry points are.
Holds list of sampling positions.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
csvSetWriter()
Default construct.
virtual void writeSeparator(Ostream &) const
Writes a separator. Used by write functions.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...