Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RFLU_ModInterfacesSolver.F90
Go to the documentation of this file.
1 ! *********************************************************************
2 ! * Rocstar Simulation Suite *
3 ! * Copyright@2015, Illinois Rocstar LLC. All rights reserved. *
4 ! * *
5 ! * Illinois Rocstar LLC *
6 ! * Champaign, IL *
7 ! * www.illinoisrocstar.com *
8 ! * sales@illinoisrocstar.com *
9 ! * *
10 ! * License: See LICENSE file in top level of distribution package or *
11 ! * http://opensource.org/licenses/NCSA *
12 ! *********************************************************************
13 ! *********************************************************************
14 ! * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, *
15 ! * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES *
16 ! * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND *
17 ! * NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR *
18 ! * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
19 ! * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, *
20 ! * Arising FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE *
21 ! * USE OR OTHER DEALINGS WITH THE SOFTWARE. *
22 ! *********************************************************************
23 ! ******************************************************************************
24 !
25 ! Purpose: Set explicit interfaces to subroutines and functions for Rocflu
26 ! solver.
27 !
28 ! Description: None
29 !
30 ! Notes: None.
31 !
32 ! ******************************************************************************
33 !
34 ! $Id: RFLU_ModInterfacesSolver.F90,v 1.21 2008/12/06 08:44:22 mtcampbe Exp $
35 !
36 ! Copyright: (c) 2003-2004 by the University of Illinois
37 !
38 ! ******************************************************************************
39 
41 
42  IMPLICIT NONE
43 
44  INTERFACE
45 
46  SUBROUTINE rflu_centralfirstpatch(pRegion,pPatch)
47  USE modbndpatch, ONLY: t_patch
48  USE moddatastruct, ONLY: t_region
49  TYPE(t_patch), POINTER :: ppatch
50  TYPE(t_region), POINTER :: pregion
51  END SUBROUTINE rflu_centralfirstpatch
52 
53  SUBROUTINE rflu_centralfirstpatch_gl(pRegion,pPatch)
54  USE modbndpatch, ONLY: t_patch
55  USE moddatastruct, ONLY: t_region
56  TYPE(t_patch), POINTER :: ppatch
57  TYPE(t_region), POINTER :: pregion
58  END SUBROUTINE rflu_centralfirstpatch_gl
59 
60  SUBROUTINE rflu_centralsecondpatch(pRegion,pPatch)
61  USE modbndpatch, ONLY: t_patch
62  USE moddatastruct, ONLY: t_region
63  TYPE(t_patch), POINTER :: ppatch
64  TYPE(t_region), POINTER :: pregion
65  END SUBROUTINE rflu_centralsecondpatch
66 
67  SUBROUTINE rflu_centralsecondpatch_gl(pRegion,pPatch)
68  USE modbndpatch, ONLY: t_patch
69  USE moddatastruct, ONLY: t_region
70  TYPE(t_patch), POINTER :: ppatch
71  TYPE(t_region), POINTER :: pregion
72  END SUBROUTINE rflu_centralsecondpatch_gl
73 
74  SUBROUTINE rflu_checkgridspeeds(pRegion)
75  USE moddatastruct, ONLY: t_region
76  TYPE(t_region), POINTER :: pregion
77  END SUBROUTINE rflu_checkgridspeeds
78 
79  SUBROUTINE rflu_computeenerdissoles(region)
80  USE moddatastruct, ONLY: t_region
81  TYPE(t_region) :: region
82  END SUBROUTINE rflu_computeenerdissoles
83 
84  SUBROUTINE rflu_computefluxinv(pRegion,fluxPart)
85  USE moddatastruct, ONLY: t_region
86  INTEGER, INTENT(IN) :: fluxpart
87  TYPE(t_region), POINTER :: pregion
88  END SUBROUTINE rflu_computefluxinv
89 
90  SUBROUTINE rflu_computegridspeeds(pRegion)
91  USE moddatastruct, ONLY: t_region
92  TYPE(t_region), POINTER :: pregion
93  END SUBROUTINE rflu_computegridspeeds
94 
95  SUBROUTINE rflu_computeintegral1oles(pRegion)
96  USE moddatastruct, ONLY: t_region
97  TYPE(t_region), POINTER :: pregion
98  END SUBROUTINE rflu_computeintegral1oles
99 
100  SUBROUTINE rflu_computeintegral2oles(pRegion)
101  USE moddatastruct, ONLY: t_region
102  TYPE(t_region), POINTER :: pregion
103  END SUBROUTINE rflu_computeintegral2oles
104 
105  SUBROUTINE rflu_computeintegral3oles(region)
106  USE moddatastruct, ONLY: t_region
107  TYPE(t_region) :: region
108  END SUBROUTINE rflu_computeintegral3oles
109 
110  SUBROUTINE rflu_computeintegral4oles(pRegion)
111  USE moddatastruct, ONLY: t_region
112  TYPE(t_region), POINTER :: pregion
113  END SUBROUTINE rflu_computeintegral4oles
114 
115  SUBROUTINE rflu_computeintegral5oles(pRegion)
116  USE moddatastruct, ONLY: t_region
117  TYPE(t_region), POINTER :: pregion
118  END SUBROUTINE rflu_computeintegral5oles
119 
120 #ifndef GENX
121  SUBROUTINE rflu_computeintegralvalues(regions)
122  USE moddatastruct, ONLY: t_region
123  TYPE(t_region), POINTER :: regions(:)
124  END SUBROUTINE rflu_computeintegralvalues
125 #else
126  SUBROUTINE rflu_computeintegralvalues(regions,integ)
127  USE modrocstar ! To access MAN_INTEG_SIZE
128  USE moddatastruct, ONLY: t_region
129  DOUBLE PRECISION, DIMENSION(MAN_INTEG_SIZE) :: integ
130  TYPE(t_region), POINTER :: regions(:)
131  END SUBROUTINE rflu_computeintegralvalues
132 #endif
133 
134  SUBROUTINE rflu_computeintegrals1245oles(pRegion)
135  USE moddatastruct, ONLY: t_region
136  TYPE(t_region), POINTER :: pregion
137  END SUBROUTINE rflu_computeintegrals1245oles
138 
139  SUBROUTINE rflu_computeweightsoles(region)
140  USE moddatastruct, ONLY: t_region
141  TYPE(t_region) :: region
142  END SUBROUTINE rflu_computeweightsoles
143 
144  SUBROUTINE rflu_convfluxoles(region)
145  USE moddatastruct, ONLY: t_region
146  TYPE(t_region) :: region
147  END SUBROUTINE rflu_convfluxoles
148 
149  SUBROUTINE rflu_createfields(global,pLevel)
150  USE modglobal, ONLY: t_global
151  USE moddatastruct, ONLY: t_level
152  TYPE(t_global), POINTER :: global
153  TYPE(t_level), POINTER :: plevel
154  END SUBROUTINE rflu_createfields
155 
156  SUBROUTINE rflu_endflowsolver(levels)
157  USE moddatastruct, ONLY: t_level
158  TYPE(t_level), POINTER :: levels(:)
159  END SUBROUTINE rflu_endflowsolver
160 
161  SUBROUTINE rflu_equilibriumeulerian(pRegion)
162  USE moddatastruct, ONLY: t_region
163  TYPE(t_region), POINTER :: pregion
164  END SUBROUTINE rflu_equilibriumeulerian
165 
166  SUBROUTINE rflu_explicitmultistage(regions)
167  USE moddatastruct, ONLY: t_region
168  TYPE(t_region), POINTER :: regions(:)
169  END SUBROUTINE rflu_explicitmultistage
170 
171  SUBROUTINE rflu_finishsd(region)
172  USE moddatastruct, ONLY: t_region
173  TYPE(t_region) :: region
174  END SUBROUTINE rflu_finishsd
175 
176 #ifndef GENX
177  SUBROUTINE rflu_flowsolver(dTimeSystem,dIterSystem,levels)
178  USE moddatatypes
179  USE moddatastruct, ONLY: t_level
180  INTEGER, INTENT(IN) :: ditersystem
181  REAL(RFREAL), INTENT(IN) :: dtimesystem
182  TYPE(t_level), POINTER :: levels(:)
183  END SUBROUTINE rflu_flowsolver
184 #else
185  SUBROUTINE rflu_flowsolver(globalGenx,timeSystem,dTimeSystem,genxHandleBc, &
186  genxhandlegm)
187  USE moddatatypes
188  USE modrocstar, ONLY: t_globalgenx
189  INTEGER, INTENT(IN) :: genxhandlebc,genxhandlegm
190  DOUBLE PRECISION, INTENT(IN) :: dtimesystem,timesystem
191  TYPE(t_globalgenx), POINTER :: globalgenx
192  END SUBROUTINE rflu_flowsolver
193 #endif
194 
195  SUBROUTINE rflu_getdeformationwrapper(regions)
196  USE moddatastruct, ONLY: t_region
197  TYPE(t_region), DIMENSION(:), POINTER :: regions
198  END SUBROUTINE rflu_getdeformationwrapper
199 
200 #ifndef GENX
201  SUBROUTINE rflu_initflowsolver(casename,verbLevel,global,levels)
202  USE moddatatypes
203  USE modglobal, ONLY: t_global
204  USE moddatastruct, ONLY: t_level
205  CHARACTER(CHRLEN), INTENT(IN) :: casename
206  INTEGER, INTENT(IN) :: verblevel
207  TYPE(t_global), POINTER :: global
208  TYPE(t_level), POINTER :: levels(:)
209  END SUBROUTINE rflu_initflowsolver
210 #else
211  SUBROUTINE rflu_initflowsolver(globalGenx,initialTime,communicator,genxHandle)
212  USE modrocstar, ONLY: t_globalgenx
213  INTEGER, INTENT(IN) :: communicator,genxhandle
214  DOUBLE PRECISION, INTENT(IN) :: initialtime
215  TYPE(t_globalgenx), POINTER :: globalgenx
216  END SUBROUTINE rflu_initflowsolver
217 #endif
218 
219  SUBROUTINE rflu_invflux_i(pRegion)
220  USE moddatastruct, ONLY: t_region
221  TYPE(t_region), POINTER :: pregion
222  END SUBROUTINE rflu_invflux_i
223 
224  SUBROUTINE rflu_minimumtimestep(regions)
225  USE moddatastruct, ONLY: t_region
226  TYPE(t_region), POINTER :: regions(:)
227  END SUBROUTINE rflu_minimumtimestep
228 
229  SUBROUTINE rflu_movegriddisp(regions)
230  USE moddatastruct, ONLY: t_region
231  TYPE(t_region), POINTER :: regions(:)
232  END SUBROUTINE rflu_movegriddisp
233 
234  SUBROUTINE rflu_movegridwrapper(regions)
235  USE moddatastruct, ONLY: t_region
236  TYPE(t_region), POINTER :: regions(:)
237  END SUBROUTINE rflu_movegridwrapper
238 
239  SUBROUTINE rflu_movegridxyz(regions,context)
240  USE moddatastruct, ONLY: t_region
241  INTEGER, INTENT(IN) :: context
242  TYPE(t_region), POINTER :: regions(:)
243  END SUBROUTINE rflu_movegridxyz
244 
245  SUBROUTINE rflu_openconverfile(global)
246  USE modglobal, ONLY: t_global
247  TYPE(t_global), POINTER :: global
248  END SUBROUTINE rflu_openconverfile
249 
250  SUBROUTINE rflu_openstatsfileoles(global)
251  USE modglobal, ONLY: t_global
252  TYPE(t_global), POINTER :: global
253  END SUBROUTINE rflu_openstatsfileoles
254 
255  SUBROUTINE rflu_opentotalmassfile(global)
256  USE modglobal, ONLY: t_global
257  TYPE(t_global), POINTER :: global
258  END SUBROUTINE rflu_opentotalmassfile
259 
260  SUBROUTINE rflu_printwriteconvergence(global)
261  USE modglobal, ONLY: t_global
262  TYPE(t_global), POINTER :: global
263  END SUBROUTINE rflu_printwriteconvergence
264 
265  SUBROUTINE rflu_readintegrals1245oles(pRegion)
266  USE moddatastruct, ONLY: t_region
267  TYPE(t_region), POINTER :: pregion
268  END SUBROUTINE rflu_readintegrals1245oles
269 
270  SUBROUTINE rflu_residualnorm(regions)
271  USE moddatastruct, ONLY: t_region
272  TYPE(t_region), POINTER :: regions(:)
273  END SUBROUTINE rflu_residualnorm
274 
275  SUBROUTINE rflu_setmovegridoptions(pRegion)
276  USE moddatastruct, ONLY: t_region
277  TYPE(t_region), POINTER :: pregion
278  END SUBROUTINE rflu_setmovegridoptions
279 
280  SUBROUTINE rflu_timestepinviscid(pRegion)
281  USE moddatastruct, ONLY: t_region
282  TYPE(t_region), POINTER :: pregion
283  END SUBROUTINE rflu_timestepinviscid
284 
285  SUBROUTINE rflu_timestepviscous(pRegion)
286  USE moddatastruct, ONLY: t_region
287  TYPE(t_region), POINTER :: pregion
288  END SUBROUTINE rflu_timestepviscous
289 
290  SUBROUTINE rflu_timestepping(dTimeSystem,dIterSystem,regions)
291  USE moddatatypes
292  USE moddatastruct, ONLY: t_region
293  INTEGER, INTENT(IN) :: ditersystem
294  REAL(RFREAL), INTENT(IN) :: dtimesystem
295  TYPE(t_region), POINTER :: regions(:)
296  END SUBROUTINE rflu_timestepping
297 
298  SUBROUTINE rflu_user_getdeformation(region)
299  USE moddatastruct, ONLY: t_region
300  TYPE(t_region) :: region
301  END SUBROUTINE rflu_user_getdeformation
302 
303  SUBROUTINE rflu_updateboundaryvalues(region,istage)
304  USE moddatastruct, ONLY: t_region
305  INTEGER, INTENT(IN) :: istage
306  TYPE(t_region) :: region
307  END SUBROUTINE rflu_updateboundaryvalues
308 
309  SUBROUTINE rflu_writeintegrals1245oles(pRegion)
310  USE moddatastruct, ONLY: t_region
311  TYPE(t_region), POINTER :: pregion
312  END SUBROUTINE rflu_writeintegrals1245oles
313 
314  SUBROUTINE rflu_writestatsfileoles(global)
315  USE modglobal, ONLY: t_global
316  TYPE(t_global), POINTER :: global
317  END SUBROUTINE rflu_writestatsfileoles
318 
319  END INTERFACE
320 
321 END MODULE rflu_modinterfacessolver
322 
323 ! ******************************************************************************
324 !
325 ! RCS Revision history:
326 !
327 ! $Log: RFLU_ModInterfacesSolver.F90,v $
328 ! Revision 1.21 2008/12/06 08:44:22 mtcampbe
329 ! Updated license.
330 !
331 ! Revision 1.20 2008/11/19 22:17:33 mtcampbe
332 ! Added Illinois Open Source License/Copyright
333 !
334 ! Revision 1.19 2006/05/01 21:01:52 haselbac
335 ! Added if for RFLU_ComputeFluxInv
336 !
337 ! Revision 1.18 2006/03/26 20:22:05 haselbac
338 ! Added ifs for GL routines
339 !
340 ! Revision 1.17 2005/05/16 20:43:11 haselbac
341 ! Removed interfaces for flux routines, adapted interfaces for patch flux routines
342 !
343 ! Revision 1.16 2005/04/29 12:55:54 haselbac
344 ! Removed interfaces for probe routines
345 !
346 ! Revision 1.15 2005/04/15 16:30:47 haselbac
347 ! Added interface for RFLU_PrintWriteConvergence
348 !
349 ! Revision 1.14 2004/12/19 15:47:59 haselbac
350 ! Added interface for RFLU_InvFlux_I
351 !
352 ! Revision 1.13 2004/11/03 17:03:21 haselbac
353 ! Removed interface for RFLU_HACK_UpdateVirtualCells
354 !
355 ! Revision 1.12 2004/10/19 19:28:10 haselbac
356 ! Modified interfaces for time-step routines
357 !
358 ! Revision 1.11 2004/07/30 22:47:36 jferry
359 ! Implemented Equilibrium Eulerian method for Rocflu
360 !
361 ! Revision 1.10 2004/07/06 15:14:44 haselbac
362 ! Cosmetics only
363 !
364 ! Revision 1.9 2004/02/26 21:02:04 haselbac
365 ! Cosmetics only
366 !
367 ! Revision 1.8 2004/02/13 02:58:03 haselbac
368 ! Added interface for fast Roe routines
369 !
370 ! Revision 1.7 2004/01/29 22:57:37 haselbac
371 ! Added ifs for RFLU_RoeFirst and RFLU_RoeSecond.F90
372 !
373 ! Revision 1.6 2003/12/04 03:28:50 haselbac
374 ! Added entries for new routines, removed RFLU_UpdateCommLists (bug fix)
375 !
376 ! Revision 1.5 2003/11/25 21:03:26 haselbac
377 ! Added interface for RFLU_UpdateDummyCells
378 !
379 ! Revision 1.4 2003/10/03 20:45:47 haselbac
380 ! Added interface for RFLU_UpdateBoundaryValues
381 !
382 ! Revision 1.3 2003/06/04 22:11:13 haselbac
383 ! Added RFLU_CentralFirstPatch, rm RFLU_RoeCentralFirstPatch
384 !
385 ! Revision 1.2 2003/05/16 22:09:29 haselbac
386 ! Added RFLU_HLLCFirst
387 !
388 ! Revision 1.1 2003/04/10 14:37:10 haselbac
389 ! Initial revision
390 !
391 ! ******************************************************************************
392 
393 
394 
395 
396 
397 
subroutine rflu_movegriddisp(regions)
subroutine rflu_timestepviscous(pRegion)
subroutine rflu_movegridwrapper(regions)
subroutine rflu_centralsecondpatch(pRegion, pPatch)
subroutine rflu_printwriteconvergence(global)
subroutine rflu_flowsolver(dTimeSystem, dIterSystem, levels)
subroutine rflu_timestepinviscid(pRegion)
subroutine rflu_computeintegral5oles(pRegion)
subroutine rflu_computeintegrals1245oles(pRegion)
subroutine rflu_computeintegral4oles(pRegion)
subroutine rflu_writeintegrals1245oles(pRegion)
subroutine rflu_computefluxinv(pRegion, fluxPart)
subroutine rflu_convfluxoles(region)
subroutine rflu_computeintegral3oles(region)
subroutine rflu_centralsecondpatch_gl(pRegion, pPatch)
MPI_Comm communicator() const
Definition: Function.h:119
subroutine rflu_residualnorm(regions)
subroutine rflu_setmovegridoptions(pRegion)
subroutine rflu_computeintegral1oles(pRegion)
subroutine rflu_minimumtimestep(regions)
subroutine rflu_explicitmultistage(regions)
subroutine rflu_writestatsfileoles(global)
subroutine rflu_openstatsfileoles(global)
subroutine rflu_centralfirstpatch_gl(pRegion, pPatch)
subroutine rflu_computegridspeeds(pRegion)
subroutine rflu_movegridxyz(regions, context)
subroutine rflu_computeintegralvalues(regions)
subroutine rflu_computeenerdissoles(region)
subroutine rflu_computeintegral2oles(pRegion)
subroutine rflu_timestepping(dTimeSystem, dIterSystem, regions)
subroutine rflu_user_getdeformation(region)
subroutine rflu_updateboundaryvalues(region, istage)
subroutine rflu_equilibriumeulerian(pRegion)
subroutine rflu_opentotalmassfile(global)
subroutine rflu_openconverfile(global)
subroutine rflu_centralfirstpatch(pRegion, pPatch)
subroutine rflu_computeweightsoles(region)
subroutine rflu_endflowsolver(levels)
subroutine rflu_readintegrals1245oles(pRegion)
subroutine rflu_checkgridspeeds(pRegion)
subroutine rflu_invflux_i(pRegion)
subroutine rflu_getdeformationwrapper(regions)
subroutine rflu_initflowsolver(casename, verbLevel, global, levels)
subroutine rflu_finishsd(region)