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

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

Private Member Functions

subroutine get_real (cfg, var_name, res)
 Get a real value of a given name. More...
 
subroutine get_real_array (cfg, var_name, real_data)
 Get a real array of a given name. More...
 
subroutine get_int (cfg, var_name, res)
 Get a integer value of a given name. More...
 
subroutine get_int_array (cfg, var_name, int_data)
 Get a integer array of a given name. More...
 
subroutine get_logic (cfg, var_name, res)
 Get a logical value of a given name. More...
 
subroutine get_logic_array (cfg, var_name, logic_data)
 Get a logical array of a given name. More...
 
subroutine get_string (cfg, var_name, res)
 Get a character value of a given name. More...
 
subroutine get_string_array (cfg, var_name, char_data)
 Get a character array of a given name. More...
 

Detailed Description

Interface to get variables from the configuration.

Definition at line 92 of file m_config.f90.

Member Function/Subroutine Documentation

◆ get_real()

subroutine m_config::cfg_get::get_real ( type(cfg_t), intent(inout)  cfg,
character(len=*), intent(in)  var_name,
real(dp), intent(out)  res 
)
private

Get a real value of a given name.

Definition at line 999 of file m_config.f90.

◆ get_real_array()

subroutine m_config::cfg_get::get_real_array ( type(cfg_t), intent(inout)  cfg,
character(len=*), intent(in)  var_name,
real(dp), dimension(:), intent(inout)  real_data 
)
private

Get a real array of a given name.

Definition at line 951 of file m_config.f90.

◆ get_int()

subroutine m_config::cfg_get::get_int ( type(cfg_t), intent(inout)  cfg,
character(len=*), intent(in)  var_name,
integer, intent(inout)  res 
)
private

Get a integer value of a given name.

Definition at line 1010 of file m_config.f90.

◆ get_int_array()

subroutine m_config::cfg_get::get_int_array ( type(cfg_t), intent(inout)  cfg,
character(len=*), intent(in)  var_name,
integer, dimension(:), intent(inout)  int_data 
)
private

Get a integer array of a given name.

Definition at line 963 of file m_config.f90.

◆ get_logic()

subroutine m_config::cfg_get::get_logic ( type(cfg_t), intent(inout)  cfg,
character(len=*), intent(in)  var_name,
logical, intent(out)  res 
)
private

Get a logical value of a given name.

Definition at line 1021 of file m_config.f90.

◆ get_logic_array()

subroutine m_config::cfg_get::get_logic_array ( type(cfg_t), intent(inout)  cfg,
character(len=*), intent(in)  var_name,
logical, dimension(:), intent(inout)  logic_data 
)
private

Get a logical array of a given name.

Definition at line 987 of file m_config.f90.

◆ get_string()

subroutine m_config::cfg_get::get_string ( type(cfg_t), intent(inout)  cfg,
character(len=*), intent(in)  var_name,
character(len=*), intent(out)  res 
)
private

Get a character value of a given name.

Definition at line 1032 of file m_config.f90.

◆ get_string_array()

subroutine m_config::cfg_get::get_string_array ( type(cfg_t), intent(inout)  cfg,
character(len=*), intent(in)  var_name,
character(len=*), dimension(:), intent(inout)  char_data 
)
private

Get a character array of a given name.

Definition at line 975 of file m_config.f90.