Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PLAG_ModInterfacesCECells.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 ! for corner and edge cells.
27 !
28 ! Description: none.
29 !
30 ! Notes: none.
31 !
32 !******************************************************************************
33 !
34 ! $Id: PLAG_ModInterfacesCECells.F90,v 1.7 2008/12/06 08:44:34 mtcampbe Exp $
35 !
36 ! Copyright: (c) 2003 by the University of Illinois
37 !
38 !******************************************************************************
39 
41 
42  IMPLICIT NONE
43 
44  INTERFACE
45 
46 ! =============================================================================
47 ! PLAG specific library
48 ! =============================================================================
49 
50  SUBROUTINE plag_cecellsallocatedata( regions,iReg )
51  USE moddatastruct, ONLY : t_region
52  TYPE(t_region), POINTER :: regions(:)
53  INTEGER, INTENT(IN) :: ireg
54  END SUBROUTINE plag_cecellsallocatedata
55 
56  SUBROUTINE plag_cecellsclearrequestsdata( regions, iReg )
57  USE moddatastruct, ONLY : t_region
58  TYPE(t_region), POINTER :: regions(:)
59  INTEGER, INTENT(IN) :: ireg
60  END SUBROUTINE plag_cecellsclearrequestsdata
61 
62  SUBROUTINE plag_cecellsclearrequestssize( regions, iReg )
63  USE moddatastruct, ONLY : t_region
64  TYPE(t_region), POINTER :: regions(:)
65  INTEGER, INTENT(IN) :: ireg
66  END SUBROUTINE plag_cecellsclearrequestssize
67 
68  SUBROUTINE plag_cecellsdeallocatedata( regions,iReg )
69  USE moddatastruct, ONLY : t_region
70  TYPE(t_region), POINTER :: regions(:)
71  INTEGER, INTENT(IN) :: ireg
72  END SUBROUTINE plag_cecellsdeallocatedata
73 
74  SUBROUTINE plag_cecellsexchange( regions,iReg )
75  USE moddatastruct, ONLY : t_region
76  TYPE(t_region), POINTER :: regions(:)
77  INTEGER, INTENT(IN) :: ireg
78  END SUBROUTINE plag_cecellsexchange
79 
80  SUBROUTINE plag_cecellsfacecentroids( regions,iReg )
81  USE moddatastruct, ONLY : t_region
82  TYPE(t_region), POINTER :: regions(:)
83  INTEGER, INTENT(IN) :: ireg
84  END SUBROUTINE plag_cecellsfacecentroids
85 
86  SUBROUTINE plag_cecellsfacevectors( regions,iReg )
87  USE moddatastruct, ONLY : t_region
88  TYPE(t_region), POINTER :: regions(:)
89  INTEGER, INTENT(IN) :: ireg
90  END SUBROUTINE plag_cecellsfacevectors
91 
92  SUBROUTINE plag_cecellsgetbuffersize( region,iReg )
93  USE moddatastruct, ONLY : t_region
94  TYPE(t_region) :: region
95  INTEGER, INTENT(IN) :: ireg
96  END SUBROUTINE plag_cecellsgetbuffersize
97 
98  SUBROUTINE plag_cecellsloaddatawrapper( regions,iReg )
99  USE moddatastruct, ONLY : t_region
100  TYPE(t_region), POINTER :: regions(:)
101  INTEGER, INTENT(IN) :: ireg
102  END SUBROUTINE plag_cecellsloaddatawrapper
103 
104  SUBROUTINE plag_cecellsrecvdata( regions, iReg )
105  USE moddatastruct, ONLY : t_region
106  TYPE(t_region), POINTER :: regions(:)
107  INTEGER, INTENT(IN) :: ireg
108  END SUBROUTINE plag_cecellsrecvdata
109 
110  SUBROUTINE plag_cecellsrecvsize( regions, iReg )
111  USE moddatastruct, ONLY : t_region
112  TYPE(t_region), POINTER :: regions(:)
113  INTEGER, INTENT(IN) :: ireg
114  END SUBROUTINE plag_cecellsrecvsize
115 
116  SUBROUTINE plag_cecellssenddata( regions, iReg )
117  USE moddatastruct, ONLY : t_region
118  TYPE(t_region), POINTER :: regions(:)
119  INTEGER, INTENT(IN) :: ireg
120  END SUBROUTINE plag_cecellssenddata
121 
122  SUBROUTINE plag_cecellssendrecvwrapper( regions )
123  USE moddatastruct, ONLY : t_region
124  TYPE(t_region), POINTER :: regions(:)
125  END SUBROUTINE plag_cecellssendrecvwrapper
126 
127  SUBROUTINE plag_cecellssendsize( regions, iReg )
128  USE moddatastruct, ONLY : t_region
129  TYPE(t_region), POINTER :: regions(:)
130  INTEGER, INTENT(IN) :: ireg
131  END SUBROUTINE plag_cecellssendsize
132 
133  SUBROUTINE plag_corncellsloaddata( regions, iReg )
134  USE moddatastruct, ONLY : t_region
135  TYPE(t_region), POINTER :: regions(:)
136  INTEGER, INTENT(IN) :: ireg
137  END SUBROUTINE plag_corncellsloaddata
138 
139  SUBROUTINE plag_corncellsloadsendbuff( regions, iReg, ir, nBuffSizeEdge, &
140  nbuffsizecorn )
141  USE moddatastruct, ONLY : t_region
142  TYPE(t_region), POINTER :: regions(:)
143  INTEGER, INTENT(IN) :: ireg, ir
144  INTEGER, INTENT(IN) :: nbuffsizeedge
145  INTEGER, INTENT(OUT) :: nbuffsizecorn
146  END SUBROUTINE plag_corncellsloadsendbuff
147 
148  SUBROUTINE plag_edgecellsloaddata( regions, iReg )
149  USE moddatastruct, ONLY : t_region
150  TYPE(t_region), POINTER :: regions(:)
151  INTEGER, INTENT(IN) :: ireg
152  END SUBROUTINE plag_edgecellsloaddata
153 
154  SUBROUTINE plag_edgecellsloadsendbuff( regions, iReg, ir, nBuffSizeEdge )
155  USE moddatastruct, ONLY : t_region
156  TYPE(t_region), POINTER :: regions(:)
157  INTEGER, INTENT(IN) :: ireg, ir
158  INTEGER, INTENT(OUT) :: nbuffsizeedge
159  END SUBROUTINE plag_edgecellsloadsendbuff
160 
161  SUBROUTINE plag_rflo_clearsendrequests( regions, iReg )
162  USE moddatastruct, ONLY : t_region
163  TYPE(t_region), POINTER :: regions(:)
164  INTEGER, INTENT(IN) :: ireg
165  END SUBROUTINE plag_rflo_clearsendrequests
166 
167  SUBROUTINE plag_rflo_findgridmapping( regions )
168  USE moddatastruct, ONLY : t_region
169  TYPE(t_region), POINTER :: regions(:)
170  END SUBROUTINE plag_rflo_findgridmapping
171 
172  SUBROUTINE plag_rflo_findsourcecell( regions,iReg,iLev,ic,jc,kc,&
173  found,iregsrc,indexmapmat )
174  USE moddatastruct, ONLY : t_region
175  TYPE(t_region), POINTER :: regions(:)
176  INTEGER, INTENT(IN) :: ireg, ilev
177  INTEGER, INTENT(INOUT) :: ic, jc, kc
178  INTEGER, INTENT(OUT) :: iregsrc, indexmapmat(3,4)
179  LOGICAL, INTENT(OUT) :: found
180  END SUBROUTINE plag_rflo_findsourcecell
181 
182  SUBROUTINE plag_rflo_getfacemapping( mapMat, srcDir, srcFace )
183  INTEGER, INTENT(IN) :: mapmat(3,4)
184  INTEGER, INTENT(OUT) :: srcdir(3)
185  INTEGER, INTENT(OUT) :: srcface(6)
186  END SUBROUTINE plag_rflo_getfacemapping
187 
188  SUBROUTINE plag_rflo_recvmetrics( regions, iReg )
189  USE moddatastruct, ONLY : t_region
190  TYPE(t_region), POINTER :: regions(:)
191  INTEGER, INTENT(IN) :: ireg
192  END SUBROUTINE plag_rflo_recvmetrics
193 
194  SUBROUTINE plag_rflo_sendmetrics( regions, iReg )
195  USE moddatastruct, ONLY : t_region
196  TYPE(t_region), POINTER :: regions(:)
197  INTEGER, INTENT(IN) :: ireg
198  END SUBROUTINE plag_rflo_sendmetrics
199 
200  SUBROUTINE plag_rflo_sendrecvmetrics( regions )
201  USE moddatastruct, ONLY : t_region
202  TYPE(t_region), POINTER :: regions(:)
203  END SUBROUTINE plag_rflo_sendrecvmetrics
204 
205  SUBROUTINE plag_rflo_sourcecell( region,regionSrc,patch,patchSrc, &
206  ilev,ic,jc,kc,found,indexmapmat )
207  USE moddatastruct, ONLY : t_region
208  USE modbndpatch, ONLY : t_patch
209  TYPE(t_region) :: region, regionsrc
210  TYPE(t_patch), POINTER :: patch, patchsrc
211  INTEGER, INTENT(IN) :: ilev
212  INTEGER, INTENT(INOUT) :: ic,jc,kc
213  INTEGER, INTENT(OUT) :: indexmapmat(3,4)
214  LOGICAL, INTENT(INOUT) :: found
215  END SUBROUTINE plag_rflo_sourcecell
216 
217  END INTERFACE
218 
219 END MODULE plag_modinterfacescecells
220 
221 !******************************************************************************
222 !
223 ! RCS Revision history:
224 !
225 ! $Log: PLAG_ModInterfacesCECells.F90,v $
226 ! Revision 1.7 2008/12/06 08:44:34 mtcampbe
227 ! Updated license.
228 !
229 ! Revision 1.6 2008/11/19 22:17:46 mtcampbe
230 ! Added Illinois Open Source License/Copyright
231 !
232 ! Revision 1.5 2004/03/19 23:49:12 fnajjar
233 ! Added interface call to loading buffers for MPI-based communications
234 !
235 ! Revision 1.4 2004/03/10 23:12:54 fnajjar
236 ! Included interfaces for MPI-based routines for corner-edge cells
237 !
238 ! Revision 1.3 2004/02/10 21:23:08 fnajjar
239 ! Added call and interfaces for index mapping between corner-edge regions
240 !
241 ! Revision 1.2 2004/01/26 22:55:31 fnajjar
242 ! Included calls to routines for corner-edge data loading
243 !
244 ! Revision 1.1 2004/01/15 21:17:37 fnajjar
245 ! Initial Import of Interface for corner-edge cell routines
246 !
247 !******************************************************************************
248 
249 
250 
251 
252 
253 
subroutine plag_rflo_getfacemapping(mapMat, srcDir, srcFace)
**********************************************************************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 kc
subroutine plag_cecellsloaddatawrapper(regions, iReg)
subroutine plag_cecellsfacecentroids(regions, iReg)
subroutine plag_cecellsallocatedata(regions, iReg)
subroutine plag_edgecellsloadsendbuff(regions, iReg, ir, nBuffSizeEdge)
subroutine plag_edgecellsloaddata(regions, iReg)
subroutine plag_rflo_sourcecell(region, regionSrc, patch, patchSrc, iLev, ic, jc, kc, found, indexMapMat)
**********************************************************************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 ic
subroutine plag_rflo_findgridmapping(regions)
subroutine plag_rflo_findsourcecell(regions, iReg, iLev, ic, jc, kc, found, iRegSrc, indexMapMat)
subroutine plag_rflo_sendrecvmetrics(regions)
subroutine plag_cecellsrecvdata(regions, iReg)
subroutine plag_cecellsdeallocatedata(regions, iReg)
subroutine plag_cecellssenddata(regions, iReg)
subroutine plag_cecellsclearrequestssize(regions, iReg)
subroutine plag_cecellsexchange(regions, iReg)
Definition: patch.h:74
subroutine plag_cecellsrecvsize(regions, iReg)
subroutine plag_cecellsfacevectors(regions, iReg)
subroutine plag_cecellsgetbuffersize(region, iReg)
subroutine plag_cecellssendrecvwrapper(regions)
subroutine plag_rflo_clearsendrequests(regions, iReg)
subroutine plag_rflo_recvmetrics(regions, iReg)
subroutine plag_cecellsclearrequestsdata(regions, iReg)
subroutine plag_cecellssendsize(regions, iReg)
subroutine plag_rflo_sendmetrics(regions, iReg)
subroutine plag_corncellsloadsendbuff(regions, iReg, ir, nBuffSizeEdge, nBuffSizeCorn)
subroutine plag_corncellsloaddata(regions, iReg)
**********************************************************************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 jc