mus_load_particles Subroutine

public subroutine mus_load_particles(particleGroup, particle_kind, conf, chunkSize, scheme, geometry, myRank)

Routine to load the particle data from the musubi.lua file meant to be called from within mus_load_config after the lua file has already been opened

Arguments

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

particleGroup to add particles loaded from the lua script to

character(len=*), intent(in) :: particle_kind

Kind of particle modelling to use

type(flu_State) :: conf

configuration

integer, intent(in) :: chunkSize

Size of the number of particles to be read in one chunk from the lua table

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

Scheme to determine if particles belong on this process

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

Geometry to determine if particles belong on this process

integer, intent(in) :: myRank

This process rank