FLASH-X
Doxygen Generated Documentation From Interface Source Code
nameValueLL_getNum.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!!
26
27subroutine nameValueLL_getNumReal (context, num)
28
30
31 implicit none
32
33 type (context_type), intent(in) :: context
34 integer, intent(out) :: num
35
36 num = context%n_real
37end subroutine nameValueLL_getNumReal
38
39
40
41subroutine nameValueLL_getNumInt(context, num)
43
44 implicit none
45 type (context_type), intent(in) :: context
46 integer, intent(out) :: num
47
48 num = context%n_int
49end subroutine nameValueLL_getNumInt
50
51
52
53
54subroutine nameValueLL_getNumStr (context, num)
55
57
58 implicit none
59 type (context_type), intent(in) :: context
60 integer, intent(out) :: num
61
62 num = context%n_str
63end subroutine nameValueLL_getNumStr
64
65
66
67
68subroutine nameValueLL_getNumLog(context, num)
69
71 implicit none
72
73 type (context_type), intent(in) :: context
74 integer, intent(out) :: num
75
76 num = context%n_log
77end subroutine nameValueLL_getNumLog
78
79
80
81
82subroutine nameValueLL_getTotNum(context, num)
83
85 implicit none
86
87 type (context_type), intent(in) :: context
88 integer, intent(out) :: num
89 integer :: count
90
91 num = 0
92 call nameValueLL_getNumReal(context, count)
93 num = num + count
94 call nameValueLL_getNumInt(context, count)
95 num = num + count
96 call nameValueLL_getNumStr(context, count)
97 num = num + count
98 call nameValueLL_getNumLog(context, count)
99 num = num + count
100 return
101end subroutine nameValueLL_getTotNum
subroutine nameValueLL_getNumLog(context, num)
subroutine nameValueLL_getTotNum(context, num)
subroutine nameValueLL_getNumReal(context, num)
subroutine nameValueLL_getNumInt(context, num)
subroutine nameValueLL_getNumStr(context, num)