A variant of ensightFaces that holds references to contiguous points/faces with its own encapsulated write methods. The surface is assumed to have been merged prior, thus the output is serial-only. More...
Public Member Functions | |
ensightOutputSurface (const pointField &points, const faceList &faces, const string &description="surface") | |
virtual | ~ensightOutputSurface ()=default |
void | write (ensightGeoFile &os) const |
template<class Type > | |
void | writeData (ensightFile &os, const Field< Type > &fld, const bool isPointData=false) const |
template<class Type > | |
void | writeFaceData (ensightFile &os, const Field< Type > &fld) const |
template<class Type > | |
void | writePointData (ensightFile &os, const Field< Type > &fld) const |
virtual void | write (ensightGeoFile &, const polyMesh &, bool) const |
![]() | |
TypeName ("ensightFaces") | |
ensightFaces () | |
ensightFaces (const string &description) | |
virtual | ~ensightFaces ()=default |
label | size (const elemType etype) const |
labelRange | range (const elemType etype) const |
label | total () const |
label | total (const elemType etype) const |
const FixedList< label, nTypes > & | totals () const |
FixedList< label, nTypes > | sizes () const |
const labelList & | faceIds () const noexcept |
const labelUList | faceIds (const elemType etype) const |
const boolList & | flipMap () const |
bool | usesFlipMap () const |
const labelList & | faceOrder () const noexcept |
const labelUList | faceOrder (const elemType etype) const |
void | classify (const UList< face > &faces) |
void | classify (const UList< face > &faces, const labelRange &range) |
void | classify (const UList< face > &faces, const labelUList &addr, const boolList &flipMap=boolList(), const bitSet &exclude=bitSet()) |
void | clearOut () |
void | clear () |
void | reduce () |
void | sort () |
void | incrFaceIds (const label off) |
void | decrFaceIds (const label off) |
label | uniqueMeshPoints (const polyMesh &mesh, labelList &uniqueMeshPointLabels, bool parallel) const |
virtual void | writeDict (Ostream &os, const bool full=false) const |
label | size () const noexcept |
![]() | |
TypeNameNoDebug ("ensightPart") | |
ensightPart () | |
ensightPart (const string &description) | |
virtual | ~ensightPart ()=default |
label | index () const noexcept |
label & | index () noexcept |
label | identifier () const noexcept |
label & | identifier () noexcept |
bool | empty () const noexcept |
label | size () const noexcept |
const string & | name () const noexcept |
void | rename (const string &value) |
void | rename (string &&value) |
label | operator[] (const label i) const |
Additional Inherited Members | |
![]() | |
enum | elemType { TRIA3 = 0, QUAD4, NSIDED } |
![]() | |
static const char * | key (const elemType etype) |
![]() | |
static constexpr int | nTypes = 3 |
static const char * | elemNames [nTypes] |
![]() | |
const labelList & | addressing () const noexcept |
labelList & | addressing () noexcept |
void | clear () |
void | incrAddressing (const label off) |
void | decrAddressing (const label off) |
A variant of ensightFaces that holds references to contiguous points/faces with its own encapsulated write methods. The surface is assumed to have been merged prior, thus the output is serial-only.
Definition at line 54 of file ensightOutputSurface.H.
ensightOutputSurface | ( | const pointField & | points, |
const faceList & | faces, | ||
const string & | description = "surface" |
||
) |
Definition at line 27 of file ensightOutputSurface.C.
|
virtualdefault |
void write | ( | ensightGeoFile & | os | ) | const |
Definition at line 44 of file ensightOutputSurface.C.
References ensightPart::index(), ensightPart::name(), os(), ensightFaces::total(), Foam::ensightOutput::Detail::writeCoordinates(), and Foam::ensightOutput::writeFaceConnectivity().
Referenced by ensightWriter::writeCollated(), and ensightWriter::writeUncollated().
void writeData | ( | ensightFile & | os, |
const Field< Type > & | fld, | ||
const bool | isPointData = false |
||
) | const |
Definition at line 28 of file ensightOutputSurfaceTemplates.C.
Referenced by ensightWriter::writeCollated(), and ensightWriter::writeUncollated().
void writeFaceData | ( | ensightFile & | os, |
const Field< Type > & | fld | ||
) | const |
Definition at line 47 of file ensightOutputSurfaceTemplates.C.
References fld, os(), and Foam::ensightOutput::writeField().
void writePointData | ( | ensightFile & | os, |
const Field< Type > & | fld | ||
) | const |
Definition at line 64 of file ensightOutputSurfaceTemplates.C.
References coordinates(), ensightPart::empty(), fld, ensightPart::index(), os(), and Foam::ensightOutput::Detail::writeFieldComponents().
|
inlinevirtual |
Reimplemented from ensightFaces.
Definition at line 120 of file ensightOutputSurface.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.