36 #ifndef ensightParts_H 37 #define ensightParts_H 53 ensightGeoFile&
operator<<(ensightGeoFile&,
const ensightParts&);
101 return partsList_.
size();
120 const bool useFaceData =
false,
121 const bool perNode =
false 133 const bool useFaceData =
false,
134 const bool perNode =
false void writeGeometry(ensightGeoFile &) const
Write the geometry.
void writeField(ensightFile &, const GeometricField< Type, fvPatchField, volMesh > &) const
Write generalised volume field components.
Ensight output with specialised write() for strings, integers and floats. Correctly handles binary wr...
void writeScalarField(ensightFile &, const List< scalar > &field, const bool useFaceData=false, const bool perNode=false) const
Write (volume) scalar field.
void recalculate(const polyMesh &)
Clear old information and construct anew from polyMesh.
A collection of several ensightPart elements.
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.
Template to write generalised field components.
Specialised Ensight output with extra geometry file header.
friend ensightGeoFile & operator<<(ensightGeoFile &, const ensightParts &)
Write geometry.
Generic GeometricField class.
void writeData(Ostream &) const
Write the lists.
~ensightParts()
Destructor.
label size() const
Number of parts.
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...
ensightParts(const polyMesh &)
Construct from polyMesh.
bool writeSummary(Ostream &) const
Write summary information about the objects.
label size() const
Return the number of elements in the UPtrList.
void operator=(const ensightParts &)=delete
Disallow default bitwise assignment.
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...