FV3 Bundle
tools_kdtree2.F90 File Reference

Go to the source code of this file.

Data Types

type  tools_kdtree2::interval
 
type  tools_kdtree2::tree_node
 
type  tools_kdtree2::kdtree2
 
type  tools_kdtree2::tree_search_record
 

Modules

module  tools_kdtree2
 

Functions/Subroutines

type(kdtree2) function, pointer, public tools_kdtree2::kdtree2_create (input_data, sort, rearrange)
 
subroutine tools_kdtree2::build_tree (tp)
 
recursive type(tree_node) function, pointer tools_kdtree2::build_tree_for_range (tp, l, u, parent)
 
integer function tools_kdtree2::select_on_coordinate_value (v, ind, c, alpha, li, ui)
 
subroutine tools_kdtree2::select_on_coordinate (v, ind, c, k, li, ui)
 
subroutine tools_kdtree2::spread_in_coordinate (tp, c, l, u, interv)
 
subroutine, public tools_kdtree2::kdtree2_destroy (tp)
 
recursive subroutine destroy_node (np)
 
subroutine, public tools_kdtree2::kdtree2_n_nearest (tp, qv, nn, results)
 
integer function, public tools_kdtree2::kdtree2_r_count (tp, qv, r2)
 
subroutine tools_kdtree2::validate_query_storage (n)
 
real(kind_real) function tools_kdtree2::square_distance (iv, qv)
 
real(kind_real) function tools_kdtree2::sdistance (iv, qv)
 
recursive subroutine tools_kdtree2::search (node)
 
real(kind_real) function tools_kdtree2::dis2_from_bnd (x, amin, amax)
 
subroutine tools_kdtree2::process_terminal_node (node)
 
subroutine tools_kdtree2::process_terminal_node_fixedball (node)
 
subroutine tools_kdtree2::kdtree2_sort_results (nfound, results)
 
subroutine tools_kdtree2::heapsort_struct (a, n)
 

Variables

integer, parameter tools_kdtree2::bucket_size = 12
 
type(tree_search_record), target, save tools_kdtree2::sr
 

Function/Subroutine Documentation

◆ destroy_node()

recursive subroutine kdtree2_destroy::destroy_node ( type (tree_node), pointer  np)
private

Definition at line 492 of file tools_kdtree2.F90.

Here is the caller graph for this function: