rogers.neighbors.NeighborList

class rogers.neighbors.NeighborList(first, second)

Bases: object

Holds a neighbor list in which (first[i], second[i]) is a neighboring pair. -1 is used as a padding sentinel.

Parameters:
  • first (Int[Array, 'n_neighb'])

  • second (Int[Array, 'n_neighb'])

__init__(first, second)
Parameters:
  • first (Int[Array, 'n_neighb'])

  • second (Int[Array, 'n_neighb'])

Return type:

None

Methods

__init__(first, second)

Attributes

first

second