amep.pbc#
Periodic Boundary Conditions#
The AMEP module amep.pbc
contains methods that apply periodic boundary
condictions and calculate distances and difference vectors considering periodic
boundaries.
Functions
|
Calculates the distance matrix. |
|
Calculates the distance matrix. |
|
Returns a 1D array of all pairwise distances. |
|
Identifies pairs of particles based on the pairwise distance. |
|
Applies periodic boundary conditions to the given coordinates, i.e. folds the coordinates back into the box if they are not inside the box. |
|
Creates a scipy.spatial._kdtree.KDTree object with and without considering periodic boundary conditions. |
|
Returns the points and their first periodic mirrors. |
|
Calculates the difference vector(s) between v1 and v2 considering periodic boundary conditions. |
|
Calculate the difference of two vectors, considering periodic boundary conditions within a rectangular box. |
|
Returns the points and their first periodic images. |