moab
|
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, 00013 EntityID entity_count, 00014 unsigned nodes_per_entity, 00015 SequenceData* dat ) 00016 : UnstructuredElemSeq( shandle, entity_count, nodes_per_entity, dat ) 00017 {} 00018 00019 PolyElementSeq( EntityHandle shandle, 00020 EntityID entity_count, 00021 unsigned nodes_per_entity, 00022 EntityID sequence_data_size) 00023 : UnstructuredElemSeq( shandle, entity_count, nodes_per_entity, sequence_data_size ) 00024 {} 00025 00026 virtual ~PolyElementSeq(); 00027 00028 virtual EntitySequence* split( EntityHandle here ); 00029 00030 virtual ErrorCode get_connectivity( EntityHandle handle, 00031 std::vector<EntityHandle>& connect, 00032 bool topological = false ) const; 00033 00034 virtual ErrorCode get_connectivity( EntityHandle handle, 00035 EntityHandle const*& connect, 00036 int &connect_length, 00037 bool topological = false, 00038 std::vector<EntityHandle>* storage = 0 00039 ) const; 00040 00041 protected: 00042 00043 PolyElementSeq( PolyElementSeq& split_from, EntityHandle here ) 00044 : UnstructuredElemSeq( split_from, here ) 00045 {} 00046 }; 00047 00048 } // namespace moab 00049 00050 #endif