Skip to content
Projects

tree_d_3d.kernels.log_moments_upward.log_moments_upward_numpy

The version of the log_moments_upward kernel for machines without Pyccel.

log_moments_upward_pyccel.py vectorized over the cells of a level: the leaves sum the powers of all their particles at once, the parents shift the moments of all their children at once.

Functions

NameDescription
log_moments_upwardComplex multipole moments of every node, from the deepest level up.

log_moments_upwardfunction#

def log_moments_upward(pos, charge, perm, levels, node_center, node_start, node_end, node_child, binomial, node_qabs, moment_re, moment_im)

Complex multipole moments of every node, from the deepest level up.

See log_moments_upward_pyccel.