next up previous contents index
Next: Interface assignment(=) Up: Module paramreader_module Previous: Module variables   Contents   Index

Interface param_register


\begin{boxedminipage}{\textwidth}
\begin{verbatim}call param_register(dict,k...
...value_target])
call param_register(dict,key)\end{verbatim}
\end{boxedminipage}

Overloaded interface to register a parameter in a Dictionary object. key is the key name and value the default value. For a mandatory parameter use a value of PARAM_MANDATORY. The last argument to Register should be a pointer to the variable that the value of the parameter should be copied to after parsing by param_read_line, param_read_file or param_read_args. For a parameter which shouldn't be parsed, do not specify a target.

dict -- type(Dictionary), intent(inout)

key -- character(len=*), intent(in)

value -- character(len=*), intent(in)

logical_target -- logical, intent(inout), target

has_value_target -- logical, intent(inout), optional, target

int_target -- integer, intent(inout), target

int_target_array -- integer, intent(inout), target, dimension(:)

real_target -- real(dp), intent(inout), target

real_target_array -- real(dp), intent(inout), target, dimension(:)

char_target -- character(len=*), intent(inout), target

assignment(=) interface

gabor 2009-06-30