診断に使う公開 species 配列の添字付きパスを返す。
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | species_idx |
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