Skip to content
Projects

tree_d_3d.kernels.cart_evaluate_host.cart_evaluate_host_numpy

The version of the cart_evaluate_host kernel for machines without Pyccel.

cart_evaluate_host_pyccel.py vectorized: the Cartesian local expansions at every leaf particle at once, and the mutual near field over all particle pairs of the leaf pairs, accumulated with np.bincount.

Functions

NameDescription
cart_evaluate_hostFar field from the leaves' local expansions plus the exact mutual near field.

cart_evaluate_hostfunction#

def cart_evaluate_host(spos, scharge, node_count, node_center, node_start, node_end, node_child, local, mono_parent, mono_dir, ex, ey, grad, pairs, count, softening, phi, field, status)

Far field from the leaves’ local expansions plus the exact mutual near field.

See cart_evaluate_host_pyccel.