64#ifndef Foam_coordSetWriters_xmgraceWriter_H
65#define Foam_coordSetWriters_xmgraceWriter_H
91 IOstreamOption streamOpt_;
97 autoPtr<Foam::OFstream> ofile_;
109 const word& fieldName,
117 const word& fieldName,
125 const word& fieldName,
174 virtual void close(
bool force =
false);
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
A simple container for options an IOstream can normally have.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Output to file stream as an OSstream, normally using std::ofstream for the actual output.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual bool buffering() const
True if the format uses internal buffering (eg, column output).
coordSetWriter(const coordSetWriter &)=delete
No copy construct.
Write coordSet(s) in xmgrace format.
virtual void endTime()
End time step. Clears existing backend.
virtual void beginTime(const Time &t)
Begin time step. Clears existing backend.
declareCoordSetWriterWriteMethod(vector)
declareCoordSetWriterWriteMethod(label)
declareCoordSetWriterWriteMethod(tensor)
virtual ~xmgraceWriter()
Destructor. Calls close().
declareCoordSetWriterWriteMethod(sphericalTensor)
declareCoordSetWriterWriteMethod(symmTensor)
virtual fileName path() const
Characteristic output file name - information only.
TypeNameNoDebug("xmgr")
Runtime type information (no debug).
declareCoordSetWriterWriteMethod(scalar)
virtual void close(bool force=false)
Close and reset, clears backend.
xmgraceWriter()
Default construct.
Holds list of sampling positions.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling file names.
An instant of time. Contains the time value and name. Uses Foam::Time when formatting the name.
A class for handling words, derived from Foam::string.
#define declareCoordSetWriterWriteMethod(Type)
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars, i.e. SphericalTensor<scalar>.
SymmTensor< scalar > symmTensor
SymmTensor of scalars, i.e. SymmTensor<scalar>.
#define TypeNameNoDebug(TypeNameString)
Declare a ClassNameNoDebug() with extra virtual type info.