Go to the documentation of this file.
36 #ifndef ensight_writeDimFields_H
37 #define ensight_writeDimFields_H
59 auto tfield = makeZeroGradientField<Type>(tdf);
63 return writeVolField<Type>
103 Info<<
' ' << fieldName;
119 #undef ensight_WRITE_FIELD
120 #define ensight_WRITE_FIELD(PrimitiveType) \
121 writeDimFields<PrimitiveType> \
135 #undef ensight_WRITE_FIELD
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Encapsulation of volume meshes for writing in ensight format. It manages cellZones,...
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
Mesh data needed to do the Finite Volume discretisation.
const IOobject * findObject(const word &objName) const
Return const pointer to the object found by name.
wordList sortedNames() const
The sorted names of the IOobjects.
label writeDimFields(ensightCase &ensCase, const ensightMesh &ensMesh, const IOobjectList &objects)
messageStream Info
Information stream (uses stdout - output is on the master only)
Mesh data needed to do the Finite Volume discretisation.
label writeAllDimFields(ensightCase &ensCase, const ensightMesh &ensMesh, const IOobjectList &objects)
List of IOobjects with searching and retrieving facilities.
Supports writing of ensight cases as well as providing common factory methods to open new files.
Read volume fields from disk and write with ensightMesh.
unsigned int count(const UList< bool > &bools, const bool val=true)
Count number of 'true' entries.
bool writeDimField(ensightCase &ensCase, const ensightMesh &ensMesh, const tmp< DimensionedField< Type, volMesh >> &tdf)
Generic GeometricField class.
const polyMesh & mesh() const
Reference to the underlying polyMesh.
#define ensight_WRITE_FIELD(PrimitiveType)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...