Skip to content
Projects

tree_d_3d.kernels.cart_targets_host.cart_targets_host_numpy

The version of the cart_targets_host kernel for machines without Pyccel.

cart_targets_host_pyccel.py vectorized: the Cartesian local expansions at every target of the target leaves at once, and the near field over all (target, source) particle pairs of their partner leaves, accumulated with np.bincount.

Functions

NameDescription
cart_targets_hostPoint-charge potential and field at the targets, in target-tree order.

cart_targets_hostfunction#

def cart_targets_host(tpos, texclude, t_count, t_center, t_start, t_end, t_child, local, mono_parent, mono_dir, ex_pow, ey_pow, grad, row_start, partners, spos, scharge, sindex, s_start, s_end, softening, phi, field)

Point-charge potential and field at the targets, in target-tree order.

See cart_targets_host_pyccel.