CFG_update_from_arguments Subroutine

public subroutine CFG_update_from_arguments(cfg)

Arguments

Type IntentOptional Attributes Name
type(CFG_t), intent(inout) :: cfg

Calls

proc~~cfg_update_from_arguments~~CallsGraph proc~cfg_update_from_arguments CFG_update_from_arguments proc~cfg_read_file CFG_read_file proc~cfg_update_from_arguments->proc~cfg_read_file proc~get_var_index get_var_index proc~cfg_read_file->proc~get_var_index proc~handle_error handle_error proc~cfg_read_file->proc~handle_error proc~prepare_store_var prepare_store_var proc~cfg_read_file->proc~prepare_store_var proc~read_variable read_variable proc~cfg_read_file->proc~read_variable proc~trim_comment trim_comment proc~cfg_read_file->proc~trim_comment proc~binary_search_variable binary_search_variable proc~get_var_index->proc~binary_search_variable proc~prepare_store_var->proc~get_var_index proc~prepare_store_var->proc~handle_error proc~ensure_free_storage ensure_free_storage proc~prepare_store_var->proc~ensure_free_storage proc~read_variable->proc~handle_error proc~get_fields_string~2 get_fields_string proc~read_variable->proc~get_fields_string~2 proc~resize_storage resize_storage proc~read_variable->proc~resize_storage

Source Code

  subroutine CFG_update_from_arguments(cfg)
    type(CFG_t),intent(inout)      :: cfg
    character(len=100)             :: cfg_name
    integer                        :: ix

    do ix = 1, command_argument_count()
       call get_command_argument(ix, cfg_name)
       call CFG_read_file(cfg, trim(cfg_name))
    end do
  end subroutine CFG_update_from_arguments