MPI-AMRVAC 3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code (development version)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
mod_config::cfg_get Interface Reference

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

Public Member Functions

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

Detailed Description

Interface to get variables from the configuration.

Definition at line 75 of file mod_config.t.

Member Function/Subroutine Documentation

◆ get_int()

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

Get a integer value of a given name.

Definition at line 846 of file mod_config.t.

◆ get_int_array()

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

Get a integer array of a given name.

Definition at line 799 of file mod_config.t.

◆ get_logic()

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

Get a logical value of a given name.

Definition at line 857 of file mod_config.t.

◆ get_logic_array()

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

Get a logical array of a given name.

Definition at line 823 of file mod_config.t.

◆ get_real()

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

Get a real value of a given name.

Definition at line 835 of file mod_config.t.

◆ get_real_array()

subroutine mod_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 
)

Get a real array of a given name.

Definition at line 787 of file mod_config.t.

◆ get_string()

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

Get a character value of a given name.

Definition at line 868 of file mod_config.t.

◆ get_string_array()

subroutine mod_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 
)

Get a character array of a given name.

Definition at line 811 of file mod_config.t.


The documentation for this interface was generated from the following file: