An implementation of ensightPart to hold volume mesh cells. More...
#include <conversion/ensightPartCells.H>
An implementation of ensightPart to hold volume mesh cells.
Definition at line 50 of file ensightPartCells.H.
Public Member Functions | |
TypeName ("ensightCells") | |
Runtime type information. | |
ensightPartCells (label partNumber, const string &partDescription) | |
Construct empty part with number and description. | |
ensightPartCells (label partNumber, const polyMesh &) | |
Construct from polyMesh without zones. | |
ensightPartCells (label partNumber, const polyMesh &, const labelList &) | |
Construct from polyMesh and list of (non-zoned) cells. | |
ensightPartCells (label partNumber, const polyMesh &, const cellZone &) | |
Construct from polyMesh and cellZone. | |
ensightPartCells (const ensightPartCells &) | |
Construct as copy. | |
ensightPartCells (Istream &) | |
Construct from Istream. | |
virtual | ~ensightPartCells () |
Destructor. | |
virtual List< word > const & | elementTypes () const |
static listing of the element types | |
![]() | |
TypeName ("ensightPart") | |
Runtime type information. | |
ensightPart () | |
Construct null. | |
ensightPart (label partNumber, const string &partDescription) | |
Construct empty part with number and description. | |
ensightPart (label partNumber, const string &partDescription, const polyMesh &pMesh) | |
Construct empty part with number and description. | |
ensightPart (const ensightPart &) | |
Construct as copy. | |
declareRunTimeSelectionTable (autoPtr, ensightPart, istream,(Istream &is),(is)) | |
autoPtr< ensightPart > | clone () const |
Construct and return clone. | |
virtual | ~ensightPart () |
Destructor. | |
label | size () const |
number of elements in this part | |
bool | isCellData () const |
represents cell data | |
bool | isFaceData () const |
represents face data | |
label | number () const |
part number | |
const string & | name () const |
part name or description | |
label | materialId () const |
material id | |
void | name (const string &value) |
non-const access | |
void | materialId (const label value) |
label | offset () const |
offset for element ids | |
void | renumber (labelList const &) |
renumber elements | |
bool | writeSummary (Ostream &) const |
write summary information about the object | |
bool | writeData (Ostream &) const |
write reconstruction information for the object | |
void | writeGeometry (ensightGeoFile &) const |
write geometry | |
void | writeScalarField (ensightFile &, const List< scalar > &field) const |
write scalar field | |
void | writeVectorField (ensightFile &, const List< scalar > &field0, const List< scalar > &field1, const List< scalar > &field2) const |
write vector field components | |
template<class Type > | |
void | writeField (ensightFile &, const Field< Type > &) const |
write generalized field components | |
void | operator= (const ensightPart &) |
Disallow default bitwise assignment. |
Static Public Member Functions | |
static autoPtr< ensightPartCells > | New (Istream &is) |
Construct on freestore from Istream. |
Protected Types | |
enum | elemType { tetra4Elements, pyramid5Elements, penta6Elements, hexa8Elements, nfacedElements } |
addressable Ensight element types More... |
Static Protected Attributes | |
static List< word > | elemTypes_ |
Additional Inherited Members | |
![]() | |
void | reconstruct (Istream &) |
reconstruct contents from Istream | |
bool | isFieldDefined (const List< scalar > &) const |
check for fully defined fields | |
void | writeHeader (ensightFile &, bool withDescription=false) const |
write the part header | |
void | writeFieldList (ensightFile &os, const List< scalar > &field, const List< label > &idList) const |
write a scalar field for idList | |
![]() | |
label | number_ |
part number | |
string | name_ |
part name (or description) | |
labelListList | elemLists_ |
simple labelList with a name | |
label | offset_ |
start offset for elemLists_ | |
label | size_ |
number of elements in this part | |
bool | isCellData_ |
cell or face data | |
label | matId_ |
material id (numeric) | |
const polyMesh * | meshPtr_ |
mesh reference used |
|
protected |
addressable Ensight element types
Definition at line 81 of file ensightPartCells.H.
ensightPartCells | ( | label | partNumber, |
const string & | partDescription | ||
) |
Construct empty part with number and description.
Definition at line 227 of file ensightPartCells.C.
Referenced by ensightPartCells::New().
ensightPartCells | ( | label | partNumber, |
const polyMesh & | pMesh | ||
) |
Construct from polyMesh without zones.
Definition at line 237 of file ensightPartCells.C.
ensightPartCells | ( | label | partNumber, |
const polyMesh & | pMesh, | ||
const labelList & | idList | ||
) |
Construct from polyMesh and list of (non-zoned) cells.
Definition at line 249 of file ensightPartCells.C.
ensightPartCells | ( | label | partNumber, |
const polyMesh & | pMesh, | ||
const cellZone & | cZone | ||
) |
Construct from polyMesh and cellZone.
Definition at line 262 of file ensightPartCells.C.
ensightPartCells | ( | const ensightPartCells & | part | ) |
Construct as copy.
Definition at line 274 of file ensightPartCells.C.
ensightPartCells | ( | Istream & | is | ) |
Construct from Istream.
Definition at line 280 of file ensightPartCells.C.
References ensightPart::reconstruct().
|
virtual |
Destructor.
Definition at line 290 of file ensightPartCells.C.
TypeName | ( | "ensightCells" | ) |
Runtime type information.
|
inlinestatic |
Construct on freestore from Istream.
Reimplemented from ensightPart.
Definition at line 130 of file ensightPartCells.H.
References ensightPartCells::ensightPartCells().
static listing of the element types
Reimplemented from ensightPart.
Definition at line 143 of file ensightPartCells.H.
References ensightPartCells::elemTypes_.
|
staticprotected |
Reimplemented from ensightPart.
Definition at line 91 of file ensightPartCells.H.
Referenced by ensightPartCells::elementTypes().