FLASH-X
Doxygen Generated Documentation From Interface Source Code
Multispecies_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 multispecies module
14!! that defines its public interfaces.
16#include "Simulation.h"
17#include "constants.h"
18
20 subroutine Multispecies_setProperty(name, property, value)
21 integer, intent(in) :: name, property
22 real, intent(in) :: value
23 end subroutine Multispecies_setProperty
24 subroutine Multispecies_setIntegerProperty(name, property, value)
25 integer, intent(in) :: name, property
26 integer, intent(in) :: value
28 subroutine Multispecies_setStringProperty(name, property, value)
29 integer, intent(in) :: name, property
30 character(len=*), intent(in) :: value
32
33 subroutine Multispecies_setRealArrProperty(name, property, value)
34 integer, intent(in) :: name, property
35 real, intent(in) :: value(:)
37
38 subroutine Multispecies_setIntArrProperty(name, property, value)
39 integer, intent(in) :: name, property
40 integer, intent(in) :: value(:)
42 end interface
43
45 subroutine Multispecies_list(fileUnit)
46 integer, intent(in) :: fileUnit
47 end subroutine Multispecies_list
48 end interface
49
51 subroutine Multispecies_init()
52
53 end subroutine Multispecies_init
54 end interface
55
57 subroutine Multispecies_getSumSqr(property, value, weights, speciesMask)
58 integer, intent(in) :: property
59 real, intent(out) :: value
60 real, intent(in), optional :: weights(:)
61 integer, intent(in), optional :: speciesMask(NSPECIES)
62 end subroutine Multispecies_getSumSqr
63 end interface
64
66 subroutine Multispecies_getSumInv(property, value, weights, speciesMask)
67 integer, intent(in) :: property
68 real, intent(out) :: value
69 real, intent(in), optional :: weights(:)
70 integer, intent(in), optional :: speciesMask(NSPECIES)
71 end subroutine Multispecies_getSumInv
72 end interface
73
75 subroutine Multispecies_getSumFrac(property, value, weights, speciesMask)
76 integer, intent(in) :: property
77 real, intent(out) :: value
78 real, intent(in), optional :: weights(:)
79 integer, intent(in), optional :: speciesMask(NSPECIES)
80 end subroutine Multispecies_getSumFrac
81 end interface
82
84 subroutine Multispecies_getSum(property, value, weights, speciesMask)
85 integer, intent(in) :: property
86 real, intent(out) :: value
87 real, intent(in), optional :: weights(:)
88 integer, intent(in), optional :: speciesMask(NSPECIES)
89 end subroutine Multispecies_getSum
90 end interface
91
93 subroutine Multispecies_getProperty(name, property, value)
94 integer, intent(in) :: name, property
95 real, intent(out) :: value
96 end subroutine Multispecies_getProperty
97 subroutine Multispecies_getIntegerProperty(name, property, value)
98 integer, intent(in) :: name, property
99 integer, intent(out) :: value
101 subroutine Multispecies_getStringProperty(name, property, value)
102 integer, intent(in) :: name, property
103 character(len=*),intent(out):: value
104 end subroutine Multispecies_getStringProperty
105
106 subroutine Multispecies_getRealArrProperty(name, property, value)
107 integer, intent(in) :: name, property
108 real, intent(out) :: value(:)
110
111 subroutine Multispecies_getIntArrProperty(name, property, value)
112 integer, intent(in) :: name, property
113 integer, intent(out) :: value(:)
114 end subroutine Multispecies_getIntArrProperty
115 end interface
116
117 interface
118 subroutine Multispecies_getPropertyVector(property, values)
119 integer, intent(in) :: property
120 real, intent(out) :: values(:)
121 end subroutine Multispecies_getPropertyVector
122 end interface
123
125 subroutine Multispecies_getAvg(property, value, weights, speciesMask)
126 integer, intent(in) :: property
127 real, intent(out) :: value
128 real, intent(in), optional :: weights(:)
129 integer, intent(in), optional :: speciesMask(NSPECIES)
130 end subroutine Multispecies_getAvg
131 end interface
132
135 end subroutine Multispecies_finalize
136 end interface
137
139 subroutine Multispecies_unitTest(fileUnit,perfect)
140 integer, intent(IN) :: fileUnit
141 logical, intent(INOUT) :: perfect
142 end subroutine Multispecies_unitTest
143 end interface
144
145end Module Multispecies_interface
subroutine Multispecies_getIntArrProperty(name, property, value)
subroutine Multispecies_getStringProperty(name, property, value)
subroutine Multispecies_getIntegerProperty(name, property, value)
subroutine Multispecies_getRealArrProperty(name, property, value)
subroutine Multispecies_setStringProperty(name, property, value)
subroutine Multispecies_setRealArrProperty(name, property, value)
subroutine Multispecies_setIntegerProperty(name, property, value)
subroutine Multispecies_setIntArrProperty(name, property, value)