Doxygen Generated Documentation From Interface Source Code
RuntimeParameters_set.F90 File Reference

Go to the source code of this file.


subroutine RuntimeParameters_setReal (name, value)
subroutine RuntimeParameters_setInt (name, value)
subroutine RuntimeParameters_setStr (name, value)
subroutine RuntimeParameters_setLog (name, value)

Function/Subroutine Documentation

◆ RuntimeParameters_setInt()

subroutine RuntimeParameters_setInt ( character(len=*), intent(in)  name,
integer, intent(in)  value 

Definition at line 65 of file RuntimeParameters_set.F90.

◆ RuntimeParameters_setLog()

subroutine RuntimeParameters_setLog ( character(len=*), intent(in)  name,
logical, intent(in)  value 

Definition at line 87 of file RuntimeParameters_set.F90.

◆ RuntimeParameters_setReal()

subroutine RuntimeParameters_setReal ( character(len=*), intent(in)  name,
real, intent(in)  value 

This is an overloaded function. RuntimeParameters_set under the hood implements RuntimeParameters_setReal RuntimeParameters_setInt, RuntimeParameters_setStr RuntimeParameters_setLog.

Parameters are added to the runtime database.

This routine is normally called from RuntimeParameters_read and other internal IO routines. We have left it in the API interface for user flexibility.

name: name value: name value


use RuntimeParameters, ONLY : RuntimeParameters_set

integer :: lrefine_max

lrefine_max = 6 call RuntimeParameters_set('lrefine_max', lrefine_max)


Because RuntimeParameters_set is an overloaded function, a user calling the routine must USE the interface RuntimeParameters_interface.

Definition at line 52 of file RuntimeParameters_set.F90.

◆ RuntimeParameters_setStr()

subroutine RuntimeParameters_setStr ( character(len=*), intent(in)  name,
character(len=*), intent(in)  value 

Definition at line 76 of file RuntimeParameters_set.F90.