Returns an Table object (cluster_info) which contains info on atoms whose indices are given in atomlist, possibly with some extras for consistency, and optionally terminated with Hydrogens, that can be used by carve_cluster().
Input Atoms object
List of atoms to include in cluster. This should be either 1 column with indices, or 4 columns with indices and shifts relative to first atom in list.
Should Hydrogens be added to cut bonds (default .true.)
Should cluster be periodic in each direction. Default is (/false,false,false/). Number of true entries must be zero, one or three.
Should lattice be left the same, overrides periodic variable Default false
If true, then cluster will always be terminated with an even number of hydrogens to prevent an imbalance of spin up and spin down electrons. If a hydrogen has to be removed it will be taken from an atom with as many termination hydrogens as possible.
Return a list of the bonds cut when making the cluster. Table with 8 int columns, for , , shift_i and shift_j. for the atom indices at each end of the cut bonds.
if false, don't try to fix cluster surface
if true, use this%hysteretic_connect for connectivity (also, don't restrict hops to nneigh_tol)