check_and_create_new_particles_MEM Subroutine

public subroutine check_and_create_new_particles_MEM(particle_creator, iter, particleGroup, scheme, geometry, params, myRank)

Routine that checks if new particles should be created and creates them if so.

Arguments

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

Particle creator object

integer, intent(in) :: iter

Current LBM iteration

type(mus_particle_group_type), intent(inout) :: particleGroup

particleGroup to add particles to

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

Scheme to initialize particles on the lattice

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

Geometry to initialize particles on the lattice

type(mus_param_type), intent(in) :: params

Params

integer, intent(in) :: myRank

This process rank