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_add_get Interface Reference

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

Public Member Functions

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

Detailed Description

Interface to get variables from the configuration.

Definition at line 83 of file mod_config.t.

Member Function/Subroutine Documentation

◆ add_get_int()

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

Get or add a integer value of a given name.

Definition at line 937 of file mod_config.t.

◆ add_get_int_array()

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

Get or add a integer array of a given name.

Definition at line 891 of file mod_config.t.

◆ add_get_logic()

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

Get or add a logical value of a given name.

Definition at line 947 of file mod_config.t.

◆ add_get_logic_array()

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

Get or add a logical array of a given name.

Definition at line 915 of file mod_config.t.

◆ add_get_real()

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

Get or add a real value of a given name.

Definition at line 927 of file mod_config.t.

◆ add_get_real_array()

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

Get or add a real array of a given name.

Definition at line 879 of file mod_config.t.

◆ add_get_string()

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

Get a character value of a given name.

Definition at line 957 of file mod_config.t.

◆ add_get_string_array()

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

Get or add a character array of a given name.

Definition at line 903 of file mod_config.t.


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