must_create_new_particles Function

public function must_create_new_particles(iter, i_start, i_end, interval)

Function to check whether particles should be created using the particleCreator object at the current iteration iter.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: iter

Current simulation time (in iterations)

integer, intent(in) :: i_start

Start creating new particles at this time (in iterations)

integer, intent(in) :: i_end

Max time (in iterations) to create new particles

integer, intent(in) :: interval

Interval (in iterations) at which to create new particles

Return Value logical

Output logical: TRUE if particles should be created at this instant