require_toml_success Subroutine

public subroutine require_toml_success(stat, context)

toml-f の status を BEACH の停止メッセージへ変換する。

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: stat
character(len=*), intent(in) :: context

Called by

proc~~require_toml_success~~CalledByGraph proc~require_toml_success require_toml_success proc~apply_toml_document apply_toml_document proc~apply_toml_document->proc~require_toml_success proc~apply_mesh_toml_table apply_mesh_toml_table proc~apply_toml_document->proc~apply_mesh_toml_table proc~apply_output_toml_table apply_output_toml_table proc~apply_toml_document->proc~apply_output_toml_table proc~apply_particles_toml_table apply_particles_toml_table proc~apply_toml_document->proc~apply_particles_toml_table proc~apply_sim_toml_table apply_sim_toml_table proc~apply_toml_document->proc~apply_sim_toml_table proc~get_toml_int get_toml_int proc~get_toml_int->proc~require_toml_success proc~get_toml_logical get_toml_logical proc~get_toml_logical->proc~require_toml_success proc~get_toml_real get_toml_real proc~get_toml_real->proc~require_toml_success proc~get_toml_real2 get_toml_real2 proc~get_toml_real2->proc~require_toml_success proc~get_toml_real3 get_toml_real3 proc~get_toml_real3->proc~require_toml_success proc~get_toml_real_scalar_or_array3 get_toml_real_scalar_or_array3 proc~get_toml_real_scalar_or_array3->proc~require_toml_success proc~get_toml_string get_toml_string proc~get_toml_string->proc~require_toml_success proc~read_mesh_groups_table read_mesh_groups_table proc~read_mesh_groups_table->proc~require_toml_success proc~apply_mesh_group_toml_table apply_mesh_group_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~require_toml_success proc~apply_particles_species_toml_table apply_particles_species_toml_table proc~read_particle_species_array->proc~apply_particles_species_toml_table proc~read_template_array read_template_array proc~read_template_array->proc~require_toml_success proc~apply_template_toml_table apply_template_toml_table proc~read_template_array->proc~apply_template_toml_table proc~apply_mesh_group_toml_table->proc~get_toml_real proc~apply_mesh_group_toml_table->proc~get_toml_real3 proc~apply_mesh_group_toml_table->proc~get_toml_string proc~apply_mesh_toml_table->proc~get_toml_real proc~apply_mesh_toml_table->proc~get_toml_real3 proc~apply_mesh_toml_table->proc~get_toml_string proc~apply_mesh_toml_table->proc~read_mesh_groups_table proc~apply_mesh_toml_table->proc~read_template_array proc~apply_output_toml_table->proc~get_toml_int proc~apply_output_toml_table->proc~get_toml_logical proc~apply_output_toml_table->proc~get_toml_string proc~apply_particles_species_toml_table->proc~get_toml_int proc~apply_particles_species_toml_table->proc~get_toml_logical proc~apply_particles_species_toml_table->proc~get_toml_real proc~apply_particles_species_toml_table->proc~get_toml_real2 proc~apply_particles_species_toml_table->proc~get_toml_real3 proc~apply_particles_species_toml_table->proc~get_toml_string proc~apply_particles_toml_table->proc~read_particle_species_array proc~apply_sim_toml_table->proc~get_toml_int proc~apply_sim_toml_table->proc~get_toml_logical proc~apply_sim_toml_table->proc~get_toml_real proc~apply_sim_toml_table->proc~get_toml_real3 proc~apply_sim_toml_table->proc~get_toml_string proc~get_toml_boundary_mode get_toml_boundary_mode proc~apply_sim_toml_table->proc~get_toml_boundary_mode proc~apply_template_toml_table->proc~get_toml_int proc~apply_template_toml_table->proc~get_toml_logical proc~apply_template_toml_table->proc~get_toml_real proc~apply_template_toml_table->proc~get_toml_real3 proc~apply_template_toml_table->proc~get_toml_real_scalar_or_array3 proc~apply_template_toml_table->proc~get_toml_string proc~get_toml_boundary_mode->proc~get_toml_string 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 require_toml_success(stat, context)
    integer, intent(in) :: stat
    character(len=*), intent(in) :: context

    if (stat /= toml_stat%success) then
      error stop 'Invalid TOML value for '//trim(context)//'.'
    end if
  end subroutine require_toml_success