init_particle_blob_prob Interface

public interface init_particle_blob_prob

Module Procedures

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

public subroutine init_particle_blob_prob_square(blob, d, xlim, ylim, 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) :: xlim(2)

Range of x-positions particles can have [xmin, xmax]

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

Range of y-positions particles can have [ymin, ymax]

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