![]() |
ORB5
v4.9.4
|
Data Types | |
type | quadtree_box |
Functions/Subroutines | |
subroutine | initialise_quadtree (this_quadtree, parent, xmin, xmax, ymin, ymax, max_num_el) |
Initialize quadtree_box. More... | |
recursive subroutine | deallocate_quadtree (this_quadtree) |
Deallocates an item in the quadtree recursively. More... | |
recursive subroutine | quadtree_insert (this_quadtree, array, index) |
Inserts a new item in the quadtree. More... | |
recursive subroutine | quadtree_traversal (this_quadtree, array, sigma, do_2w) |
Apply function on all elements if at lowest level. Else go to the four children. More... | |
subroutine, public | quadtree_smoothing (part, npart, pos1min, pos1max, pos2min, pos2max, sigma, maxppc, do_2w, diagnose, diagnose_array) |
recursive subroutine | quadtree_diagnose (this_quadtree, max_depth, num_leaves) |
recursive subroutine | quadtree_traversal (this_quadtree, array, sigma) |
Apply function on all elements if at lowest level. Else go to the four children. More... | |
subroutine, public | quadtree_smoothing (part, npart, pos1min, pos1max, pos2min, pos2max, hv, maxppc) |
Variables | |
integer | pos1 = 1 |
integer | pos2 = 2 |
integer | weight1 = 3 |
integer | weight2 = 4 |
|
private |
Deallocates an item in the quadtree recursively.
[in] | this_quadtree | Quadtree which is to be deallocated |
|
private |
Initialize quadtree_box.
[in] | xmin | Minimum x coordinate of box |
[in] | xmax | Maximum x coordinate of box |
[in] | ymin | Minimum y coordinate of box |
[in] | ymax | Maximum y coordinate of box |
[in] | max_num_el | Maximum number of elements in the box |
[out] | this_quadtree | Root quadtree box with no elements inside |
|
private |
|
private |
Inserts a new item in the quadtree.
[in] | this_quadtree | Quadtree in which item is to be insterted |
[in] | array | Array containing elements to be insterted |
[in] | index | Integer giving access to the array describing element to be inserted |
subroutine, public quadtree_mod::quadtree_smoothing | ( | real, dimension(:,:) | part, |
integer | npart, | ||
real | pos1min, | ||
real | pos1max, | ||
real | pos2min, | ||
real | pos2max, | ||
real | hv, | ||
integer | maxppc | ||
) |
subroutine, public quadtree_mod::quadtree_smoothing | ( | real, dimension(:,:) | part, |
integer | npart, | ||
real | pos1min, | ||
real | pos1max, | ||
real | pos2min, | ||
real | pos2max, | ||
real | sigma, | ||
integer | maxppc, | ||
logical, intent(in) | do_2w, | ||
logical, intent(in) | diagnose, | ||
integer, dimension(4), intent(inout) | diagnose_array | ||
) |
|
private |
Apply function on all elements if at lowest level. Else go to the four children.
[in] | this_quadtree | quadtree_box which is being traversed |
[in] | array | Array which will be operated on during quadtree traversal. |
[in] | sigma | Decay factor for smoothing of the order of a velocity cell |
|
private |
Apply function on all elements if at lowest level. Else go to the four children.
[in] | this_quadtree | quadtree_box which is being traversed |
[in] | array | Array which will be operated on during quadtree traversal. |
[in] | sigma | Decay factor for smoothing of the order of a velocity cell |
|
private |
|
private |
|
private |
|
private |