Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
VertexSequence.cpp
Go to the documentation of this file.
1 #include "VertexSequence.hpp"
2 
3 namespace moab
4 {
5 
7 
9 {
10  return new VertexSequence( *this, here );
11 }
12 
14 {
15  const int sizes[] = { sizeof( double ), sizeof( double ), sizeof( double ) };
16  return data()->subset( start, end, sizes );
17 }
18 
20 {
21  return EntitySequence::append_entities( count );
22 }
23 
25 {
26  return EntitySequence::prepend_entities( count );
27 }
28 
29 void VertexSequence::get_const_memory_use( unsigned long& per_ent, unsigned long& seq ) const
30 {
31  per_ent = 3 * sizeof( double );
32  seq = sizeof( *this );
33 }
34 
35 } // namespace moab