36 #ifndef ensightParts_H 37 #define ensightParts_H 53 ensightGeoFile&
operator<<(ensightGeoFile&,
const ensightParts&);
106 return partsList_.
size();
125 const bool useFaceData =
false,
126 const bool perNode =
false 138 const bool useFaceData =
false,
139 const bool perNode =
false Ensight output with specialized write() for strings, integers and floats. Correctly handles binary wr...
void recalculate(const polyMesh &)
Clear old information and construct anew from polyMesh.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A collection of several ensightPart elements.
Template to write generalized field components.
void writeField(ensightFile &, const GeometricField< Type, fvPatchField, volMesh > &) const
Write generalized volume field components.
void writeScalarField(ensightFile &, const List< scalar > &field, const bool useFaceData=false, const bool perNode=false) const
Write (volume) scalar field.
Specialized Ensight output with extra geometry file header.
friend ensightGeoFile & operator<<(ensightGeoFile &, const ensightParts &)
Write geometry.
Generic GeometricField class.
~ensightParts()
Destructor.
void writeGeometry(ensightGeoFile &) const
Write the geometry.
bool writeSummary(Ostream &) const
Write summary information about the objects.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void writeVectorField(ensightFile &, const List< scalar > &field0, const List< scalar > &field1, const List< scalar > &field2, const bool useFaceData=false, const bool perNode=false) const
Write (volume) vector field components.
void renumber(const labelUList &origCellId, const labelUList &origFaceId)
Renumber elements.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Ostream & operator<<(Ostream &, const ensightPart &)
Mesh consisting of general polyhedral cells.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
label size() const
Number of parts.
void writeData(Ostream &) const
Write the lists.
label size() const
Return the number of elements in the UPtrList.