species_config_path Function

public function species_config_path(species_idx) result(path)

診断に使う公開 species 配列の添字付きパスを返す。

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: species_idx

Return Value character(len=:), allocatable


Called by

proc~~species_config_path~~CalledByGraph proc~species_config_path species_config_path proc~build_particle_source_plan build_particle_source_plan proc~build_particle_source_plan->proc~species_config_path proc~particles_per_batch_from_config particles_per_batch_from_config proc~particles_per_batch_from_config->proc~species_config_path

Source Code

  function species_config_path(species_idx) result(path)
    integer, intent(in) :: species_idx
    character(len=:), allocatable :: path
    character(len=32) :: index_text

    write (index_text, '(i0)') species_idx
    path = 'particles.species['//trim(index_text)//']'
  end function species_config_path