Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RFLO_ExchangeDummyIreg.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: exchange values between interior and dummy cells of the
26 ! corresponding patches of the adjacent regions (both regions
27 ! are on the same processor).
28 !
29 ! Description: none.
30 !
31 ! Input: region = current region
32 ! regionSrc = source region
33 ! patch = current patch of region
34 ! patchSrc = source patch of regionSrc.
35 !
36 ! Output: regions%levels%mixt%cv = flow variables in dummy cells.
37 !
38 ! Notes: intended for non-conforming region interface with completely
39 ! unrelated grids.
40 !
41 !******************************************************************************
42 !
43 ! $Id: RFLO_ExchangeDummyIreg.F90,v 1.3 2008/12/06 08:44:26 mtcampbe Exp $
44 !
45 ! Copyright: (c) 2001 by the University of Illinois
46 !
47 !******************************************************************************
48 
49 SUBROUTINE rflo_exchangedummyireg( region,regionSrc,patch,patchSrc )
50 
51  USE moddatatypes
52  USE modbndpatch, ONLY : t_patch
53  USE moddatastruct, ONLY : t_region
54  USE modinterfaces, ONLY :
55  USE moderror
56  USE modparameters
57  IMPLICIT NONE
58 
59 ! ... parameters
60  TYPE(t_region) :: region, regionsrc
61  TYPE(t_patch) :: patch, patchsrc
62 
63 ! ... loop variables
64 
65 
66 ! ... local variables
67 
68 !******************************************************************************
69 
70  CALL registerfunction( region%global,'RFLO_ExchangeDummyIreg',&
71  'RFLO_ExchangeDummyIreg.F90' )
72 
73 
74 
75  CALL deregisterfunction( region%global )
76 
77 END SUBROUTINE rflo_exchangedummyireg
78 
79 !******************************************************************************
80 !
81 ! RCS Revision history:
82 !
83 ! $Log: RFLO_ExchangeDummyIreg.F90,v $
84 ! Revision 1.3 2008/12/06 08:44:26 mtcampbe
85 ! Updated license.
86 !
87 ! Revision 1.2 2008/11/19 22:17:37 mtcampbe
88 ! Added Illinois Open Source License/Copyright
89 !
90 ! Revision 1.1 2004/11/29 20:51:39 wasistho
91 ! lower to upper case
92 !
93 ! Revision 1.10 2003/11/20 16:40:39 mdbrandy
94 ! Backing out RocfluidMP changes from 11-17-03
95 !
96 ! Revision 1.6 2003/05/15 02:57:04 jblazek
97 ! Inlined index function.
98 !
99 ! Revision 1.5 2002/09/27 00:57:10 jblazek
100 ! Changed makefiles - no makelinks needed.
101 !
102 ! Revision 1.4 2002/09/05 17:40:21 jblazek
103 ! Variable global moved into regions().
104 !
105 ! Revision 1.3 2002/03/18 23:11:33 jblazek
106 ! Finished multiblock and MPI.
107 !
108 ! Revision 1.2 2002/02/21 23:25:06 jblazek
109 ! Blocks renamed as regions.
110 !
111 ! Revision 1.1 2002/01/28 23:55:22 jblazek
112 ! Added flux computation (central scheme).
113 !
114 !******************************************************************************
115 
116 
117 
118 
119 
120 
121 
subroutine rflo_exchangedummyireg(region, regionSrc, patch, patchSrc)
subroutine registerfunction(global, funName, fileName)
Definition: ModError.F90:449
Definition: patch.h:74
subroutine deregisterfunction(global)
Definition: ModError.F90:469