Afivo  0.3
Private Member Functions | List of all members
m_config::cfg_add_get Interface Reference

Interface to get variables from the configuration. More...

Private Member Functions

subroutine add_get_real (cfg, var_name, real_data, comment)
 Get or add a real value of a given name. More...
 
subroutine add_get_real_array (cfg, var_name, real_data, comment, dynamic_size)
 Get or add a real array of a given name. More...
 
subroutine add_get_int (cfg, var_name, int_data, comment)
 Get or add a integer value of a given name. More...
 
subroutine add_get_int_array (cfg, var_name, int_data, comment, dynamic_size)
 Get or add a integer array of a given name. More...
 
subroutine add_get_logic (cfg, var_name, logical_data, comment)
 Get or add a logical value of a given name. More...
 
subroutine add_get_logic_array (cfg, var_name, logic_data, comment, dynamic_size)
 Get or add a logical array of a given name. More...
 
subroutine add_get_string (cfg, var_name, string_data, comment)
 Get a character value of a given name. More...
 
subroutine add_get_string_array (cfg, var_name, char_data, comment, dynamic_size)
 Get or add a character array of a given name. More...
 

Detailed Description

Interface to get variables from the configuration.

Definition at line 100 of file m_config.f90.

Member Function/Subroutine Documentation

◆ add_get_real()

subroutine m_config::cfg_add_get::add_get_real ( type(cfg_t), intent(inout)  cfg,
character(len=*), intent(in)  var_name,
real(dp), intent(inout)  real_data,
character(len=*), intent(in)  comment 
)
private

Get or add a real value of a given name.

Definition at line 1091 of file m_config.f90.

◆ add_get_real_array()

subroutine m_config::cfg_add_get::add_get_real_array ( type(cfg_t), intent(inout)  cfg,
character(len=*), intent(in)  var_name,
real(dp), dimension(:), intent(inout)  real_data,
character(len=*), intent(in)  comment,
logical, intent(in), optional  dynamic_size 
)
private

Get or add a real array of a given name.

Definition at line 1043 of file m_config.f90.

◆ add_get_int()

subroutine m_config::cfg_add_get::add_get_int ( type(cfg_t), intent(inout)  cfg,
character(len=*), intent(in)  var_name,
integer, intent(inout)  int_data,
character(len=*), intent(in)  comment 
)
private

Get or add a integer value of a given name.

Definition at line 1101 of file m_config.f90.

◆ add_get_int_array()

subroutine m_config::cfg_add_get::add_get_int_array ( type(cfg_t), intent(inout)  cfg,
character(len=*), intent(in)  var_name,
integer, dimension(:), intent(inout)  int_data,
character(len=*), intent(in)  comment,
logical, intent(in), optional  dynamic_size 
)
private

Get or add a integer array of a given name.

Definition at line 1055 of file m_config.f90.

◆ add_get_logic()

subroutine m_config::cfg_add_get::add_get_logic ( type(cfg_t), intent(inout)  cfg,
character(len=*), intent(in)  var_name,
logical, intent(inout)  logical_data,
character(len=*), intent(in)  comment 
)
private

Get or add a logical value of a given name.

Definition at line 1111 of file m_config.f90.

◆ add_get_logic_array()

subroutine m_config::cfg_add_get::add_get_logic_array ( type(cfg_t), intent(inout)  cfg,
character(len=*), intent(in)  var_name,
logical, dimension(:), intent(inout)  logic_data,
character(len=*), intent(in)  comment,
logical, intent(in), optional  dynamic_size 
)
private

Get or add a logical array of a given name.

Definition at line 1079 of file m_config.f90.

◆ add_get_string()

subroutine m_config::cfg_add_get::add_get_string ( type(cfg_t), intent(inout)  cfg,
character(len=*), intent(in)  var_name,
character(len=*), intent(inout)  string_data,
character(len=*), intent(in)  comment 
)
private

Get a character value of a given name.

Definition at line 1121 of file m_config.f90.

◆ add_get_string_array()

subroutine m_config::cfg_add_get::add_get_string_array ( type(cfg_t), intent(inout)  cfg,
character(len=*), intent(in)  var_name,
character(len=*), dimension(:), intent(inout)  char_data,
character(len=*), intent(in)  comment,
logical, intent(in), optional  dynamic_size 
)
private

Get or add a character array of a given name.

Definition at line 1067 of file m_config.f90.