Afivo 0.3
Loading...
Searching...
No Matches
Public Attributes | Private Attributes | List of all members
m_config::cfg_var_t Type Reference

The type of a configuration variable. More...

Public Attributes

character(len=cfg_string_lendescription
 Description of variable.
 
integer var_type
 Type of variable.
 
integer var_size
 Size of variable, 1 means scalar, > 1 means array.
 
logical dynamic_size
 Whether the variable size is flexible.
 
logical used
 Whether the variable's value has been requested.
 
integer set_by = CFG_set_by_default
 How the variable has been set (default, command line, file)
 
character(len=cfg_string_lenstored_data
 Data that has been read in for this variable.
 
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
 

Private Attributes

character(len=cfg_name_lenvar_name
 Name of the variable.
 

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

Description of variable.

Definition at line 54 of file m_config.f90.

◆ var_type

integer m_config::cfg_var_t::var_type

Type of variable.

Definition at line 56 of file m_config.f90.

◆ var_size

integer m_config::cfg_var_t::var_size

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

Whether the variable size is flexible.

Definition at line 60 of file m_config.f90.

◆ used

logical m_config::cfg_var_t::used

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

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

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

Definition at line 70 of file m_config.f90.

◆ int_data

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

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

Definition at line 72 of file m_config.f90.

◆ logic_data

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

Definition at line 73 of file m_config.f90.