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
Generic GeometricField class.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
label size() const
Return the number of elements in the UPtrList.
Ensight output with specialised write() for strings, integers and floats. Correctly handles binary wr...
Specialised Ensight output with extra geometry file header.
A collection of several ensightPart elements.
void renumber(const labelUList &origCellId, const labelUList &origFaceId)
Renumber elements.
void recalculate(const polyMesh &)
Clear old information and construct anew from polyMesh.
bool writeSummary(Ostream &) const
Write summary information about the objects.
friend ensightGeoFile & operator<<(ensightGeoFile &, const ensightParts &)
Write geometry.
void operator=(const ensightParts &)=delete
Disallow default bitwise assignment.
ensightParts(const polyMesh &)
Construct from polyMesh.
void writeScalarField(ensightFile &, const List< scalar > &field, const bool useFaceData=false, const bool perNode=false) const
Write (volume) scalar field.
void writeGeometry(ensightGeoFile &) const
Write the geometry.
label size() const
Number of parts.
~ensightParts()
Destructor.
void writeData(Ostream &) const
Write the lists.
void writeField(ensightFile &, const VolField< Type > &) const
Write generalised volume field components.
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.
Mesh consisting of general polyhedral cells.
Template to write generalised field components.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)