get_toml_real Subroutine

public subroutine get_toml_real(table, key, value, context)

TOML の数値キーを倍精度実数として読み込む。

Arguments

Type IntentOptional Attributes Name
type(toml_table), intent(inout) :: table
type(toml_key), intent(in) :: key
real(kind=dp), intent(out) :: value
character(len=*), intent(in) :: context

Calls

proc~~get_toml_real~~CallsGraph proc~get_toml_real get_toml_real get_value get_value proc~get_toml_real->get_value proc~require_toml_success require_toml_success proc~get_toml_real->proc~require_toml_success

Called by

proc~~get_toml_real~~CalledByGraph proc~get_toml_real get_toml_real proc~apply_mesh_group_toml_table apply_mesh_group_toml_table proc~apply_mesh_group_toml_table->proc~get_toml_real proc~apply_mesh_toml_table apply_mesh_toml_table proc~apply_mesh_toml_table->proc~get_toml_real proc~read_mesh_groups_table read_mesh_groups_table proc~apply_mesh_toml_table->proc~read_mesh_groups_table proc~read_template_array read_template_array proc~apply_mesh_toml_table->proc~read_template_array proc~apply_particles_species_toml_table apply_particles_species_toml_table proc~apply_particles_species_toml_table->proc~get_toml_real proc~apply_sim_toml_table apply_sim_toml_table proc~apply_sim_toml_table->proc~get_toml_real proc~apply_template_toml_table apply_template_toml_table proc~apply_template_toml_table->proc~get_toml_real proc~apply_toml_document apply_toml_document proc~apply_toml_document->proc~apply_mesh_toml_table proc~apply_toml_document->proc~apply_sim_toml_table proc~apply_particles_toml_table apply_particles_toml_table proc~apply_toml_document->proc~apply_particles_toml_table proc~read_mesh_groups_table->proc~apply_mesh_group_toml_table proc~read_particle_species_array read_particle_species_array proc~read_particle_species_array->proc~apply_particles_species_toml_table proc~read_template_array->proc~apply_template_toml_table proc~apply_particles_toml_table->proc~read_particle_species_array proc~load_toml_config load_toml_config proc~load_toml_config->proc~apply_toml_document proc~load_app_config load_app_config proc~load_app_config->proc~load_toml_config proc~load_or_init_run_state load_or_init_run_state proc~load_or_init_run_state->proc~load_app_config program~main main program~main->proc~load_or_init_run_state

Source Code

  subroutine get_toml_real(table, key, value, context)
    type(toml_table), intent(inout) :: table
    type(toml_key), intent(in) :: key
    real(dp), intent(out) :: value
    character(len=*), intent(in) :: context
    integer :: stat

    call get_value(table, key, value, stat=stat)
    call require_toml_success(stat, context)
  end subroutine get_toml_real