ug4
|
An Entry combines an element with the index to the next entry in a leaf-node's entry list. More...
Public Member Functions | |
Entry (const elem_t &e) | |
Public Attributes | |
elem_t | elem |
size_t | nextEntryInd |
An Entry combines an element with the index to the next entry in a leaf-node's entry list.
Note that exactly one 'Entry' object per element exists. Since 'Entry' also serves as a linked list, this means that an element can only be contained in one node at a time.
|
inline |
size_t ug::ntree< tree_dim, world_dim, TElem, TCommonData >::Entry::nextEntryInd |
index into m_entries. s_invalidIndex: no next entry. Used to create a linked list for each leaf-node.
Referenced by ug::ntree< tree_dim, world_dim, TElem, TCommonData >::calculate_center_of_mass().