tree_d_3d.kernels.log_targets_host.log_targets_host_numpy
The version of the log_targets_host kernel for machines without Pyccel.
log_targets_host_pyccel.py vectorized: the 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
| Name | Description |
|---|---|
log_targets_host | Line-charge potential and field at the targets, in target-tree order. |
log_targets_hostfunction#
def log_targets_host(tpos, texclude, t_count, t_center, t_start, t_end, t_child, local_re, local_im, row_start, partners, spos, scharge, sindex, s_start, s_end, softening, with_potential, phi, field)Line-charge potential and field at the targets, in target-tree order.
See log_targets_host_pyccel.