Go to the documentation of this file.
39 <<
"# JPlot input file" <<
nl
41 <<
"# Generated by sample on " << clock::date().c_str() <<
nl;
70 return this->getBaseName(
points, valueSetNames) +
".dat";
83 os <<
"# JPlot file" <<
nl
84 <<
"# column 1: " <<
points.name() <<
nl;
88 os <<
"# column " << i + 2 <<
": " << valueSetNames[i] <<
nl;
96 columns[i] = valueSets[i];
99 this->writeTable(
points, columns, os);
A class for handling file names.
#define forAll(list, i)
Loop across all elements in list.
virtual ~jplotSetWriter()
Destructor.
jplotSetWriter()
Construct null.
Ostream & writeHeader(Ostream &) const
Write header.
virtual void write(const coordSet &, const wordList &, const List< const Field< Type > * > &, Ostream &) const
General entry point for writing.
Base class for graphics format writing. Entry points are.
Holds list of sampling positions.
virtual fileName getFileName(const coordSet &, const wordList &) const
Generate file name with correct extension.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...