Afivo  0.3
Private Attributes | List of all members
m_config::cfg_var_t Type Reference

The type of a configuration variable. More...

Private Attributes

character(len=cfg_name_lenvar_name
 Name of the variable. More...
 
character(len=cfg_string_lendescription
 Description of variable. More...
 
integer var_type
 Type of variable. More...
 
integer var_size
 Size of variable, 1 means scalar, > 1 means array. More...
 
logical dynamic_size
 Whether the variable size is flexible. More...
 
logical used
 Whether the variable's value has been requested. More...
 
integer set_by = CFG_set_by_default
 How the variable has been set (default, command line, file) More...
 
character(len=cfg_string_lenstored_data
 Data that has been read in for this variable. More...
 
real(dp), dimension(:), allocatable real_data
 
integer, dimension(:), allocatable int_data
 
character(len=cfg_string_len), dimension(:), allocatable char_data
 
logical, dimension(:), allocatable logic_data
 

Detailed Description

The type of a configuration variable.

Definition at line 49 of file m_config.f90.

Member Data Documentation

◆ var_name

character(len=cfg_name_len) m_config::cfg_var_t::var_name
private

Name of the variable.

Definition at line 52 of file m_config.f90.

◆ description

character(len=cfg_string_len) m_config::cfg_var_t::description
private

Description of variable.

Definition at line 54 of file m_config.f90.

◆ var_type

integer m_config::cfg_var_t::var_type
private

Type of variable.

Definition at line 56 of file m_config.f90.

◆ var_size

integer m_config::cfg_var_t::var_size
private

Size of variable, 1 means scalar, > 1 means array.

Definition at line 58 of file m_config.f90.

◆ dynamic_size

logical m_config::cfg_var_t::dynamic_size
private

Whether the variable size is flexible.

Definition at line 60 of file m_config.f90.

◆ used

logical m_config::cfg_var_t::used
private

Whether the variable's value has been requested.

Definition at line 62 of file m_config.f90.

◆ set_by

integer m_config::cfg_var_t::set_by = CFG_set_by_default
private

How the variable has been set (default, command line, file)

Definition at line 64 of file m_config.f90.

◆ stored_data

character(len=cfg_string_len) m_config::cfg_var_t::stored_data
private

Data that has been read in for this variable.

Definition at line 66 of file m_config.f90.

◆ real_data

real(dp), dimension(:), allocatable m_config::cfg_var_t::real_data
private

Definition at line 70 of file m_config.f90.

◆ int_data

integer, dimension(:), allocatable m_config::cfg_var_t::int_data
private

Definition at line 71 of file m_config.f90.

◆ char_data

character(len=cfg_string_len), dimension(:), allocatable m_config::cfg_var_t::char_data
private

Definition at line 72 of file m_config.f90.

◆ logic_data

logical, dimension(:), allocatable m_config::cfg_var_t::logic_data
private

Definition at line 73 of file m_config.f90.