mus_particles_mapping_MEM Subroutine

public subroutine mus_particles_mapping_MEM(particleGroup, scheme, geometry, params)

mus_particles_mapping maps the current particle positions to the lattice This means the exclusionLists are updated, connectivity of solid and fluid neighbor particles is modified, new fluid particles are initialized and have their connectivity restored. Also particles that have no more elements on this process (either local or halo) get removed from this process. Should be called once per LBM time step.

Arguments

Type IntentOptional Attributes Name
class(mus_particle_group_type), intent(inout) :: particleGroup

Array of particles

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

Scheme for access to leveldescriptor

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

Geometry for access to tree

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

Params for access to dt, dx, etc.