init_particle_creator_from_blob Subroutine

public subroutine init_particle_creator_from_blob(particle_creator, particleblob, Nparticles, scheme, geometry, myRank)

Routine to initialize the particle creator object from a particle blob cylinder object Check if particles should be initialized to the local fluid velocity.

Arguments

Type IntentOptional Attributes Name
type(mus_particle_creator_type), intent(inout) :: particle_creator

Particle creator object

type(mus_particle_blob_cylinder_type), intent(inout) :: particleblob

Particle blob object describing the shape of the initial "blob" of particles

integer, intent(in) :: Nparticles

Desired number of particles to fill the ENTIRE blob with (so not just the part of it on this rank, but on all ranks)

type(mus_scheme_type), intent(in) :: scheme

Scheme to initialize particles on the lattice

type(mus_geom_type), intent(in) :: geometry

Geometry to initialize particles on the lattice

integer, intent(in) :: myRank

This process rank