tightbinder.topology.specify_partition_plane#

specify_partition_plane(system, plane)[source]#

Routine to specify a real-space partition of the atoms of the system based on a given plane.

Parameters:
  • system (System) – System whose atoms we want to separate into two partitions.

  • plane (list) – List with coefficients of the plane generating the partition. Array [A,B,C,D] <-> Ax + By + Cz = D

Return type:

ndarray

Returns:

Array with indices of atoms on a side.