FLASH-X
Doxygen Generated Documentation From Interface Source Code
RuntimeParameters_interface.F90
Go to the documentation of this file.
1!! NOTICE
2!! Copyright 2022 UChicago Argonne, LLC and contributors
3!!
4!! Licensed under the Apache License, Version 2.0 (the "License");
5!! you may not use this file except in compliance with the License.
6!!
7!! Unless required by applicable law or agreed to in writing, software
8!! distributed under the License is distributed on an "AS IS" BASIS,
9!! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10!! See the License for the specific language governing permissions and
11!! limitations under the License.
12!!
13!! This is the header file for the RuntimeParameters module
14!! that defines its public interfaces.
16
17 implicit none
18
19# include "Simulation.h"
20# include "constants.h"
21
23 subroutine RuntimeParameters_addReal (name, value, rwState)
24 character(len=*), intent(in) :: name
25 real, intent(in) :: value
26 integer,OPTIONAL,intent(in) :: rwState
27 end subroutine RuntimeParameters_addReal
28
29 subroutine RuntimeParameters_addInt (name, value, rwState)
30 character(len=*), intent(in) :: name
31 integer, intent(in) :: value
32 integer,OPTIONAL,intent(in) :: rwState
33 end subroutine RuntimeParameters_addInt
34
35 subroutine RuntimeParameters_addStr (name, value, rwState)
36 character(len=*), intent(in) :: name
37 character(len=*), intent(in) :: value
38 integer,OPTIONAL,intent(in) :: rwState
39 end subroutine RuntimeParameters_addStr
40
41 subroutine RuntimeParameters_addLog (name, value, rwState)
42 character(len=*), intent(in) :: name
43 logical, intent(in) :: value
44 integer,OPTIONAL,intent(in) :: rwState
45 end subroutine RuntimeParameters_addLog
46 end interface
47
48 interface
50 end subroutine RuntimeParameters_bcast
51 end interface
52
53 interface
55 end subroutine RuntimeParameters_finalize
56 end interface
57
59 subroutine RuntimeParameters_getReal (name, value)
60 character(len=*), intent(in) :: name
61 real, intent(out) :: value
62 end subroutine RuntimeParameters_getReal
63
64 subroutine RuntimeParameters_getInt (name, value)
65 character(len=*), intent(in) :: name
66 integer, intent(out) :: value
67 end subroutine RuntimeParameters_getInt
68
69 subroutine RuntimeParameters_getStr (name, value)
70 character(len=*),intent(in) :: name
71 character(len=*),intent(out) :: value
72 end subroutine RuntimeParameters_getStr
73
74 subroutine RuntimeParameters_getLog (name, value)
75 character(len=*),intent(in) :: name
76 logical,intent(out) :: value
77 end subroutine RuntimeParameters_getLog
78 end interface
79
81 subroutine RuntimeParameters_getAllReal (num, names, values, changed)
82 integer, intent(in) :: num
83 character(len=MAX_STRING_LENGTH), intent(inout) :: names(num)
84 real, intent(inout) :: values(num)
85 logical, intent(inout) :: changed(num)
86 end subroutine RuntimeParameters_getAllReal
87
88 subroutine RuntimeParameters_getAllInt (num, names, values, changed)
89 integer, intent(in) :: num
90 character(len=MAX_STRING_LENGTH), intent(inout) :: names(num)
91 integer, intent(inout) :: values(num)
92 logical, intent(inout) :: changed(num)
93 end subroutine RuntimeParameters_getAllInt
94
95 subroutine RuntimeParameters_getAllStr (num, names, values, changed)
96 integer, intent(inout) :: num
97 character(len=MAX_STRING_LENGTH), intent(inout) :: names(num), values(num)
98 logical, intent(inout) :: changed(num)
99 end subroutine RuntimeParameters_getAllStr
100
101 subroutine RuntimeParameters_getAllLog (num, names, values, changed)
102 integer, intent(in) :: num
103 character(len=MAX_STRING_LENGTH), intent(inout) :: names(num)
104 logical, intent(inout) :: values(num)
105 logical, intent(inout) :: changed(num)
106 end subroutine RuntimeParameters_getAllLog
107 end interface
108
109 ! Even though the API implies there is an overloaded routine call
110 ! RuntimeParameters_getNum, there is NOT. The routines have
111 ! to be called directly
112 interface
114 integer, intent(out) :: nparms
115 end subroutine RuntimeParameters_getNumReal
116 end interface
117
118 interface
119 subroutine RuntimeParameters_getNumInt (nparms)
120 integer, intent(out) :: nparms
121 end subroutine RuntimeParameters_getNumInt
122 end interface
123
124 interface
125 subroutine RuntimeParameters_getNumStr (nparms)
126 integer, intent(out) :: nparms
127 end subroutine RuntimeParameters_getNumStr
128 end interface
129
130 interface
131 subroutine RuntimeParameters_getNumLog (nparms)
132 integer, intent(out) :: nparms
133 end subroutine RuntimeParameters_getNumLog
134 end interface
135
136 interface
137 subroutine RuntimeParameters_getNumIgn (numIgnoredParams)
138 integer, intent(out) :: numIgnoredParams
139 end subroutine RuntimeParameters_getNumIgn
140 end interface
141
143 subroutine RuntimeParameters_getPrevReal (name, value)
144 character(len=*), intent(in) :: name
145 real, intent(out) :: value
146 end subroutine RuntimeParameters_getPrevReal
147
148 subroutine RuntimeParameters_getPrevInt (name, value)
149 character(len=*), intent(in) :: name
150 integer, intent(out) :: value
151 end subroutine RuntimeParameters_getPrevInt
152
153 subroutine RuntimeParameters_getPrevStr (name, value)
154 character(len=*),intent(in) :: name
155 character(len=*),intent(out) :: value
156 end subroutine RuntimeParameters_getPrevStr
157
158 subroutine RuntimeParameters_getPrevLog (name, value)
159 character(len=*),intent(in) :: name
160 logical,intent(out) :: value
161 end subroutine RuntimeParameters_getPrevLog
162 end interface
163
164 interface
165 subroutine RuntimeParameters_init(restart)
166 logical, intent(out) :: restart
167 end subroutine RuntimeParameters_init
168 end interface
169
170 interface
171 subroutine RuntimeParameters_mapStrToInt (inputString, constKey)
172 character(len=MAX_STRING_LENGTH), intent(in) :: inputString
173 integer, intent(inout) :: constKey
174 end subroutine RuntimeParameters_mapStrToInt
175 end interface
176
177 interface
178 subroutine RuntimeParameters_read (parmfile)
179 character(len=MAX_STRING_LENGTH), intent(in) :: parmfile
180 end subroutine RuntimeParameters_read
181 end interface
182
184 subroutine RuntimeParameters_setReal (name, value)
185 character(len=*), intent(in) :: name
186 real, intent(in) :: value
187 end subroutine RuntimeParameters_setReal
188
189 subroutine RuntimeParameters_setInt (name, value)
190 character(len=*), intent(in) :: name
191 integer, intent(in) :: value
192 end subroutine RuntimeParameters_setInt
193
194 subroutine RuntimeParameters_setStr (name, value)
195 character(len=*),intent(in) :: name, value
196 end subroutine RuntimeParameters_setStr
197
198 subroutine RuntimeParameters_setLog (name, value)
199 character(len=*),intent(in) :: name
200 logical,intent(in) :: value
201 end subroutine RuntimeParameters_setLog
202 end interface
203
205 subroutine RuntimeParameters_setPrevReal (name, value)
206 character(len=*), intent(in) :: name
207 real, intent(in) :: value
208 end subroutine RuntimeParameters_setPrevReal
209
210 subroutine RuntimeParameters_setPrevInt (name, value)
211 character(len=*), intent(in) :: name
212 integer, intent(in) :: value
213 end subroutine RuntimeParameters_setPrevInt
214
215 subroutine RuntimeParameters_setPrevStr (name, value)
216 character(len=*),intent(in) :: name, value
217 end subroutine RuntimeParameters_setPrevStr
218
219 subroutine RuntimeParameters_setPrevLog (name, value)
220 character(len=*),intent(in) :: name
221 logical,intent(in) :: value
222 end subroutine RuntimeParameters_setPrevLog
223 end interface
224
225 interface
227 end subroutine RuntimeParameters_stampIgnored
228 end interface
229
subroutine RuntimeParameters_addLog(name, value, rwState)
subroutine RuntimeParameters_addReal(name, value, rwState)
subroutine RuntimeParameters_addInt(name, value, rwState)
subroutine RuntimeParameters_addStr(name, value, rwState)
subroutine RuntimeParameters_getAllReal(num, names, values, changed)
subroutine RuntimeParameters_getAllStr(num, names, values, changed)
subroutine RuntimeParameters_getAllInt(num, names, values, changed)
subroutine RuntimeParameters_getAllLog(num, names, values, changed)
subroutine RuntimeParameters_getPrevLog(name, value)
subroutine RuntimeParameters_getPrevInt(name, value)
subroutine RuntimeParameters_getPrevStr(name, value)
subroutine RuntimeParameters_getPrevReal(name, value)
subroutine RuntimeParameters_getReal(name, value)
subroutine RuntimeParameters_getInt(name, value)
subroutine RuntimeParameters_getLog(name, value)
subroutine RuntimeParameters_getStr(name, value)
subroutine RuntimeParameters_setPrevLog(name, value)
subroutine RuntimeParameters_setPrevStr(name, value)
subroutine RuntimeParameters_setPrevInt(name, value)
subroutine RuntimeParameters_setPrevReal(name, value)
subroutine RuntimeParameters_setLog(name, value)
subroutine RuntimeParameters_setInt(name, value)
subroutine RuntimeParameters_setStr(name, value)
subroutine RuntimeParameters_setReal(name, value)