tree_d_3d.kernels.cart_m2l_host.cart_m2l_host_numpy
The version of the cart_m2l_host kernel for machines without Pyccel.
The translations of cart_m2l_host_pyccel.py, vectorized over all (destination,
source) cell pairs: the Taylor coefficients of every pair by the recurrence (one column
at a time), then the terms of m2l as one matrix product, summed into the
destination cells.
Functions
| Name | Description |
|---|---|
cart_m2l_host | Add the expansions of cells sources[row_start[n]:row_start[n + 1]] to cell n. |
cart_m2l_hostfunction#
def cart_m2l_host(row_start, sources, dst_center, src_center, moments, softening, ex, ey, rec, m2l, m2l_coef, local)Add the expansions of cells sources[row_start[n]:row_start[n + 1]] to cell n.
See cart_m2l_host_pyccel.