moab
|
#include <ElementSequence.hpp>
Public Member Functions | |
ElementSequence (EntityHandle start, EntityID count, unsigned int nodes_per_elem, SequenceData *dat) | |
virtual | ~ElementSequence () |
unsigned int | nodes_per_element () const |
virtual ErrorCode | get_connectivity (EntityHandle handle, std::vector< EntityHandle > &connect, bool topological=false) const =0 |
virtual ErrorCode | get_connectivity (EntityHandle handle, EntityHandle const *&connect, int &connect_length, bool topological=false, std::vector< EntityHandle > *storage=0) const =0 |
virtual ErrorCode | set_connectivity (EntityHandle handle, EntityHandle const *connect, int connect_length)=0 |
EntityHandle const * | get_connectivity_array () const |
virtual EntityHandle * | get_connectivity_array ()=0 |
bool | has_mid_edge_nodes () const |
bool | has_mid_face_nodes () const |
bool | has_mid_volume_nodes () const |
Protected Member Functions | |
ElementSequence (ElementSequence &split_from, EntityHandle here) | |
Private Attributes | |
unsigned | nodesPerElement |
Definition at line 10 of file ElementSequence.hpp.
moab::ElementSequence::ElementSequence | ( | EntityHandle | start, |
EntityID | count, | ||
unsigned int | nodes_per_elem, | ||
SequenceData * | dat | ||
) | [inline] |
Definition at line 14 of file ElementSequence.hpp.
: EntitySequence( start, count, dat ), nodesPerElement(nodes_per_elem) {}
virtual moab::ElementSequence::~ElementSequence | ( | ) | [inline, virtual] |
Definition at line 22 of file ElementSequence.hpp.
{}
moab::ElementSequence::ElementSequence | ( | ElementSequence & | split_from, |
EntityHandle | here | ||
) | [inline, protected] |
Definition at line 51 of file ElementSequence.hpp.
: EntitySequence( split_from, here ), nodesPerElement( split_from.nodesPerElement ) {}
virtual ErrorCode moab::ElementSequence::get_connectivity | ( | EntityHandle | handle, |
std::vector< EntityHandle > & | connect, | ||
bool | topological = false |
||
) | const [pure virtual] |
Implemented in moab::StructuredElementSeq, moab::SweptElementSeq, moab::UnstructuredElemSeq, and moab::PolyElementSeq.
virtual ErrorCode moab::ElementSequence::get_connectivity | ( | EntityHandle | handle, |
EntityHandle const *& | connect, | ||
int & | connect_length, | ||
bool | topological = false , |
||
std::vector< EntityHandle > * | storage = 0 |
||
) | const [pure virtual] |
Implemented in moab::StructuredElementSeq, moab::SweptElementSeq, moab::UnstructuredElemSeq, and moab::PolyElementSeq.
EntityHandle const * moab::ElementSequence::get_connectivity_array | ( | ) | const [inline] |
Definition at line 62 of file ElementSequence.hpp.
{ return const_cast<ElementSequence*>(this)->get_connectivity_array(); }
virtual EntityHandle* moab::ElementSequence::get_connectivity_array | ( | ) | [pure virtual] |
Implemented in moab::StructuredElementSeq, moab::SweptElementSeq, and moab::UnstructuredElemSeq.
bool moab::ElementSequence::has_mid_edge_nodes | ( | ) | const [inline] |
Definition at line 66 of file ElementSequence.hpp.
{ return CN::HasMidEdgeNodes( type(), nodes_per_element() ); }
bool moab::ElementSequence::has_mid_face_nodes | ( | ) | const [inline] |
Definition at line 70 of file ElementSequence.hpp.
{ return CN::HasMidFaceNodes( type(), nodes_per_element() ); }
bool moab::ElementSequence::has_mid_volume_nodes | ( | ) | const [inline] |
Definition at line 74 of file ElementSequence.hpp.
{ return CN::HasMidRegionNodes( type(), nodes_per_element() ); }
unsigned int moab::ElementSequence::nodes_per_element | ( | ) | const [inline] |
Definition at line 24 of file ElementSequence.hpp.
{ return nodesPerElement; }
virtual ErrorCode moab::ElementSequence::set_connectivity | ( | EntityHandle | handle, |
EntityHandle const * | connect, | ||
int | connect_length | ||
) | [pure virtual] |
Implemented in moab::StructuredElementSeq, moab::SweptElementSeq, and moab::UnstructuredElemSeq.
unsigned moab::ElementSequence::nodesPerElement [private] |
Definition at line 58 of file ElementSequence.hpp.