Go to the documentation of this file.
41 <<
"# JPlot input file" <<
nl
43 <<
"# Generated by sample on " << clock::date().c_str() <<
nl;
72 return this->getBaseName(
points, valueSetNames) +
".dat";
85 os <<
"# JPlot file" <<
nl
86 <<
"# column 1: " <<
points.name() <<
nl;
90 os <<
"# column " << i + 2 <<
": " << valueSetNames[i] <<
nl;
98 columns[i] = valueSets[i];
101 this->writeTable(
points, columns, os);
A class for handling file names.
virtual ~jplotSetWriter()
Destructor.
jplotSetWriter()
Construct null.
#define forAll(list, i)
Loop across all elements in list.
Generic templated field type.
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.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...