Generalized Coordination Number
This module allows for the computation of the Generalized Coordination Number (GCN) for an atomic system.
The GCN is a descriptor expanding on the better known Coordination Number (CN, the number of neighbours for each atom)
Functions
Calculates the atop Generalized Coordination Number (GCN) for a site. The GCN is defined as the sum of the coordination numbers of the neighbors of each atom divided by the maximum typical coordination number in the specific system (gcn_max).
Parameters
- coords : ndarray Array of the coordinates of the atoms forming the system.
- cut_off : float The cutoff distance for determining nearest neighbors.
- gcn_max : float, optional Maximum typical coordination number in the specific system (default is 18.0). -strained : bool, optional iF True computes the strained aGCN (default is False). pbc : bool, optional Whether to apply periodic boundary conditions. Defaults to False. box : np.ndarray, optional Simulation box size (either [Lx, Ly, Lz] or [[xmin, xmax], [ymin, ymax], [zmin, zmax]] or 3 cell vectors (shape (3,3) - slower)). kwargs: thr_cn: int, optional An atom is considered in the surface if its CN < thr_cn dbulk: float, optional Bulk distance for strained aGCN (default is 0), has to be provided if strained is True
Returns
- ndarray: Values of the atop GCN.