An implementation of ensightPart to hold volume mesh faces. More...
#include <conversion/ensightPartFaces.H>
An implementation of ensightPart to hold volume mesh faces.
Definition at line 49 of file ensightPartFaces.H.
Public Member Functions | |
TypeName ("ensightFaces") | |
Runtime type information. | |
ensightPartFaces (label partNumber, const string &partDescription) | |
Construct empty part with number and description. | |
ensightPartFaces (label partNumber, const polyMesh &, const polyPatch &) | |
Construct from polyMesh and polyPatch. | |
ensightPartFaces (const ensightPartFaces &) | |
Construct as copy. | |
ensightPartFaces (Istream &) | |
Construct from Istream. | |
virtual | ~ensightPartFaces () |
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< ensightPartFaces > | New (Istream &is) |
Construct on freestore from Istream. |
Protected Types | |
enum | elemType { tria3Elements, quad4Elements, nsidedElements } |
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 74 of file ensightPartFaces.H.
ensightPartFaces | ( | label | partNumber, |
const string & | partDescription | ||
) |
Construct empty part with number and description.
Definition at line 53 of file ensightPartFaces.C.
Referenced by ensightPartFaces::New().
ensightPartFaces | ( | label | partNumber, |
const polyMesh & | pMesh, | ||
const polyPatch & | pPatch | ||
) |
Construct from polyMesh and polyPatch.
Definition at line 65 of file ensightPartFaces.C.
References f(), polyMesh::faces(), forAll, List< T >::setSize(), List< T >::size(), and polyPatch::start().
ensightPartFaces | ( | const ensightPartFaces & | part | ) |
Construct as copy.
Definition at line 139 of file ensightPartFaces.C.
ensightPartFaces | ( | Istream & | is | ) |
Construct from Istream.
Definition at line 145 of file ensightPartFaces.C.
References ensightPart::isCellData_, and ensightPart::reconstruct().
|
virtual |
Destructor.
Definition at line 156 of file ensightPartFaces.C.
TypeName | ( | "ensightFaces" | ) |
Runtime type information.
|
inlinestatic |
Construct on freestore from Istream.
Reimplemented from ensightPart.
Definition at line 110 of file ensightPartFaces.H.
References ensightPartFaces::ensightPartFaces().
static listing of the element types
Reimplemented from ensightPart.
Definition at line 123 of file ensightPartFaces.H.
References ensightPartFaces::elemTypes_.
|
staticprotected |
Reimplemented from ensightPart.
Definition at line 82 of file ensightPartFaces.H.
Referenced by ensightPartFaces::elementTypes().