Neighbour finders

NeighbourFinder

FixedNumberFinder

Define as neighbours of a particle the N particles that are closest to it.

CutoffFinder

Define as neighbours of a particle all those particles that are at closer than the given cutoff.

SANNFinder

class baggianalysis.core.NeighbourFinder(self: baggianalysis.core.NeighbourFinder)None

Bases: pybind11_builtins.pybind11_object

set_neighbours(self: baggianalysis.core.NeighbourFinder, arg0: List[baggianalysis.core.Particle], arg1: glm::tvec3<scalar, P>)None
class baggianalysis.core.FixedNumberFinder(self: baggianalysis.core.FixedNumberFinder, N: int, cutoff: float = 1.5)None

Bases: baggianalysis.core.NeighbourFinder

Define as neighbours of a particle the N particles that are closest to it. By default, a cutoff of 1.5 is used to look for neighbours. If not enough neighbours are found, the cutoff is increased.

The constructor takes two mandatory arguments.

Parameters
  • N (int) – The number of neighbours N that each particle will have at the end of the finding procedure.

  • cutoff (float) – The smallest cutoff that will be used to look for neighbours.

class baggianalysis.core.CutoffFinder(self: baggianalysis.core.CutoffFinder, arg0: float)None

Bases: baggianalysis.core.NeighbourFinder

Define as neighbours of a particle all those particles that are at closer than the given cutoff.

Constructor.

Parameters

cutoff (double) – The smallest cutoff that will be used to look for neighbours.

class baggianalysis.core.SANNFinder(self: baggianalysis.core.SANNFinder, arg0: float, arg1: ba::SANNFinder::SymmetryPolicy)None

Bases: baggianalysis.core.NeighbourFinder

NO_ACTION = SymmetryPolicy.NO_ACTION
SYMMETRISE_BY_ADDING = SymmetryPolicy.SYMMETRISE_BY_ADDING
SYMMETRISE_BY_REMOVING = SymmetryPolicy.SYMMETRISE_BY_REMOVING
class SymmetryPolicy(self: baggianalysis.core.SANNFinder.SymmetryPolicy, arg0: int)None

Bases: pybind11_builtins.pybind11_object

Members:

NO_ACTION

SYMMETRISE_BY_ADDING

SYMMETRISE_BY_REMOVING

NO_ACTION = SymmetryPolicy.NO_ACTION
SYMMETRISE_BY_ADDING = SymmetryPolicy.SYMMETRISE_BY_ADDING
SYMMETRISE_BY_REMOVING = SymmetryPolicy.SYMMETRISE_BY_REMOVING
property name

handle) -> str

Type

(self