Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling file names.
static const fileName null
An empty fileName.
Abstract definition of a meshed surface defined by faces and points.
Base class for surface writers.
surfaceWriter()
Default construct.
bool wroteGeom_
Track if geometry has been written since the last open.
Suppresses output of geometry and fields.
virtual void open(const fileName &outputPath)
Open for output on specified path, using existing surface (no-op).
virtual bool needsUpdate() const
False: never needs an update.
nullWriter()
Default construct.
virtual void setSurface(const meshedSurf &s, bool parallel)
Change association with a surface (no-op).
virtual bool wroteData() const
True: like a /dev/null device.
virtual bool enabled() const
False: The null writer is never enabled, which lets the caller skip various (possibly expensive) prep...
virtual fileName write()
Write separate surface geometry to file.
A class for handling words, derived from Foam::string.
#define defineTypeName(Type)
Define the typeName.
Namespace for surface writers.
List< face > faceList
List of faces.
vectorField pointField
pointField is a vectorField.
Convenience macros for instantiating surfaceWriter methods.
#define defineSurfaceWriterWriteFields(ThisClass)