spanning_density Function

public function spanning_density(p, L, num_samples)

Density of the spanning/percolating cluster, i.e. the number of sites on the percolating cluster divided by \(L^2\). Averaged over num_samples Monte Carlo samples (with OpenMP).

Arguments

Type IntentOptional AttributesName
real(kind=dp), intent(in) :: p

The probability for a site to allow transport.

integer, intent(in) :: L

The size of the system.

integer, intent(in) :: num_samples

The number of Monte Carlo samples.

Return Value real(kind=dp)

The number of sites on the spanning cluster divided by \(L^2\).


Contents

None