84#ifndef Foam_surfaceWriters_vtkWriter_H
85#define Foam_surfaceWriters_vtkWriter_H
101namespace surfaceWriters
122 const bool writeNormal_;
125 autoPtr<Foam::vtk::surfaceWriter> writer_;
132 fileName writeTemplate
134 const word& fieldName,
135 const Field<Type>& localValues
151 explicit vtkWriter(
const vtk::outputOptions& opts);
185 virtual void close();
Generic templated field type.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
static bool & parRun() noexcept
Test if this a parallel run.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
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.
Abstract definition of a meshed surface defined by faces and points.
Base class for surface writers.
A surfaceWriter for VTK legacy (.vtk) or XML (.vtp) format.
virtual void endTime()
End time step. Clears existing backend.
declareSurfaceWriterWriteMethod(symmTensor)
declareSurfaceWriterWriteMethod(sphericalTensor)
virtual void beginTime(const Time &t)
Begin time step. Clears existing backend.
declareSurfaceWriterWriteMethod(tensor)
declareSurfaceWriterWriteMethod(label)
virtual void close()
Finish output, clears backend.
TypeNameNoDebug("vtk")
Declare type-name, virtual type (without debug switch)
declareSurfaceWriterWriteMethod(scalar)
vtkWriter()
Default construct.
virtual ~vtkWriter()
Destructor. Calls close()
declareSurfaceWriterWriteMethod(vector)
virtual fileName write()
Write surface geometry to 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 declareSurfaceWriterWriteMethod(Type)
#define TypeNameNoDebug(TypeNameString)
Declare a ClassNameNoDebug() with extra virtual type info.