initParticle_MEM Subroutine

public subroutine initParticle_MEM(particle, particleID, geometry, scheme, myRank, comm, rmflag)

Routine to initialize a newly created MEM particle

Arguments

Type IntentOptional Attributes Name
type(mus_particle_MEM_type), intent(inout) :: particle

Particle to initialize

integer, intent(in) :: particleID

Number to uniquely identify particle particle

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

Geometry to determine TreeIDs of elements 'covered' by particle

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

Scheme for access to level descriptor

integer, intent(in) :: myRank

MPI rank of this process

type(mus_particles_communication_type) :: comm

Communication data type for particles

logical, intent(out) :: rmflag

flag to indicate whether particle exists on this process or should be removed