Public Member Functions | |
TypeName ("gnuplot") | |
Runtime type information. More... | |
gnuplotSetWriter () | |
Construct null. More... | |
virtual | ~gnuplotSetWriter () |
Destructor. More... | |
virtual fileName | getFileName (const coordSet &, const wordList &) const |
Generate file name with correct extension. More... | |
virtual void | write (const coordSet &, const wordList &, const List< const Field< Type > *> &, Ostream &) const |
General entry point for writing. More... | |
virtual void | write (const bool writeTracks, const PtrList< coordSet > &, const wordList &valueSetNames, const List< List< Field< Type >>> &, Ostream &) const |
General entry point for writing of multiple coordSets. More... | |
Public Member Functions inherited from setWriter< Type > | |
TypeName ("setWriter") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, setWriter, word,(),()) | |
setWriter () | |
Construct null. More... | |
virtual | ~setWriter ()=0 |
Destructor. More... | |
virtual void | write (const coordSet &, const wordList &, const List< Field< Type >> &, Ostream &) const |
General entry point for writing. More... | |
virtual Ostream & | write (const scalar, Ostream &) const |
Write scalar as ascii. More... | |
template<class VSType > | |
Ostream & | writeVS (const VSType &, Ostream &) const |
virtual Ostream & | write (const vector &, Ostream &) const |
Write vector. Tab separated ascii. More... | |
virtual Ostream & | write (const sphericalTensor &, Ostream &) const |
Write sphericalTensor. Tab separated ascii. More... | |
virtual Ostream & | write (const symmTensor &, Ostream &) const |
Write symmTensor. Tab separated ascii. More... | |
virtual Ostream & | write (const tensor &, Ostream &) const |
Write tensor. Tab separated ascii. More... | |
template<class VSType > | |
Foam::Ostream & | writeVS (const VSType &value, Ostream &os) const |
Additional Inherited Members | |
Static Public Member Functions inherited from setWriter< Type > | |
static autoPtr< setWriter > | New (const word &writeFormat) |
Return a reference to the selected setWriter. More... | |
Protected Member Functions inherited from setWriter< Type > | |
fileName | getBaseName (const coordSet &, const wordList &) const |
Generates filename from coordSet and sampled fields. More... | |
void | writeCoord (const coordSet &, const label sampleI, Ostream &) const |
void | writeTable (const coordSet &, const List< Type > &, Ostream &) const |
Writes single-column ascii write. Column 1 is coordSet coordinate,. More... | |
void | writeTable (const coordSet &, const List< const List< Type > *> &, Ostream &os) const |
Writes multi-column ascii write. Column 1 is coordSet coordinate,. More... | |
virtual void | writeSeparator (Ostream &os) const |
Writes a separator. Used by write functions. More... | |
Definition at line 48 of file gnuplotSetWriter.H.
gnuplotSetWriter | ( | ) |
Construct null.
Definition at line 36 of file gnuplotSetWriter.C.
|
virtual |
Destructor.
Definition at line 44 of file gnuplotSetWriter.C.
References gnuplotSetWriter< Type >::getFileName().
TypeName | ( | "gnuplot" | ) |
Runtime type information.
|
virtual |
Generate file name with correct extension.
Implements setWriter< Type >.
Definition at line 52 of file gnuplotSetWriter.C.
References setWriter< Type >::getBaseName(), and gnuplotSetWriter< Type >::write().
Referenced by gnuplotSetWriter< Type >::~gnuplotSetWriter().
|
virtual |
General entry point for writing.
The data is organised in a set of point with one or more values per point
Implements setWriter< Type >.
Definition at line 63 of file gnuplotSetWriter.C.
References forAll, coordSet::name(), Foam::nl, and setWriter< Type >::writeTable().
Referenced by gnuplotSetWriter< Type >::getFileName().
|
virtual |
General entry point for writing of multiple coordSets.
Each coordSet (track) has same data variables. The data is per variable, per track, per point of track. If writeTracks adds connecting lines (wherever applicable)
Implements setWriter< Type >.
Definition at line 96 of file gnuplotSetWriter.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::nl, UPtrList< T >::size(), List< T >::size(), and setWriter< Type >::writeTable().