Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ModInterfaces.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.
26 !
27 ! Description: none
28 !
29 ! Notes: none.
30 !
31 !******************************************************************************
32 !
33 ! $Id: ModInterfaces.F90,v 1.74 2008/12/06 08:44:18 mtcampbe Exp $
34 !
35 ! Copyright: (c) 2001 by the University of Illinois
36 !
37 !******************************************************************************
38 
40 
42  USE modinterfacesio
45 
46 #ifdef RFLO
50 #endif
51 
52 #ifdef RFLU
54 #ifdef GENX
56 #endif
60 #endif
61 
62  IMPLICIT NONE
63 
64  INTERFACE
65 
66  SUBROUTINE afterupdatemp( pRegion,istage )
67  USE moddatastruct, ONLY : t_region
68  TYPE(t_region), POINTER :: pregion
69  INTEGER, INTENT(IN) :: istage
70  END SUBROUTINE afterupdatemp
71 
72  SUBROUTINE allocatememorywork( region )
73  USE moddatastruct, ONLY : t_region
74  TYPE(t_region) :: region
75  END SUBROUTINE allocatememorywork
76 
77  SUBROUTINE buildversionstring(versionString)
78  CHARACTER(*) :: versionstring
79  END SUBROUTINE buildversionstring
80 
81  SUBROUTINE cellgradientsmp( region )
82  USE moddatastruct, ONLY : t_region
83  TYPE(t_region), TARGET :: region
84  END SUBROUTINE cellgradientsmp
85 
86  SUBROUTINE checkpositivitymp( region, pRegion )
87  USE moddatastruct, ONLY : t_region
88  TYPE(t_region) :: region
89  TYPE(t_region), POINTER :: pregion
90  END SUBROUTINE checkpositivitymp
91 
92  SUBROUTINE convectivefluxes( region )
93  USE moddatastruct, ONLY : t_region
94  TYPE(t_region) :: region
95  END SUBROUTINE convectivefluxes
96 
97  SUBROUTINE convectivefluxesmp( region )
98  USE moddatastruct, ONLY : t_region
99  TYPE(t_region) :: region
100  END SUBROUTINE convectivefluxesmp
101 
102 #ifdef RFLO
103  SUBROUTINE explicitmultistage( regions,ftermNew,residFterm )
104  USE moddatastruct, ONLY : t_region
105  TYPE(t_region), POINTER :: regions(:)
106  LOGICAL :: ftermnew, residfterm
107  END SUBROUTINE explicitmultistage
108 #endif
109 
110  SUBROUTINE globalcommunicationmp( regions )
111  USE moddatastruct, ONLY : t_region
112  TYPE(t_region), POINTER :: regions(:)
113  END SUBROUTINE globalcommunicationmp
114 
115  SUBROUTINE initcommunicationmp( regions,iReg,istage )
116  USE moddatastruct, ONLY : t_region
117  INTEGER, INTENT(IN) :: ireg, istage
118  TYPE(t_region), POINTER :: regions(:)
119  END SUBROUTINE initcommunicationmp
120 
121  SUBROUTINE integratesourcetermsmp(regions)
122  USE moddatastruct, ONLY: t_region
123  TYPE(t_region), POINTER :: regions(:)
124  END SUBROUTINE integratesourcetermsmp
125 
126  SUBROUTINE numericaldissipation( region )
127  USE moddatastruct, ONLY : t_region
128  TYPE(t_region) :: region
129  END SUBROUTINE numericaldissipation
130 
131  SUBROUTINE numericaldissipationmp( region )
132  USE moddatastruct, ONLY : t_region
133  TYPE(t_region) :: region
134  END SUBROUTINE numericaldissipationmp
135 
136  SUBROUTINE optimallesmp( region, pRegion )
137  USE moddatastruct, ONLY : t_region
138  TYPE(t_region) :: region
139  TYPE(t_region), POINTER :: pregion
140  END SUBROUTINE optimallesmp
141 
142  SUBROUTINE reflectposition(nx,ny,nz,xc,yc,zc,xComp,yComp,zComp)
143  USE moddatatypes
144  REAL(RFREAL), INTENT(IN) :: nx,ny,nz,xc,yc,zc
145  REAL(RFREAL), INTENT(INOUT) :: xcomp,ycomp,zcomp
146  END SUBROUTINE reflectposition
147 
148  SUBROUTINE reflectvector(nx,ny,nz,xComp,yComp,zComp)
149  USE moddatatypes
150  REAL(RFREAL), INTENT(IN) :: nx,ny,nz
151  REAL(RFREAL), INTENT(INOUT) :: xcomp,ycomp,zcomp
152  END SUBROUTINE reflectvector
153 
154  SUBROUTINE rkinitgeneric(region,iStage,icBeg,icEnd,ivBeg,ivEnd,cv,cvOld, &
155  diss)
156  USE moddatatypes
157  USE moddatastruct, ONLY: t_region
158  INTEGER, INTENT(IN) :: icbeg,icend,istage,ivbeg,ivend
159  REAL(RFREAL), DIMENSION(:,:), POINTER :: cv,cvold,diss
160  TYPE(t_region) :: region
161  END SUBROUTINE rkinitgeneric
162 
163  SUBROUTINE rkinitmp( region,istage )
164  USE moddatastruct, ONLY : t_region
165  TYPE(t_region), INTENT(INOUT), TARGET :: region
166  INTEGER, INTENT(IN) :: istage
167  END SUBROUTINE rkinitmp
168 
169  SUBROUTINE rkinitpointscalar(region,iStage,ivBeg,ivEnd,var,varOld)
170  USE moddatatypes
171  USE moddatastruct, ONLY: t_region
172  INTEGER, INTENT(IN) :: istage,ivbeg,ivend
173  REAL(RFREAL), DIMENSION(:), POINTER :: var,varold
174  TYPE(t_region) :: region
175  END SUBROUTINE rkinitpointscalar
176 
177  SUBROUTINE rkinitsd(region,icBeg,icEnd,ivBeg,ivEnd,sd)
178  USE moddatatypes
179  USE moddatastruct, ONLY: t_region
180  INTEGER, INTENT(IN) :: icbeg,icend,ivbeg,ivend
181  REAL(RFREAL), DIMENSION(:,:), POINTER :: sd
182  TYPE(t_region) :: region
183  END SUBROUTINE rkinitsd
184 
185  SUBROUTINE rkupdategeneric(region,varType,iStage,icBeg,icEnd,ivBeg,ivEnd, &
186  cv,cvold,rhs,rhssum)
187  USE moddatatypes
188  USE moddatastruct, ONLY: t_region
189  TYPE(t_region), INTENT(INOUT), TARGET :: region
190  INTEGER, INTENT(IN) :: icbeg,icend,istage,ivbeg,ivend,vartype
191  REAL(RFREAL), DIMENSION(:,:), POINTER :: cv,cvold,rhs,rhssum
192  END SUBROUTINE rkupdategeneric
193 
194  SUBROUTINE rkupdatemp( region, iReg, istage )
195  USE moddatastruct, ONLY : t_region
196  TYPE(t_region), INTENT(INOUT), TARGET :: region
197  INTEGER, INTENT(IN) :: ireg, istage
198  END SUBROUTINE rkupdatemp
199 
200  SUBROUTINE rkupdatepointscalar(region,iStage,ivBeg,ivEnd,var,varOld, &
201  rhs,rhssum)
202  USE moddatatypes
203  USE moddatastruct, ONLY: t_region
204  TYPE(t_region), INTENT(INOUT), TARGET :: region
205  INTEGER, INTENT(IN) :: istage,ivbeg,ivend
206  REAL(RFREAL), DIMENSION(:), POINTER :: var,varold,rhs,rhssum
207  END SUBROUTINE rkupdatepointscalar
208 
209  SUBROUTINE rungekuttamp( regions )
210  USE moddatastruct, ONLY : t_region
211  TYPE(t_region), POINTER :: regions(:)
212  END SUBROUTINE rungekuttamp
213 
214  SUBROUTINE sourceterms( region )
215  USE moddatastruct, ONLY : t_region
216  TYPE(t_region) :: region
217  END SUBROUTINE sourceterms
218 
219  SUBROUTINE sourcetermsmp( region )
220  USE moddatastruct, ONLY : t_region
221  TYPE(t_region), TARGET :: region
222  END SUBROUTINE sourcetermsmp
223 
224  SUBROUTINE updatedependentvarsmp( region )
225  USE moddatastruct, ONLY : t_region
226  TYPE(t_region) :: region
227  END SUBROUTINE updatedependentvarsmp
228 
229  SUBROUTINE viscousfluxes( region )
230  USE moddatastruct, ONLY : t_region
231  TYPE(t_region) :: region
232  END SUBROUTINE viscousfluxes
233 
234  SUBROUTINE viscousfluxesmp( region )
235  USE moddatastruct, ONLY : t_region
236  TYPE(t_region), TARGET :: region
237  END SUBROUTINE viscousfluxesmp
238 
239  SUBROUTINE zeroresidualsmp(region)
240  USE moddatastruct, ONLY: t_region
241  TYPE(t_region) :: region
242  END SUBROUTINE zeroresidualsmp
243 
244  END INTERFACE
245 
246 END MODULE modinterfaces
247 
248 !******************************************************************************
249 !
250 ! RCS Revision history:
251 !
252 ! $Log: ModInterfaces.F90,v $
253 ! Revision 1.74 2008/12/06 08:44:18 mtcampbe
254 ! Updated license.
255 !
256 ! Revision 1.73 2008/11/19 22:17:29 mtcampbe
257 ! Added Illinois Open Source License/Copyright
258 !
259 ! Revision 1.72 2006/08/19 15:38:53 mparmar
260 ! Added RkInitPointScalar and RkUpdatePointScalar
261 !
262 ! Revision 1.71 2006/01/06 22:08:56 haselbac
263 ! Enclosed if for ExplicitMultistage within ifdef RFLO
264 !
265 ! Revision 1.70 2004/12/02 15:26:05 haselbac
266 ! Added entry for BuildVersionString
267 !
268 ! Revision 1.69 2004/11/29 17:38:28 wasistho
269 ! get rid of physical modules ModInterfaces
270 !
271 ! Revision 1.68 2004/11/29 17:13:02 wasistho
272 ! commented physical module ModInterfaces
273 !
274 ! Revision 1.67 2004/11/17 16:29:23 haselbac
275 ! Adapted interface for rkUpdateGeneric
276 !
277 ! Revision 1.66 2004/08/02 23:12:52 wasistho
278 ! mv libfloflu/viscousFluxEddy(Patch) to rocflo/RFLO_viscousFlux(Patch)
279 !
280 ! Revision 1.65 2004/07/30 22:47:35 jferry
281 ! Implemented Equilibrium Eulerian method for Rocflu
282 !
283 ! Revision 1.64 2004/05/05 20:49:43 fnajjar
284 ! Added entry for ReflectVector and corrected ReflectPosition
285 !
286 ! Revision 1.63 2004/04/08 01:34:54 haselbac
287 ! Added interface for ReflectVector
288 !
289 ! Revision 1.62 2004/04/01 21:28:15 haselbac
290 ! Added entry for integrateSourceTermsMP
291 !
292 ! Revision 1.61 2004/03/25 21:14:21 jferry
293 ! changed AfterUpdate to call most subroutines only after final RK stage
294 !
295 ! Revision 1.60 2004/03/02 21:47:28 jferry
296 ! Added After Update interactions
297 !
298 ! Revision 1.59 2004/02/26 21:14:58 wasistho
299 ! added globalCommunication
300 !
301 ! Revision 1.58 2004/01/31 03:57:57 haselbac
302 ! Removed interface for rungeKutta, no longer needed
303 !
304 ! Revision 1.57 2004/01/29 22:57:23 haselbac
305 ! Added interface for updateDependentVarsMP.F90
306 !
307 ! Revision 1.56 2003/12/04 03:28:26 haselbac
308 ! Added interface for CellGradientsMP
309 !
310 ! Revision 1.55 2003/11/25 21:03:11 haselbac
311 ! Added interfaces for generic MP routines
312 !
313 ! Revision 1.54 2003/09/26 21:43:23 fnajjar
314 ! Commented ModInterfaces pertinent to Physical modules
315 !
316 ! Revision 1.53 2003/08/28 20:29:38 wasistho
317 ! excluced ModInterfacesTurbulence,Radiation,Periodic from ModInterfaces
318 !
319 ! Revision 1.52 2003/08/11 21:50:00 jblazek
320 ! Splitted ModInterfaces into 4 sections.
321 !
322 ! Revision 1.51 2003/06/10 22:54:42 jferry
323 ! Added Piecewise TBC
324 !
325 !******************************************************************************
326 
327 
328 
329 
330 
331 
subroutine convectivefluxesmp(region)
subroutine zeroresidualsmp(region)
subroutine viscousfluxesmp(region)
subroutine integratesourcetermsmp(regions)
NT rhs
subroutine initcommunicationmp(regions, iReg, istage)
subroutine rkupdategeneric(region, varType, iStage, icBeg, icEnd, ivBeg, ivEnd, cv, cvOld, rhs, rhsSum)
subroutine rkupdatepointscalar(region, iStage, ivBeg, ivEnd, var, varOld, rhs, rhsSum)
subroutine cellgradientsmp(region)
subroutine optimallesmp(region, pRegion)
subroutine sourcetermsmp(region)
subroutine explicitmultistage(regions, ftermNew, residFterm)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE icbeg
subroutine reflectvector(nx, ny, nz, xComp, yComp, zComp)
subroutine buildversionstring(versionString)
subroutine checkpositivitymp(region, pRegion)
subroutine rungekuttamp(regions)
subroutine reflectposition(nx, ny, nz, xc, yc, zc, xComp, yComp, zComp)
subroutine rkinitsd(region, icBeg, icEnd, ivBeg, ivEnd, sd)
Definition: RkInitSD.F90:50
subroutine viscousfluxes(region)
subroutine convectivefluxes(region)
subroutine globalcommunicationmp(regions)
subroutine rkinitpointscalar(region, iStage, ivBeg, ivEnd, var, varOld)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE icend
subroutine rkupdatemp(region, iReg, istage)
Definition: RkUpdateMP.F90:45
subroutine afterupdatemp(pRegion, istage)
subroutine allocatememorywork(region)
subroutine numericaldissipationmp(region)
subroutine rkinitgeneric(region, iStage, icBeg, icEnd, ivBeg, ivEnd, cv, cvOld, diss)
subroutine rkinitmp(region, istage)
Definition: RkInitMP.F90:44
subroutine updatedependentvarsmp(region)
subroutine sourceterms(region)
Definition: SourceTerms.F90:44
subroutine numericaldissipation(region)