64#ifndef Foam_coordSetWriters_xmgraceWriter_H
65#define Foam_coordSetWriters_xmgraceWriter_H
77namespace coordSetWriters
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.
The IOstreamOption is 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...
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.
Base class for writing coordSet(s) and tracks with fields.
virtual bool buffering() const
True if the format uses internal buffering (eg, column output)
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)
#define TypeNameNoDebug(TypeNameString)
Declare a ClassNameNoDebug() with extra virtual type info.