Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
PolyElementSeq.hpp
Go to the documentation of this file.
1 #ifndef POLY_ELEMENT_SEQ_HPP
2 #define POLY_ELEMENT_SEQ_HPP
3 
5 
6 namespace moab
7 {
8 
10 {
11  public:
12  PolyElementSeq( EntityHandle shandle, EntityID entity_count, unsigned nodes_per_entity, SequenceData* dat )
13  : UnstructuredElemSeq( shandle, entity_count, nodes_per_entity, dat )
14  {
15  }
16 
18  EntityID entity_count,
19  unsigned nodes_per_entity,
20  EntityID sequence_data_size )
21  : UnstructuredElemSeq( shandle, entity_count, nodes_per_entity, sequence_data_size )
22  {
23  }
24 
25  virtual ~PolyElementSeq();
26 
27  virtual EntitySequence* split( EntityHandle here );
28 
29  virtual ErrorCode get_connectivity( EntityHandle handle,
30  std::vector< EntityHandle >& connect,
31  bool topological = false ) const;
32 
33  virtual ErrorCode get_connectivity( EntityHandle handle,
34  EntityHandle const*& connect,
35  int& connect_length,
36  bool topological = false,
37  std::vector< EntityHandle >* storage = 0 ) const;
38 
39  protected:
40  PolyElementSeq( PolyElementSeq& split_from, EntityHandle here ) : UnstructuredElemSeq( split_from, here ) {}
41 };
42 
43 } // namespace moab
44 
45 #endif