# tree_d_3d.kernels.pair_csr

*module*

The pair_csr kernel of the FMM on the CPU: Pyccel and NumPy versions with the same
arguments.

Turns a list of mutual node pairs into rows by node (compressed sparse rows): for every
node, the partners of all its pairs, so that a kernel can sum into each node without
atomics.

[View source](https://github.com/max-models/tree-d-3d/blob/devel/src/tree_d_3d/kernels/pair_csr/__init__.py#L1-L1)

## tree_d_3d.kernels.pair_csr.kernel

*attribute* · *module attribute*

```python
kernel = KERNEL_PACKAGE.from_folder(__name__)
```

[View source](https://github.com/max-models/tree-d-3d/blob/devel/src/tree_d_3d/kernels/pair_csr/__init__.py#L11-L11)

**Modules**

- `tree_d_3d.kernels.pair_csr.pair_csr_numpy`
- `tree_d_3d.kernels.pair_csr.pair_csr_pyccel`
