Skip to content
Projects

tree_d_3d.kernels.fmm_m2l_host.fmm_m2l_host_numpy

The version of the fmm_m2l_host kernel for machines without Pyccel.

The translations of fmm_m2l_host_pyccel.py, vectorized over all (destination, source) cell pairs: the scaled moments of every pair times the matrix coeff at once, summed into the destination cells.

Functions

NameDescription
fmm_m2l_hostAdd the multipoles of cells sources[row_start[n]:row_start[n + 1]] to cell n.

fmm_m2l_hostfunction#

def fmm_m2l_host(row_start, sources, dst_center, src_center, moment_re, moment_im, coeff, local_re, local_im)

Add the multipoles of cells sources[row_start[n]:row_start[n + 1]] to cell n.

See fmm_m2l_host_pyccel.