A collection of several ensightPart elements. More...
#include <conversion/ensightParts.H>
A collection of several ensightPart elements.
Definition at line 53 of file ensightParts.H.
Collaboration diagram for ensightParts:Public Member Functions | |
| ensightParts (const polyMesh &) | |
| Construct from polyMesh.
| |
| ensightParts (const IOobject &) | |
| Construct from IOobject.
| |
| ~ensightParts () | |
| Destructor.
| |
| void | recalculate (const polyMesh &) |
| clear old information and construct anew from polyMesh
| |
| void | renumber (const labelList &origCellId, const labelList &origFaceId) |
| renumber elements
| |
| label | size () const |
| number of parts
| |
| void | writeGeometry (ensightGeoFile &) const |
| write the geometry
| |
| bool | writeSummary (Ostream &) const |
| write summary information about the objects
| |
| void | writeData (Ostream &) const |
| write the lists
| |
| void | writeScalarField (ensightFile &, const List< scalar > &field, bool useFaceData=false) const |
| write scalar field
| |
| void | writeVectorField (ensightFile &, const List< scalar > &field0, const List< scalar > &field1, const List< scalar > &field2, bool useFaceData=false) const |
| write vector field components
| |
| template<class Type > | |
| void | writeField (ensightFile &, const GeometricField< Type, fvPatchField, volMesh > &) const |
| write generalized field components
| |
Friends | |
| ensightGeoFile & | operator<< (ensightGeoFile &, const ensightParts &) |
| ensightParts | ( | const polyMesh & | pMesh ) |
Construct from polyMesh.
Definition at line 30 of file ensightParts.C.
References ensightParts::recalculate().
| ensightParts | ( | const IOobject & | ioObj ) |
Construct from IOobject.
Definition at line 38 of file ensightParts.C.
References PtrList< T >::transfer().
| ~ensightParts | ( | ) |
Destructor.
Definition at line 49 of file ensightParts.C.
| void recalculate | ( | const polyMesh & | pMesh ) |
clear old information and construct anew from polyMesh
Definition at line 55 of file ensightParts.C.
References polyMesh::boundaryMesh(), polyMesh::cellZones(), forAll, primitiveMesh::nCells(), PtrList< T >::set(), List< T >::size(), and PtrList< T >::size().
Referenced by ensightParts::ensightParts().
| label size | ( | ) | const [inline]
|
| void writeGeometry | ( | ensightGeoFile & | os ) | const |
write the geometry
Definition at line 202 of file ensightParts.C.
References Foam::flush(), forAll, Foam::Info, and Foam::nl.
| bool writeSummary | ( | Ostream & | os ) | const |
write summary information about the objects
Definition at line 215 of file ensightParts.C.
References forAll.
| void writeData | ( | Ostream & | os ) | const |
write the lists
Definition at line 226 of file ensightParts.C.
References token::BEGIN_LIST, IOstream::check(), token::END_LIST, forAll, and Foam::nl.
| void writeScalarField | ( | ensightFile & | os, |
| const List< scalar > & | field, | ||
| bool | useFaceData = false
|
||
| ) | const |
| void writeVectorField | ( | ensightFile & | os, |
| const List< scalar > & | field0, | ||
| const List< scalar > & | field1, | ||
| const List< scalar > & | field2, | ||
| bool | useFaceData = false
|
||
| ) | const |
| void writeField | ( | ensightFile & | os, |
| const GeometricField< Type, fvPatchField, volMesh > & | field | ||
| ) | const |
write generalized field components
Definition at line 35 of file ensightPartsI.H.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), and forAll.
| ensightGeoFile& operator<< | ( | ensightGeoFile & | , |
| const ensightParts & | |||
| ) | [friend]
|