init_particle_blob_prob_circle Subroutine

public subroutine init_particle_blob_prob_circle(blob, d, R, mu, sigma, Nchosen)

Arguments

Type IntentOptional Attributes Name
type(mus_particle_blob_prob_type), intent(inout) :: blob
real(kind=rk), intent(in) :: d

Distance between particle positions. This should be chosen larger than one particle diameter to prevent overlap.

real(kind=rk) :: R

Radius within which all positions must be located

real(kind=rk) :: mu(2)

Mean value of the probability distributions in x and y directions (mu_x, mu_y)

real(kind=rk) :: sigma(2)

Standard deviation of the probability distributions in x and y directions (sig_x, sig_y)

integer, intent(in) :: Nchosen

Number of particles we plan to choose. This determines the size to which the chosen_positions array will be allocated