mapToLattice Subroutine

public subroutine mapToLattice(this, particleGroup, scheme, stencil, geometry, params, rmflag)

mapToLattice is the high-level routine performs a full re-mapping each time step

Arguments

Type IntentOptional Attributes Name
type(mus_particle_MEM_type), intent(inout) :: this
type(mus_particle_group_type), intent(inout) :: particleGroup

Particle group in which to search for collisions

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

Scheme for access to level descriptor

type(tem_stencilHeader_type), intent(in) :: stencil

fluid stencil

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

Geometry to determine TreeIDs of elements 'covered' by particle

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

Parameters for access to e.g. time step dt

logical, intent(out) :: rmflag

Flag that tells whether to remove this particle from this process