Skip to content
Projects

tree_d_3d.kernels.quadtree_quadrants.quadtree_quadrants_numpy

The NumPy version of the quadtree_quadrants kernel, for machines without Pyccel.

Vectorized over the particles; the same arguments and results as quadtree_quadrants_pyccel.py.

Functions

NameDescription
quadtree_quadrantsOne level of the tree build: the child quadrant of every sorted particle.

quadtree_quadrantsfunction#

def quadtree_quadrants(pos: np.ndarray, perm: np.ndarray, slot_node: np.ndarray, node_center: np.ndarray, node_child: np.ndarray, quadrant: np.ndarray) -> None

One level of the tree build: the child quadrant of every sorted particle.