Create crack documentation

peripy.create_crack.create_crack()

Create a crack by removing selected pairs from the neighbour list.

Parameters:
  • crack (numpy.ndarray) – An array giving the pairs between which to create the crack. Each row of this array should be the index of two nodes.
  • nlist (numpy.ndarray) – The neighbour list
  • n_neigh (numpy.ndarray) – The number of neighbours for each node.