Neighbour finders¶
Define as neighbours of a particle the N particles that are closest to it. |
|
Define as neighbours of a particle all those particles that are at closer than the given cutoff. |
|
-
class
baggianalysis.core.
NeighbourFinder
(self: baggianalysis.core.NeighbourFinder) → None¶ Bases:
pybind11_builtins.pybind11_object
-
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.
-
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
-
-