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