ORB5  v4.9.4
derived_inputs.F90 File Reference

Data Types

type  derived_inputs::input_real
 
type  derived_inputs::input_real_array
 
type  derived_inputs::input_integer
 
type  derived_inputs::input_integer8
 
type  derived_inputs::input_integer_array
 
type  derived_inputs::input_logical
 
type  derived_inputs::input_string
 
type  derived_inputs::input_nsel
 Selector definition (interface between input string and back-end predefined integer keys) More...
 
interface  derived_inputs::store_parameter
 
interface  derived_inputs::operator(==)
 
interface  derived_inputs::operator(/=)
 
interface  derived_inputs::operator(>)
 
interface  derived_inputs::operator(>=)
 
interface  derived_inputs::operator(<)
 
interface  derived_inputs::operator(<=)
 
interface  derived_inputs::operator(+)
 
interface  derived_inputs::operator(-)
 
interface  derived_inputs::operator(*)
 
interface  derived_inputs::operator(/)
 
interface  derived_inputs::modulo
 
interface  derived_inputs::abs
 
interface  derived_inputs::max
 
interface  derived_inputs::min
 
interface  derived_inputs::operator(.eqv.)
 
interface  derived_inputs::operator(.neqv.)
 
interface  derived_inputs::operator(.not.)
 
interface  derived_inputs::operator(.and.)
 
interface  derived_inputs::operator(.or.)
 
interface  derived_inputs::assignment(=)
 
interface  derived_inputs::trim
 

Modules

module  derived_inputs
 Define derived types "input_[...]" to attach descriptions and default values to input variables Most of the commonly used operators are overloaded to operate on derived input values (e.g. myinput==0 <=> myinputval==0).
 

Functions/Subroutines

subroutine derived_inputs::init_real (this, name, desc, default_value)
 
subroutine derived_inputs::init_real_array (this, name, desc, length, default_value)
 
subroutine derived_inputs::init_integer (this, name, desc, default_value)
 
subroutine derived_inputs::init_integer8 (this, name, desc, default_value)
 
subroutine derived_inputs::init_integer_array (this, name, desc, length, default_value)
 
subroutine derived_inputs::init_logical (this, name, desc, default_value)
 
subroutine derived_inputs::init_string (this, name, desc, default_value)
 
subroutine derived_inputs::init_nsel (this, name, desc)
 
subroutine derived_inputs::check_description (name, desc)
 Check that description is non-empty. More...
 
subroutine derived_inputs::check_array_length (name, length)
 Check that ARRAY_LEN is large enough. More...
 
subroutine derived_inputs::apply_to_real (this, path, var)
 
subroutine derived_inputs::apply_to_real_array (this, path, var)
 
subroutine derived_inputs::apply_to_integer (this, path, var)
 
subroutine derived_inputs::apply_to_integer8 (this, path, var)
 
subroutine derived_inputs::apply_to_integer_array (this, path, var)
 
subroutine derived_inputs::apply_to_logical (this, path, var)
 
subroutine derived_inputs::apply_to_string (this, path, var)
 
subroutine derived_inputs::apply_to_nsel (this, path, var, nerrors)
 Check if selection is valid, export it and set global variable. More...
 
subroutine derived_inputs::check_constructor (desc)
 Check that constructor has been called. More...
 
subroutine derived_inputs::display (name, val_str, desc)
 Display input name, value, and description (truncated at 140 characters) More...
 
subroutine derived_inputs::store_parameter_real (path, name, description, value)
 Store a real into hdf5 file. More...
 
subroutine derived_inputs::store_parameter_real_array (path, name, description, length, value)
 Store an array of reals into hdf5 file. More...
 
subroutine derived_inputs::store_parameter_integer (path, name, description, value)
 Store an integer into hdf5 file. More...
 
subroutine derived_inputs::store_parameter_integer8 (path, name, description, value)
 Store a double precision integer into hdf5 file. More...
 
subroutine derived_inputs::store_parameter_integer_array (path, name, description, length, value)
 Store an array of integers into hdf5 file. More...
 
subroutine derived_inputs::store_parameter_logical (path, name, description, value)
 Store a logical into hdf5 file. More...
 
subroutine derived_inputs::store_parameter_string (path, name, description, value)
 Store a string into hdf5 file. Use empty dataset attributes to append strings. More...
 
subroutine derived_inputs::store_parameter_nsel (path, name, description, value, value_description)
 Store a selector into hdf5 file. Use empty dataset attributes to append strings. More...
 
subroutine derived_inputs::add_option (this, input_key, key, key_desc, by_default)
 Add an option to the selector. More...
 
integer function derived_inputs::get_input_index (this, nerrors)
 Look for input key in array (return default if not found) More...
 
logical function derived_inputs::identical (str1, str2)
 Case-insensitive comparison between two strings. More...
 
character(len=len(strin)) function to_upper (strIn)
 Capitalize string Adapted from http://www.star.le.ac.uk/~cgp/fortran.html. More...
 
logical function derived_inputs::eq_inp_real (this, cmp)
 
logical function derived_inputs::eq_inp_integer (this, cmp)
 
logical function derived_inputs::eq_inp_nsel (this, cmp)
 
logical function derived_inputs::eq_real_inp (cmp, this)
 
logical function derived_inputs::eq_integer_inp (cmp, this)
 
logical function derived_inputs::eq_nsel_inp (cmp, this)
 
logical function derived_inputs::eq_inp_inp_real (this1, this2)
 
logical function derived_inputs::eq_inp_inp_integer (this1, this2)
 
logical function derived_inputs::neq_inp_real (this, cmp)
 
logical function derived_inputs::neq_inp_integer (this, cmp)
 
logical function derived_inputs::neq_inp_nsel (this, cmp)
 
logical function derived_inputs::neq_real_inp (cmp, this)
 
logical function derived_inputs::neq_integer_inp (cmp, this)
 
logical function derived_inputs::neq_nsel_inp (cmp, this)
 
logical function derived_inputs::neq_inp_inp_real (this1, this2)
 
logical function derived_inputs::neq_inp_inp_integer (this1, this2)
 
logical function derived_inputs::gt_inp_real (this, cmp)
 
logical function derived_inputs::gt_inp_integer (this, cmp)
 
logical function derived_inputs::gt_real_inp (cmp, this)
 
logical function derived_inputs::gt_integer_inp (cmp, this)
 
logical function derived_inputs::gt_inp_inp_real (this1, this2)
 
logical function derived_inputs::gt_inp_inp_integer (this1, this2)
 
logical function derived_inputs::ge_inp_real (this, cmp)
 
logical function derived_inputs::ge_inp_integer (this, cmp)
 
logical function derived_inputs::ge_real_inp (cmp, this)
 
logical function derived_inputs::ge_integer_inp (cmp, this)
 
logical function derived_inputs::ge_inp_inp_real (this1, this2)
 
logical function derived_inputs::ge_inp_inp_integer (this1, this2)
 
logical function derived_inputs::lt_inp_real (this, cmp)
 
logical function derived_inputs::lt_inp_integer (this, cmp)
 
logical function derived_inputs::lt_real_inp (cmp, this)
 
logical function derived_inputs::lt_integer_inp (cmp, this)
 
logical function derived_inputs::lt_inp_inp_real (this1, this2)
 
logical function derived_inputs::lt_inp_inp_integer (this1, this2)
 
logical function derived_inputs::le_inp_real (this, cmp)
 
logical function derived_inputs::le_inp_integer (this, cmp)
 
logical function derived_inputs::le_real_inp (cmp, this)
 
logical function derived_inputs::le_integer_inp (cmp, this)
 
logical function derived_inputs::le_inp_inp_real (this1, this2)
 
logical function derived_inputs::le_inp_inp_integer (this1, this2)
 
real function derived_inputs::add_inp_real (this, val)
 
integer function derived_inputs::add_inp_integer (this, val)
 
real function derived_inputs::add_real_inp (val, this)
 
integer function derived_inputs::add_integer_inp (val, this)
 
real function derived_inputs::add_inp_inp_real (this1, this2)
 
integer function derived_inputs::add_inp_inp_integer (this1, this2)
 
real function derived_inputs::sub_inp_real (this, val)
 
integer function derived_inputs::sub_inp_integer (this, val)
 
real function derived_inputs::sub_real_inp (val, this)
 
integer function derived_inputs::sub_integer_inp (val, this)
 
real function derived_inputs::sub_inp_inp_real (this1, this2)
 
integer function derived_inputs::sub_inp_inp_integer (this1, this2)
 
real function derived_inputs::mult_inp_real (this, val)
 
integer function derived_inputs::mult_inp_integer (this, val)
 
real function derived_inputs::mult_real_inp (val, this)
 
integer function derived_inputs::mult_integer_inp (val, this)
 
real function derived_inputs::mult_inp_inp_real (this1, this2)
 
integer function derived_inputs::mult_inp_inp_integer (this1, this2)
 
real function derived_inputs::div_inp_real (this, val)
 
integer function derived_inputs::div_inp_integer (this, val)
 
real function derived_inputs::div_real_inp (val, this)
 
integer function derived_inputs::div_integer_inp (val, this)
 
real function derived_inputs::div_inp_inp_real (this1, this2)
 
integer function derived_inputs::div_inp_inp_integer (this1, this2)
 
integer function derived_inputs::mod_inp_integer (this1, val)
 
integer function derived_inputs::mod_integer_inp (val, this2)
 
integer function derived_inputs::mod_inp_inp_integer (this1, this2)
 
real function derived_inputs::abs_inp_real (this)
 
integer function derived_inputs::abs_inp_integer (this)
 
real function derived_inputs::max_inp_real (this1, cmp)
 
integer function derived_inputs::max_inp_integer (this1, cmp)
 
real function derived_inputs::max_real_inp (cmp, this2)
 
integer function derived_inputs::max_integer_inp (cmp, this2)
 
real function derived_inputs::max_inp_inp_real (this1, this2)
 
integer function derived_inputs::max_inp_inp_integer (this1, this2)
 
real function derived_inputs::min_inp_real (this1, cmp)
 
integer function derived_inputs::min_inp_integer (this1, cmp)
 
real function derived_inputs::min_real_inp (cmp, this2)
 
integer function derived_inputs::min_integer_inp (cmp, this2)
 
real function derived_inputs::min_inp_inp_real (this1, this2)
 
integer function derived_inputs::min_inp_inp_integer (this1, this2)
 
logical function derived_inputs::eqv_inp_logical (this, cmp)
 
logical function derived_inputs::eqv_logical_inp (cmp, this)
 
logical function derived_inputs::eqv_inp_inp_logical (this1, this2)
 
logical function derived_inputs::neqv_inp_logical (this, cmp)
 
logical function derived_inputs::neqv_logical_inp (cmp, this)
 
logical function derived_inputs::neqv_inp_inp_logical (this1, this2)
 
logical function derived_inputs::not_inp (this)
 
logical function derived_inputs::and_inp_logical (this, val)
 
logical function derived_inputs::and_logical_inp (val, this)
 
logical function derived_inputs::and_inp_inp_logical (this1, this2)
 
logical function derived_inputs::or_inp_logical (this, val)
 
logical function derived_inputs::or_logical_inp (val, this)
 
logical function derived_inputs::or_inp_inp_logical (this1, this2)
 
subroutine derived_inputs::assign_inp_real (this, val)
 
subroutine derived_inputs::assign_inp_integer (this, val)
 
subroutine derived_inputs::assign_inp_logical (this, val)
 
subroutine derived_inputs::assign_inp_nsel (this, key)
 
subroutine derived_inputs::assign_real_inp (val, this)
 
subroutine derived_inputs::assign_integer_inp (val, this)
 
subroutine derived_inputs::assign_logical_inp (val, this)
 
subroutine derived_inputs::assign_inp_inp_real (this1, this2)
 
subroutine derived_inputs::assign_inp_inp_integer (this1, this2)
 
subroutine derived_inputs::assign_inp_inp_logical (this1, this2)
 
subroutine derived_inputs::assign_string_inp (val, this)
 
character(len=len_trim(this%val)) function derived_inputs::trim_inp (this)
 

Variables

integer, parameter derived_inputs::name_len = 30
 Maximal name length. More...
 
integer, parameter derived_inputs::desc_len = 512
 Maximal decription length. More...
 
integer, parameter derived_inputs::array_len = 64
 Maximal input array length. More...
 
integer, parameter derived_inputs::nopts_max = 99
 Maximal number of options for input_nsel. More...
 
integer, parameter derived_inputs::key_len = 60
 Maximal input length. More...
 

Function/Subroutine Documentation

◆ to_upper()

character(len=len(strin)) function identical::to_upper ( character(len=*), intent(in)  strIn)
private

Capitalize string Adapted from http://www.star.le.ac.uk/~cgp/fortran.html.

+ Here is the caller graph for this function: