Find the label of the percolating cluster, i.e. the one spanning from one side of the system to the opposing side.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in), | dimension(:,:) | :: | labelled_matrix | Labelled matrix of clusters from hoshen_kopelman/label. |
|
integer, | intent(in) | :: | num_labels | Known number of clusters. |
Label of the percolating cluster. -1 if no percolating cluster is found.