37#ifndef Foam_coordSetWriters_vtkWriter_H
38#define Foam_coordSetWriters_vtkWriter_H
87 const word& fieldName,
95 const word& fieldName,
103 const word& fieldName,
150 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 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.
coordSetWriter(const coordSetWriter &)=delete
No copy construct.
vtkWriter(const UPtrList< coordSet > &tracks, const fileName &outputPath, const dictionary &options=dictionary())
Construct from components.
virtual void beginTime(const Time &t)
Begin time step. Clears existing backend.
virtual void endTime()
End time step. Clears existing backend.
declareCoordSetWriterWriteMethod(vector)
declareCoordSetWriterWriteMethod(label)
virtual fileName write()
Write geometry to file.
TypeNameNoDebug("vtk")
Runtime type information (no debug).
vtkWriter(const coordSet &coords, const fileName &outputPath, const dictionary &options=dictionary())
Construct from components.
virtual ~vtkWriter()
Destructor. Calls close().
declareCoordSetWriterWriteMethod(tensor)
virtual fileName path() const
Expected (characteristic) output file name - information only.
declareCoordSetWriterWriteMethod(sphericalTensor)
virtual void close(bool force=false)
Close and reset, clears backend.
vtkWriter()
Default construct.
declareCoordSetWriterWriteMethod(symmTensor)
vtkWriter(const dictionary &options)
Default construct with specified options.
vtkWriter(const vtk::outputOptions &opts)
Construct with some output options.
declareCoordSetWriterWriteMethod(scalar)
virtual void beginTime(const instant &inst)
Begin time step. Clears existing backend.
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.
Write as points/lines, optionally with fields, as a vtp file or a legacy vtk file.
Encapsulated combinations of output format options. This is primarily useful when defining the output...
A class for handling words, derived from Foam::string.
#define declareCoordSetWriterWriteMethod(Type)
Namespace for handling VTK output. Contains classes and functions for writing VTK file content.
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.