Skip to content
Projects

tree_d_3d.kernels.pair_csr.pair_csr_numpy

The version of the pair_csr kernel for machines without Pyccel.

pair_csr_pyccel.py as a stable sort of the pair ends by node: the same rows, each in pair order.

Functions

NameDescription
pair_csrRows by node of pairs[:count]: see pair_csr_pyccel (cursor is unused).

pair_csrfunction#

def pair_csr(pairs, count, mutual, row_start, partner, cursor)

Rows by node of pairs[:count]: see pair_csr_pyccel (cursor is unused).