FLASH-X
Doxygen Generated Documentation From Interface Source Code
IO_getPrevScalar.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!!
72
73
74subroutine IO_getPrevScalarReal (name, value, error)
75
76
77implicit none
78 character(len=*), intent(in) :: name
79 real, intent(out) :: value
80 integer, intent(out),optional :: error
81
82
83 if(present(error)) error = 0
84
85 value = 0.0
86 return
87
88end subroutine IO_getPrevScalarReal
89
90
91
92subroutine IO_getPrevScalarInt (name, value, error)
93
94
95implicit none
96 character(len=*), intent(in) :: name
97 integer, intent(out) :: value
98 integer, intent(out), optional :: error
99
100 if(present(error)) error = 0
101
102 value = 0
103 return
104
105end subroutine IO_getPrevScalarInt
106
107
108
109subroutine IO_getPrevScalarStr (name, value, error)
110
111
112implicit none
113 character(len=*), intent(in) :: name
114 character(len=*), intent(out) :: value
115 integer, intent(out),optional :: error
116
117 if(present(error)) error = 0
118
119 value = ' '
120 return
121
122end subroutine IO_getPrevScalarStr
123
124
125
126subroutine IO_getPrevScalarLog (name, value, error)
127
128
129implicit none
130 character(len=*), intent(in) :: name
131 logical, intent(out) :: value
132 integer, intent(out), optional :: error
133
134 if(present(error)) error = 0
135
136 value = .FALSE.
137 return
138
139end subroutine IO_getPrevScalarLog
140
141
142
subroutine IO_getPrevScalarStr(name, value, error)
subroutine IO_getPrevScalarReal(name, value, error)
subroutine IO_getPrevScalarInt(name, value, error)
subroutine IO_getPrevScalarLog(name, value, error)