moab
moab::ElementSequence Class Reference

#include <ElementSequence.hpp>

Inheritance diagram for moab::ElementSequence:
moab::EntitySequence moab::StructuredElementSeq moab::SweptElementSeq moab::UnstructuredElemSeq moab::PolyElementSeq

List of all members.

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 EntityHandleget_connectivity_array ()=0
bool has_mid_edge_nodes () const
bool has_mid_face_nodes () const
bool has_mid_volume_nodes () const

Protected Member Functions

 ElementSequence (ElementSequence &split_from, EntityHandle here)

Private Attributes

unsigned nodesPerElement

Detailed Description

Definition at line 10 of file ElementSequence.hpp.


Constructor & Destructor Documentation

moab::ElementSequence::ElementSequence ( EntityHandle  start,
EntityID  count,
unsigned int  nodes_per_elem,
SequenceData dat 
) [inline]

Definition at line 14 of file ElementSequence.hpp.

    : EntitySequence( start, count, dat ), 
      nodesPerElement(nodes_per_elem)
    {}
virtual moab::ElementSequence::~ElementSequence ( ) [inline, virtual]

Definition at line 22 of file ElementSequence.hpp.

{}
moab::ElementSequence::ElementSequence ( ElementSequence split_from,
EntityHandle  here 
) [inline, protected]

Definition at line 51 of file ElementSequence.hpp.

    : EntitySequence( split_from, here ),
      nodesPerElement( split_from.nodesPerElement )
    {}

Member Function Documentation

virtual ErrorCode moab::ElementSequence::get_connectivity ( EntityHandle  handle,
std::vector< EntityHandle > &  connect,
bool  topological = false 
) const [pure virtual]
virtual ErrorCode moab::ElementSequence::get_connectivity ( EntityHandle  handle,
EntityHandle const *&  connect,
int &  connect_length,
bool  topological = false,
std::vector< EntityHandle > *  storage = 0 
) const [pure virtual]

Definition at line 62 of file ElementSequence.hpp.

  { return const_cast<ElementSequence*>(this)->get_connectivity_array(); }

Definition at line 66 of file ElementSequence.hpp.

Definition at line 70 of file ElementSequence.hpp.

Definition at line 74 of file ElementSequence.hpp.

unsigned int moab::ElementSequence::nodes_per_element ( ) const [inline]

Definition at line 24 of file ElementSequence.hpp.

{ return nodesPerElement; }
virtual ErrorCode moab::ElementSequence::set_connectivity ( EntityHandle  handle,
EntityHandle const *  connect,
int  connect_length 
) [pure virtual]

Member Data Documentation

Definition at line 58 of file ElementSequence.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines