Flow123d
JS_before_hm-1829-g302b31a68
|
Go to the documentation of this file.
61 inline unsigned char depth()
const
103 unsigned int child(
unsigned int i_child)
const
unsigned char depth() const
return depth of leaf node
#define ASSERT(expr)
Allow use shorter versions of macro names if these names is not used with external library.
static const unsigned int child_count
count of subareas - don't change
#define ASSERT_LT(a, b)
Definition of comparative assert macro (Less Than)
unsigned int leaf_end() const
void set_depth(unsigned int depth)
void set_non_leaf(unsigned int left, unsigned int right, unsigned int axis)
unsigned int leaf_size() const
unsigned int child(unsigned int i_child) const
Return index of child node.
bool is_leaf() const
return true if node is leaf
void set_leaf(unsigned int begin, unsigned int end, double bound, unsigned int depth)
static const unsigned char dimension
count of dimensions
unsigned int leaf_begin() const
unsigned int axis() const
return axes (coordination of splitting) of inner node
unsigned int child_[child_count]
child nodes indexes