MPI-AMRVAC 3.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Loading...
Searching...
No Matches
mod_config.t File Reference

Go to the source code of this file.

Data Types

type  mod_config::cfg_t
 The configuration that contains all the variables. More...
interface  mod_config::cfg_add
 Interface to add variables to the configuration. More...
interface  mod_config::cfg_get
 Interface to get variables from the configuration. More...
interface  mod_config::cfg_add_get
 Interface to get variables from the configuration. More...

Modules

module  mod_config
 Module that allows working with a configuration file.

Functions/Subroutines

subroutine, public mod_config::cfg_update_from_arguments (cfg)
subroutine, public mod_config::cfg_read_file (cfg, filename)
 Update the variables in the configartion with the values found in 'filename'.
subroutine, public mod_config::cfg_check (cfg)
subroutine, public mod_config::cfg_write (cfg_in, filename, hide_unused)
 This routine writes the current configuration to a file with descriptions.
subroutine, public mod_config::cfg_write_markdown (cfg_in, filename, hide_unused)
 This routine writes the current configuration to a markdown file.
subroutine, public mod_config::cfg_get_size (cfg, var_name, res)
 Get the size of a variable.
subroutine, public mod_config::cfg_get_type (cfg, var_name, res)
 Get the type of a given variable of a configuration type.
subroutine, public mod_config::cfg_sort (cfg)
 Sort the variables for faster lookup.

Variables

integer, parameter, public mod_config::cfg_integer_type = 1
 Integer type.
integer, parameter, public mod_config::cfg_real_type = 2
 Real number type.
integer, parameter, public mod_config::cfg_string_type = 3
 String type.
integer, parameter, public mod_config::cfg_logic_type = 4
 Boolean/logical type.
integer, parameter, public mod_config::cfg_name_len = 80
 Maximum length of variable names.
integer, parameter, public mod_config::cfg_string_len = 200
 Fixed length of string type.
character(len=10), dimension(0:cfg_num_types), parameter, public mod_config::cfg_type_names = [character(len=10) :: "storage", "integer", "real", "string ", "logical"]
 Names of the types.
integer, parameter, public mod_config::cfg_max_array_size = 20
 Maximum number of entries in a variable (if it's an array).