MOAB: Mesh Oriented datABase
(version 5.4.1)
|
#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 11 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 19 of file ElementSequence.hpp.
{}
moab::ElementSequence::ElementSequence | ( | ElementSequence & | split_from, |
EntityHandle | here | ||
) | [inline, protected] |
Definition at line 47 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] |
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 56 of file ElementSequence.hpp.
Referenced by moab::HigherOrderFactory::add_mid_edge_nodes(), moab::HigherOrderFactory::add_mid_face_nodes(), moab::HigherOrderFactory::add_mid_volume_nodes(), moab::Core::connect_iterate(), moab::HigherOrderFactory::convert(), moab::HigherOrderFactory::copy_nodes(), moab::WriteUtil::gather_nodes_from_elements(), moab::WriteUtil::get_element_connect(), moab::HigherOrderFactory::remove_ho_nodes(), and moab::HigherOrderFactory::zero_nodes().
{ 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 61 of file ElementSequence.hpp.
References moab::CN::HasMidEdgeNodes(), nodes_per_element(), and moab::EntitySequence::type().
Referenced by moab::HigherOrderFactory::add_mid_face_nodes(), moab::HigherOrderFactory::add_mid_volume_nodes(), moab::HigherOrderFactory::convert_sequence(), moab::HigherOrderFactory::copy_mid_edge_nodes(), moab::HigherOrderFactory::copy_mid_face_nodes(), moab::HigherOrderFactory::copy_mid_volume_nodes(), moab::HigherOrderFactory::remove_mid_face_nodes(), moab::HigherOrderFactory::remove_mid_volume_nodes(), moab::HigherOrderFactory::zero_mid_edge_nodes(), moab::HigherOrderFactory::zero_mid_face_nodes(), and moab::HigherOrderFactory::zero_mid_volume_nodes().
{ return CN::HasMidEdgeNodes( type(), nodes_per_element() ); }
bool moab::ElementSequence::has_mid_face_nodes | ( | ) | const [inline] |
Definition at line 66 of file ElementSequence.hpp.
References moab::CN::HasMidFaceNodes(), nodes_per_element(), and moab::EntitySequence::type().
Referenced by moab::HigherOrderFactory::add_mid_volume_nodes(), moab::HigherOrderFactory::convert_sequence(), moab::HigherOrderFactory::copy_mid_face_nodes(), moab::HigherOrderFactory::copy_mid_volume_nodes(), moab::HigherOrderFactory::remove_mid_volume_nodes(), moab::HigherOrderFactory::zero_mid_face_nodes(), and moab::HigherOrderFactory::zero_mid_volume_nodes().
{ return CN::HasMidFaceNodes( type(), nodes_per_element() ); }
bool moab::ElementSequence::has_mid_volume_nodes | ( | ) | const [inline] |
Definition at line 71 of file ElementSequence.hpp.
References moab::CN::HasMidRegionNodes(), nodes_per_element(), and moab::EntitySequence::type().
Referenced by moab::HigherOrderFactory::convert_sequence(), moab::HigherOrderFactory::copy_mid_volume_nodes(), and moab::HigherOrderFactory::zero_mid_volume_nodes().
{ return CN::HasMidRegionNodes( type(), nodes_per_element() ); }
unsigned int moab::ElementSequence::nodes_per_element | ( | ) | const [inline] |
Definition at line 21 of file ElementSequence.hpp.
References nodesPerElement.
Referenced by moab::HigherOrderFactory::add_mid_edge_nodes(), moab::HigherOrderFactory::add_mid_face_nodes(), moab::HigherOrderFactory::add_mid_volume_nodes(), moab::Core::connect_iterate(), moab::HigherOrderFactory::convert_sequence(), moab::HigherOrderFactory::copy_nodes(), moab::UnstructuredElemSeq::create_data_subset(), moab::WriteUtil::gather_nodes_from_elements(), moab::UnstructuredElemSeq::get_array(), moab::PolyElementSeq::get_connectivity(), moab::UnstructuredElemSeq::get_connectivity(), moab::UnstructuredElemSeq::get_const_memory_use(), moab::ReadUtil::get_element_connect(), moab::WriteUtil::get_element_connect(), has_mid_edge_nodes(), has_mid_face_nodes(), has_mid_volume_nodes(), moab::ParallelComm::pack_entities(), moab::Core::print_database(), moab::HigherOrderFactory::remove_ho_nodes(), moab::UnstructuredElemSeq::set_connectivity(), moab::HigherOrderFactory::tag_for_deletion(), moab::UnstructuredElemSeq::values_per_entity(), and moab::HigherOrderFactory::zero_nodes().
{ 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 53 of file ElementSequence.hpp.
Referenced by nodes_per_element().