tree_d_3d.kernels.log_quadtree_moments.log_quadtree_moments_numpy
The NumPy version of the log_quadtree_moments kernel, for machines without Pyccel.
Vectorized over the particles of each node; the same arguments and results as log_quadtree_moments_pyccel.py.
Functions
| Name | Description |
|---|---|
log_quadtree_moments | Complex multipole moments a_0 ... a_p of every node. |
log_quadtree_momentsfunction#
def log_quadtree_moments(pos: np.ndarray, charge: np.ndarray, perm: np.ndarray, node_count: int, node_center: np.ndarray, node_start: np.ndarray, node_end: np.ndarray, node_qabs: np.ndarray, moment_re: np.ndarray, moment_im: np.ndarray) -> NoneComplex multipole moments a_0 … a_p of every node.