tree_d_3d.kernels.cart_downward.cart_downward_numpy
The version of the cart_downward kernel for machines without Pyccel.
cart_downward_pyccel.py vectorized over the cells of a level: every parent shifts
its local expansion into its four children at once (the rows of shift as one
matrix product).
Functions
| Name | Description |
|---|---|
cart_downward | Shift every cell's local expansion into its children, from the root down. |
cart_downwardfunction#
def cart_downward(levels, node_center, node_child, mono_parent, mono_dir, shift, shift_coef, local)Shift every cell’s local expansion into its children, from the root down.
See cart_downward_pyccel.