Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RFLO_InitGridProcedures.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: wrap up of procedures involving original initial undeformed grid.
26 !
27 ! Description: procedures such as computing averaging weights based on initial
28 ! undeformed grid are called from here.
29 !
30 ! Input: regions = grid dimensions
31 ! input from file.
32 !
33 ! Output: specified in the called routines.
34 !
35 ! Notes: none.
36 !
37 !******************************************************************************
38 !
39 ! $Id: RFLO_InitGridProcedures.F90,v 1.8 2008/12/06 08:44:27 mtcampbe Exp $
40 !
41 ! Copyright: (c) 2001 by the University of Illinois
42 !
43 !******************************************************************************
44 
45 SUBROUTINE rflo_initgridprocedures( regions )
46 
47  USE moddatatypes
48  USE moddatastruct, ONLY : t_region
49  USE modglobal, ONLY : t_global
53  USE moderror
54  USE modparameters
55  IMPLICIT NONE
56 
57 ! ... parameters
58  TYPE (t_region), POINTER :: regions(:)
59 
60 ! ... loop variables
61 
62 ! ... local variables
63  TYPE(t_global), POINTER :: global
64 
65 !******************************************************************************
66 
67  global => regions(1)%global
68 
69  CALL registerfunction( global,'RFLO_GetGeometry',&
70  'RFLO_InitGridProcedures.F90' )
71 
72 ! broadcast block corners and remember closest six neighbors ------------------
73 
74  IF (global%moveGridScheme == movegrid_frame .OR. &
75  global%moveGridScheme == movegrid_foms .OR. &
76  global%moveGridScheme == movegrid_elframe) THEN
77  CALL rflo_mgframecornpoints( regions )
78  CALL rflo_mgframebroadcast( regions,0,1 )
79  CALL rflo_mgframesrchneighbors( regions )
80  ENDIF
81 
82 ! finalize
83 
84  CALL deregisterfunction( global )
85 
86 END SUBROUTINE rflo_initgridprocedures
87 
88 !******************************************************************************
89 !
90 ! RCS Revision history:
91 !
92 ! $Log: RFLO_InitGridProcedures.F90,v $
93 ! Revision 1.8 2008/12/06 08:44:27 mtcampbe
94 ! Updated license.
95 !
96 ! Revision 1.7 2008/11/19 22:17:38 mtcampbe
97 ! Added Illinois Open Source License/Copyright
98 !
99 ! Revision 1.6 2006/03/02 01:27:44 wasistho
100 ! split movegrid_epde to elglobal and elframe
101 !
102 ! Revision 1.5 2006/02/08 03:32:17 wasistho
103 ! added movegrid_epde
104 !
105 ! Revision 1.4 2005/10/28 07:38:54 wasistho
106 ! included moveGridFoms
107 !
108 ! Revision 1.3 2005/06/10 19:33:51 wasistho
109 ! added call to RFLO_MgFrameCornPoints
110 !
111 ! Revision 1.2 2005/06/01 07:21:13 wasistho
112 ! set iselect argument in mgFrameBroadcast from 2 to 0
113 !
114 ! Revision 1.1 2005/05/28 08:10:10 wasistho
115 ! import RFLO_InitGridProcedures
116 !
117 !
118 !******************************************************************************
119 
120 
121 
122 
123 
124 
125 
subroutine, public rflo_mgframebroadcast(regions, iselect, iter)
subroutine registerfunction(global, funName, fileName)
Definition: ModError.F90:449
subroutine rflo_initgridprocedures(regions)
subroutine, public rflo_mgframesrchneighbors(regions)
subroutine deregisterfunction(global)
Definition: ModError.F90:469
subroutine, public rflo_mgframecornpoints(regions)