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];
#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 fileName getFileName(const coordSet &, const wordList &) const
Generate file name with correct extension.
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.
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...
jplotSetWriter()
Construct null.
const word & name() const
virtual ~jplotSetWriter()
Destructor.