37#ifndef Foam_coordSetWriters_nullWriter_H
38#define Foam_coordSetWriters_nullWriter_H
63 const word& fieldName,
74 const word& fieldName,
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
coordSetWriter(const coordSetWriter &)=delete
No copy construct.
virtual void open(const fileName &outputPath)
Open for output on specified path, using existing content (no-op).
virtual bool buffering() const
False: no internal buffering possible.
declareCoordSetWriterWriteMethod(vector)
virtual ~nullWriter()
Destructor.
declareCoordSetWriterWriteMethod(label)
TypeNameNoDebug("none")
Runtime type information (no debug).
declareCoordSetWriterWriteMethod(tensor)
declareCoordSetWriterWriteMethod(sphericalTensor)
virtual bool needsUpdate() const
False: never needs an update.
nullWriter()
Default construct.
declareCoordSetWriterWriteMethod(symmTensor)
virtual fileName path() const
Characteristic output file name - information only. Always an empty fileName.
virtual void setTracks(const UPtrList< coordSet > &)
Set tracks (no-op).
virtual bool wroteData() const
True: like a /dev/null device.
declareCoordSetWriterWriteMethod(scalar)
virtual void setCoordinates(const coordSet *)
Set coordinates (no-op).
virtual bool enabled() const
False: The null writer is never enabled, which lets the caller skip various (possibly expensive) prep...
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.
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.