Go to the documentation of this file.
60 return this->getBaseName(
points, valueSetNames) +
".agr";
75 <<
"@ title \"" <<
points.name() <<
'"' <<
nl
76 <<
"@ xaxis label " <<
'"' <<
points.axis() <<
'"' <<
nl;
80 os <<
"@ s" << i <<
" legend " <<
'"'
81 << valueSetNames[i] <<
'"' <<
nl
82 <<
"@target G0.S" << i <<
nl;
84 this->writeTable(
points, *valueSets[i],
os);
94 const bool writeTracks,
95 const List<scalarField>& times,
96 const PtrList<coordSet>& tracks,
98 const List<List<Field<Type>>>& valueSets,
102 if (valueSets.size() != valueSetNames.size())
105 <<
"Number of variables:" << valueSetNames.size() <<
endl
106 <<
"Number of valueSets:" << valueSets.size()
109 if (tracks.size() > 0)
113 <<
"@ title \"" << tracks[0].name() <<
'"' <<
nl
114 <<
"@ xaxis label " <<
'"' << tracks[0].axis() <<
'"' <<
nl;
123 os <<
"@ s" << sI <<
" legend " <<
'"'
124 << valueSetNames[i] <<
"_track" << i <<
'"' <<
nl
125 <<
"@target G0.S" << sI <<
nl;
126 this->writeTable(tracks[trackI], valueSets[i][trackI],
os);
A class for handling file names.
virtual void write(const coordSet &, const wordList &, const List< const Field< Type > * > &, Ostream &) const
Ostream & endl(Ostream &os)
List< word > wordList
A List of words.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
virtual fileName getFileName(const coordSet &, const wordList &) const
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
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,...