82#ifndef Foam_surfaceWriters_starcdWriter_H
83#define Foam_surfaceWriters_starcdWriter_H
105 IOstreamOption streamOpt_;
112 fileName writeTemplate
114 const word& fieldName,
115 const Field<Type>& localValues
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
A simple container for options an IOstream can normally have.
static bool parRun(const bool on) noexcept
Set as parallel run on/off.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling file names.
Abstract definition of a meshed surface defined by faces and points.
surfaceWriter()
Default construct.
A surfaceWriter for STARCD files.
virtual ~starcdWriter()=default
Destructor.
starcdWriter()
Default construct.
declareSurfaceWriterWriteMethod(symmTensor)
declareSurfaceWriterWriteMethod(sphericalTensor)
declareSurfaceWriterWriteMethod(tensor)
declareSurfaceWriterWriteMethod(label)
declareSurfaceWriterWriteMethod(scalar)
virtual bool usesFaceIds() const
Format uses faceIds as part of its output.
virtual bool separateGeometry() const
True if the surface format supports geometry in a separate file.
TypeNameNoDebug("starcd")
Declare type-name, virtual type (without debug switch).
declareSurfaceWriterWriteMethod(vector)
virtual fileName write()
Write surface geometry to file.
A class for handling words, derived from Foam::string.
Namespace for surface writers.
List< face > faceList
List of faces.
vectorField pointField
pointField is a vectorField.
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars, i.e. SphericalTensor<scalar>.
SymmTensor< scalar > symmTensor
SymmTensor of scalars, i.e. SymmTensor<scalar>.
#define declareSurfaceWriterWriteMethod(Type)
#define TypeNameNoDebug(TypeNameString)
Declare a ClassNameNoDebug() with extra virtual type info.