init_particle_batch_from_config Interface

interface
public module subroutine init_particle_batch_from_config(cfg, batch_idx, pcls, state, mesh, photo_emission_dq, mpi_rank, mpi_size, mpi, photo_failure, snapshot, source_plan, photo_emission_dq_by_species, slot_ids)

Arguments

Type IntentOptional Attributes Name
type(app_config), intent(in) :: cfg
integer(kind=i32), intent(in) :: batch_idx
type(particles_soa), intent(out) :: pcls
type(injection_state), intent(inout), optional :: state
type(mesh_type), intent(in), optional :: mesh
real(kind=dp), intent(out), optional :: photo_emission_dq(:)
integer(kind=i32), intent(in), optional :: mpi_rank
integer(kind=i32), intent(in), optional :: mpi_size
type(mpi_context), intent(in), optional :: mpi
type(photo_ray_failure_type), intent(out), optional :: photo_failure

不完全な photo collision query(省略時は停止)。

type(electrostatic_snapshot_type), intent(inout), optional :: snapshot
type(particle_source_plan_type), intent(in) :: source_plan
real(kind=dp), intent(out), optional :: photo_emission_dq_by_species(:,:)
integer(kind=i32), intent(out), optional, allocatable :: slot_ids(:)

各粒子の global slot 番号(粒子追跡の境界・二次電子乱数の鍵に使う)。