#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 |
Public Member Functions inherited from moab::EntitySequence | |
EntitySequence (EntityHandle start, EntityID count, SequenceData *dat) | |
virtual | ~EntitySequence () |
EntityType | type () const |
EntityHandle | start_handle () const |
EntityHandle | end_handle () const |
SequenceData * | data () const |
void | data (SequenceData *ptr) |
EntityID | size () const |
bool | using_entire_data () const |
True if SequenceData has no holes and is used only by this EntitySequence. More... | |
virtual int | values_per_entity () const |
Integer value used in finding appropriate SequenceData. More... | |
virtual EntitySequence * | split (EntityHandle here)=0 |
Split this sequence into two consecutive sequences. More... | |
virtual ErrorCode | merge (EntitySequence &other) |
Merge this sequence with another. More... | |
virtual ErrorCode | pop_back (EntityID count) |
Erase entities in range: (end_handle()-count, end_handle()]. More... | |
virtual ErrorCode | pop_front (EntityID count) |
Erase entities in range: [start_handle(), start_handle()+count) More... | |
virtual SequenceData * | create_data_subset (EntityHandle start_handle, EntityHandle end_handle) const =0 |
Create a new SequenceData that is a copy of a subset of the one referenced by this sequence. More... | |
virtual void | get_const_memory_use (unsigned long &bytes_per_entity, unsigned long &size_of_sequence) const =0 |
Get memory characteristcs that are the same for all entities. More... | |
virtual unsigned long | get_per_entity_memory_use (EntityHandle first, EntityHandle last) const |
Get portion of memory use that varies per entity. More... | |
Protected Member Functions | |
ElementSequence (ElementSequence &split_from, EntityHandle here) | |
Protected Member Functions inherited from moab::EntitySequence | |
EntitySequence (EntityHandle h) | |
EntitySequence (EntitySequence &split_from, EntityHandle here) | |
SequenceData * | create_data_subset (EntityHandle start_handle, EntityHandle end_handle, int num_sequence_arrays, unsigned const *bytes_per_element) const |
ErrorCode | prepend_entities (EntityID count) |
ErrorCode | append_entities (EntityID count) |
Private Attributes | |
unsigned | nodesPerElement |
Definition at line 11 of file ElementSequence.hpp.
|
inline |
Definition at line 14 of file ElementSequence.hpp.
|
inlinevirtual |
Definition at line 19 of file ElementSequence.hpp.
|
inlineprotected |
Definition at line 47 of file ElementSequence.hpp.
|
pure virtual |
Implemented in moab::UnstructuredElemSeq, moab::SweptElementSeq, moab::StructuredElementSeq, and moab::PolyElementSeq.
|
pure virtual |
|
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().
|
pure virtual |
Implemented in moab::UnstructuredElemSeq, moab::SweptElementSeq, and moab::StructuredElementSeq.
|
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().
|
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().
|
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().
|
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().
|
pure virtual |
Implemented in moab::UnstructuredElemSeq, moab::SweptElementSeq, and moab::StructuredElementSeq.
|
private |
Definition at line 53 of file ElementSequence.hpp.
Referenced by nodes_per_element().