Interface Documentation
Version: invalid
Public Types | Public Member Functions | Static Public Attributes | List of all members
flecsi::topo::ntree_node< DIM, TREE_ENTITY_TYPE, KEY > Class Template Reference
Inheritance diagram for flecsi::topo::ntree_node< DIM, TREE_ENTITY_TYPE, KEY >:
Inheritance graph
[legend]
Collaboration diagram for flecsi::topo::ntree_node< DIM, TREE_ENTITY_TYPE, KEY >:
Collaboration graph
[legend]

Public Types

enum  LOCALITY : int { LOCAL = 0, NON_LOCAL = 1, SHARED = 2 }
 
using entity_id_t = typename TREE_ENTITY_TYPE::id_t
 
using id_t = util::id_t
 
using point_t = util::point< double, dimension >
 
using key_t = KEY
 
- Public Types inherited from flecsi::topo::entity_base_
using id_t = util::id_t
 

Public Member Functions

 ntree_node (const key_t &key)
 
void set_leaf (const bool &is_leaf)
 
void set_bit_child (const char &bit_child)
 
void set_coordinates (const point_t &coordinates)
 
void set_bmin (const point_t &bmin)
 
void set_bmax (const point_t &bmax)
 
void set_mass (const double &mass)
 
void set_sub_entities (const size_t &sub_entities)
 
key_t key ()
 
uint32_t size ()
 
size_t owner ()
 
size_t sub_entities ()
 
bool requested ()
 
bool ghosts_local ()
 
LOCALITY locality ()
 
double mass ()
 
point_t coordinates ()
 
point_t bmin ()
 
point_t bmax ()
 
char bit_child ()
 
bool is_leaf ()
 
void insert (const entity_id_t &id)
 
entity_id_t * begin ()
 
entity_id_t * end ()
 
void clear ()
 
void add_bit_child (char bit)
 
bool as_child (int bit)
 
- Public Member Functions inherited from flecsi::topo::entity_base< NUM_DOMAINS >
template<size_t DOM = 0>
id_t global_id () const
 
id_t global_id (size_t domain) const
 
template<size_t DOM = 0>
size_t id () const
 
size_t id (size_t domain) const
 
template<size_t DOM = 0>
uint16_t info () const
 
template<size_t DOM = 0>
void set_global_id (const id_t &id)
 Set the id of this entity.
 

Static Public Attributes

static constexpr size_t dimension = DIM
 

Additional Inherited Members

- Static Public Member Functions inherited from flecsi::topo::entity_base< NUM_DOMAINS >
static constexpr size_t get_dim_ (size_t meshDim, size_t dim)
 
- Protected Member Functions inherited from flecsi::topo::entity_base< NUM_DOMAINS >
template<size_t DOM = 0>
void set_info (uint16_t info)
 

Member Function Documentation

◆ insert()

template<size_t DIM, class TREE_ENTITY_TYPE , class KEY >
void flecsi::topo::ntree_node< DIM, TREE_ENTITY_TYPE, KEY >::insert ( const entity_id_t &  id)
inline

Add an entity in this node entities


The documentation for this class was generated from the following file: