FLASH-X
Doxygen Generated Documentation From Interface Source Code
Simulation_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 Simulation module
14!! that defines its public interfaces.
16 implicit none
17#include "constants.h"
18#include "FortranLangFeatures.fh"
19
20 interface
21 subroutine Simulation_defineDomain(initialDomain,boundaries,nblks)
22 implicit none
23 integer,dimension(MDIM),intent(IN) :: nblks
24 integer,dimension(2*MDIM,nblks(IAXIS),nblks(JAXIS),nblks(KAXIS)),&
25 intent(OUT)::boundaries
26 logical,dimension(nblks(IAXIS),nblks(JAXIS),nblks(KAXIS)),&
27 intent(OUT)::initialDomain
28 end subroutine Simulation_defineDomain
29 end interface
30
31 interface
33 implicit none
34 end subroutine Simulation_finalize
35 end interface
36
37 interface
38 subroutine Simulation_getRenormGroup(mscalar,group)
39 implicit none
40 integer, intent(out) ::group
41 integer, intent(in) :: mscalar
42 end subroutine Simulation_getRenormGroup
43 end interface
44
45 interface
46 subroutine Simulation_getVarnameType(varname,vartype)
47 implicit none
48 integer, intent(out) :: vartype
49 integer, intent(in) :: varname
50 end subroutine Simulation_getVarnameType
51 end interface
52
53 interface
54 subroutine Simulation_initBlock(solnData,tileDesc)
55 use Grid_tile, ONLY : Grid_tile_t
56 implicit none
57 real,dimension(:,:,:,:),pointer :: solnData
58 type(Grid_tile_t), intent(in) :: tileDesc
59 end subroutine Simulation_initBlock
60 end interface
61
62 interface
63 subroutine Simulation_init()
64 implicit none
65 end subroutine Simulation_init
66 end interface
67
68 interface
70 logical,intent(in) :: restart
72 end interface
73
74 interface
76 implicit none
77 end subroutine Simulation_initSpecies
78 end interface
79
80 interface
81 subroutine Simulation_mapIntToStr(key, str, block)
82 implicit none
83 integer, intent(in) :: key, block
84 character(len=*), intent(inout) :: str
85 end subroutine Simulation_mapIntToStr
86 end interface
87
88 interface
89 subroutine Simulation_mapStrToInt(str,key,map)
90 implicit none
91 character(len=*), intent(in) :: str
92 integer, intent(out) :: key
93 integer, intent(in) :: map
94 end subroutine Simulation_mapStrToInt
95 end interface
96
97 interface
99 implicit none
100 end subroutine Simulation_sendOutputData
101 end interface
102
103 interface
104 subroutine Simulation_mapParticlesVar(part_key, var_key, var_type)
105 implicit none
106 integer, intent(in) :: part_key
107 integer, intent(out) :: var_key, var_type
108
109 end subroutine Simulation_mapParticlesVar
110 end interface
111
112 interface
114 implicit none
115
116 end subroutine Simulation_initRestart
117 end interface
118
119 interface
120 subroutine Simulation_customizeProlong(beforeOrAfter)
121 implicit none
122 integer, intent (IN) :: beforeOrAfter
123
124 end subroutine Simulation_customizeProlong
125 end interface
126
127 interface
128 logical function Simulation_wantsRebalance(nstep,time)
129 implicit none
130 integer, intent (IN) :: nstep
131 real, intent (IN) :: time
132 end function Simulation_wantsRebalance
133 end interface
134
135 interface
136 subroutine Simulation_computeAnalytical(solnData, tileDesc, tcurr)
137 use Grid_tile, ONLY : Grid_tile_t
138 implicit none
139 real,dimension(:,:,:,:),POINTER_INTENT_IN :: solnData
140 type(Grid_tile_t), intent(in) :: tileDesc
141 real , intent (IN) :: tcurr
142 end subroutine Simulation_computeAnalytical
143 end interface
144
145 interface
146 subroutine Simulation_adjustEvolution( nstep, dt, stime)
147 implicit none
148 integer, intent(in) :: nstep
149 real, intent(in) :: dt
150 real, intent(in) :: stime
151 end subroutine Simulation_adjustEvolution
152 end interface
153
154 interface
156 implicit none
157
158 end subroutine Simulation_freeUserArrays
159 end interface
160
161end Module Simulation_interface