MOAB: Mesh Oriented datABase
(version 5.2.1)
|
00001 #ifndef POLY_ELEMENT_SEQ_HPP 00002 #define POLY_ELEMENT_SEQ_HPP 00003 00004 #include "UnstructuredElemSeq.hpp" 00005 00006 namespace moab 00007 { 00008 00009 class PolyElementSeq : public UnstructuredElemSeq 00010 { 00011 public: 00012 PolyElementSeq( EntityHandle shandle, EntityID entity_count, unsigned nodes_per_entity, SequenceData* dat ) 00013 : UnstructuredElemSeq( shandle, entity_count, nodes_per_entity, dat ) 00014 { 00015 } 00016 00017 PolyElementSeq( EntityHandle shandle, EntityID entity_count, unsigned nodes_per_entity, 00018 EntityID sequence_data_size ) 00019 : UnstructuredElemSeq( shandle, entity_count, nodes_per_entity, sequence_data_size ) 00020 { 00021 } 00022 00023 virtual ~PolyElementSeq(); 00024 00025 virtual EntitySequence* split( EntityHandle here ); 00026 00027 virtual ErrorCode get_connectivity( EntityHandle handle, std::vector< EntityHandle >& connect, 00028 bool topological = false ) const; 00029 00030 virtual ErrorCode get_connectivity( EntityHandle handle, EntityHandle const*& connect, int& connect_length, 00031 bool topological = false, std::vector< EntityHandle >* storage = 0 ) const; 00032 00033 protected: 00034 PolyElementSeq( PolyElementSeq& split_from, EntityHandle here ) : UnstructuredElemSeq( split_from, here ) {} 00035 }; 00036 00037 } // namespace moab 00038 00039 #endif