Skip to content
Projects

tree_d_3d.kernels.fmm_evaluate_host.fmm_evaluate_host_numpy

The version of the fmm_evaluate_host kernel for machines without Pyccel.

fmm_evaluate_host_pyccel.py vectorized: the local expansions at every leaf particle at once (Horner over the terms), and the mutual near field over all particle pairs of the leaf pairs, accumulated with np.bincount.

Functions

NameDescription
fmm_evaluate_hostFar field from leaf local expansions plus exact mutual near field, in tree order.

fmm_evaluate_hostfunction#

def fmm_evaluate_host(spos, scharge, node_count, node_center, node_start, node_end, node_child, local_re, local_im, pairs, count, softening, with_potential, phi, field, status)

Far field from leaf local expansions plus exact mutual near field, in tree order.

See fmm_evaluate_host_pyccel.