115#ifndef Foam_surfaceWriters_nastranWriter_H
116#define Foam_surfaceWriters_nastranWriter_H
154 bool commonGeometry_;
180 const word& faceType,
225 const word& fieldName,
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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 surface writer for the Nastran file format - both surface mesh and fields.
virtual ~nastranWriter()=default
Destructor.
Foam::fileFormats::NASCore::loadFormat loadFormat
Output load format.
declareSurfaceWriterWriteMethod(symmTensor)
declareSurfaceWriterWriteMethod(sphericalTensor)
declareSurfaceWriterWriteMethod(tensor)
TypeNameNoDebug("nastran")
Declare type-name, virtual type (with debug switch).
declareSurfaceWriterWriteMethod(label)
Foam::fileFormats::NASCore::fieldFormat fieldFormat
File field formats.
declareSurfaceWriterWriteMethod(scalar)
virtual bool usesFaceIds() const
Format uses faceIds as part of its output.
nastranWriter()
Default construct. Default FREE format.
declareSurfaceWriterWriteMethod(vector)
virtual fileName write()
Write surface geometry to file.
A List of wordRe with additional matching capabilities.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
Namespace for surface writers.
List< label > labelList
A List of labels.
List< face > faceList
List of faces.
vector point
Point is a vector.
vectorField pointField
pointField is a vectorField.
UList< label > labelUList
A UList of labels.
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars, i.e. SphericalTensor<scalar>.
SymmTensor< scalar > symmTensor
SymmTensor of scalars, i.e. SymmTensor<scalar>.
word format(conversionProperties.get< word >("format"))
#define declareSurfaceWriterWriteMethod(Type)
#define TypeNameNoDebug(TypeNameString)
Declare a ClassNameNoDebug() with extra virtual type info.