#include <sampling/xmgraceSetWriter.H>
Definition at line 49 of file xmgraceSetWriter.H.
Public Member Functions | |
TypeName ("xmgr") | |
Runtime type information.
| |
xmgraceSetWriter () | |
Construct null.
| |
virtual | ~xmgraceSetWriter () |
Destructor.
| |
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.
| |
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.
|
xmgraceSetWriter | ( | ) |
Construct null.
Definition at line 35 of file xmgraceSetWriter.C.
~xmgraceSetWriter | ( | ) | [virtual]
|
Destructor.
Definition at line 44 of file xmgraceSetWriter.C.
TypeName | ( | "xmgr" | ) |
Runtime type information.
Foam::fileName getFileName | ( | const coordSet & | , |
const wordList & | |||
) | const [virtual]
|
Generate file name with correct extension.
Implements writer< Type >.
Definition at line 52 of file xmgraceSetWriter.C.
void write | ( | const coordSet & | , |
const wordList & | , | ||
const List< const Field< Type > * > & | , | ||
Ostream & | |||
) | const [virtual]
|
General entry point for writing.
The data is organized in a set of point with one or more values per point
Implements writer< Type >.
Definition at line 63 of file xmgraceSetWriter.C.
References coordSet::axis(), forAll, coordSet::name(), and Foam::nl.
void write | ( | const bool | writeTracks, |
const PtrList< coordSet > & | , | ||
const wordList & | valueSetNames, | ||
const List< List< Field< Type > > > & | , | ||
Ostream & | |||
) | const [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 writer< Type >.
Definition at line 90 of file xmgraceSetWriter.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, Foam::nl, PtrList< T >::size(), and List< T >::size().