![]() |
Timothy
0.9
Tissue Modelling Framework
|
contains tree build functions More...
Go to the source code of this file.
Functions | |
void | treeBuildInitial (int depth, struct bht_node **iroots, struct bht_node *node) |
void | treeBuild () |
void | treeFree () |
Variables | |
double | tci [8][3] |
contains tree build functions
Definition in file tree.c.
void treeBuild | ( | ) |
This function builds an octree for local cells.
Definition at line 181 of file tree.c.
References bht_root, boxmax, boxmin, boxsize, cells, bht_node::center, bht_node::child, bht_node::father, bht_node::isempty, bht_node::leaf, leafs, bht_node::len, lnc, MPIrank, ni, nnodes, nnodes_init, nx, OMPthreads, bht_node::partnum, s, sdim, statOutStep, step, stopRun(), tnc, tree, treeBuildInitial(), cellData::x, cellData::y, and cellData::z.
This function builds an initial tree which is needed for OpenMP parallelization
Definition at line 145 of file tree.c.
References bht_node::center, bht_node::child, bht_node::father, bht_node::isempty, bht_node::leaf, bht_node::len, ni, nnodes_init, bht_node::partnum, sdim, tci, tnc, and tree.
void treeFree | ( | ) |