Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RFLO_ExtrapolateGeometry.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: extrapolate grid coordinates from interior to dummy nodes.
26 !
27 ! Description: none.
28 !
29 ! Input: region%levels%grid = coordinates (physical cells) and dimensions
30 !
31 ! Output: region%levels%grid%xyz = coordinates (dummy cells)
32 !
33 ! Notes: only region interfaces with discontinuous grid are treated here.
34 !
35 !******************************************************************************
36 !
37 ! $Id: RFLO_ExtrapolateGeometry.F90,v 1.3 2008/12/06 08:44:27 mtcampbe Exp $
38 !
39 ! Copyright: (c) 2001 by the University of Illinois
40 !
41 !******************************************************************************
42 
43 SUBROUTINE rflo_extrapolategeometry( region )
44 
45  USE moddatatypes
46  USE moddatastruct, ONLY : t_region
47  USE modglobal, ONLY : t_global
48  USE moderror
49  USE modparameters
50  IMPLICIT NONE
51 
52 ! ... parameters
53  TYPE(t_region) :: region
54 
55 ! ... loop variables
56 
57 ! ... local variables
58  TYPE(t_global), POINTER :: global
59 
60 !******************************************************************************
61 
62  global => region%global
63 
64  CALL registerfunction( global,'RFLO_ExtrapolateGeometry',&
65  'RFLO_ExtrapolateGeometry.F90' )
66 
67 
68 
69  CALL deregisterfunction( global )
70 
71 END SUBROUTINE rflo_extrapolategeometry
72 
73 !******************************************************************************
74 !
75 ! RCS Revision history:
76 !
77 ! $Log: RFLO_ExtrapolateGeometry.F90,v $
78 ! Revision 1.3 2008/12/06 08:44:27 mtcampbe
79 ! Updated license.
80 !
81 ! Revision 1.2 2008/11/19 22:17:38 mtcampbe
82 ! Added Illinois Open Source License/Copyright
83 !
84 ! Revision 1.1 2004/11/29 20:51:39 wasistho
85 ! lower to upper case
86 !
87 ! Revision 1.5 2003/05/15 02:57:04 jblazek
88 ! Inlined index function.
89 !
90 ! Revision 1.4 2002/09/05 17:40:21 jblazek
91 ! Variable global moved into regions().
92 !
93 ! Revision 1.3 2002/02/21 23:25:06 jblazek
94 ! Blocks renamed as regions.
95 !
96 ! Revision 1.2 2002/01/08 22:09:17 jblazek
97 ! Added calculation of face vectors and volumes.
98 !
99 ! Revision 1.1 2002/01/02 16:04:20 jblazek
100 ! Added routines to generate geometry for dummy cells.
101 !
102 !******************************************************************************
103 
104 
105 
106 
107 
108 
109 
subroutine registerfunction(global, funName, fileName)
Definition: ModError.F90:449
subroutine rflo_extrapolategeometry(region)
subroutine deregisterfunction(global)
Definition: ModError.F90:469