Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RFLU_SetVarsWrapper.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: Wrapper for setting variables.
26 !
27 ! Description: None.
28 !
29 ! Input:
30 ! pRegion Pointer to region
31 ! icgBeg Beginning cell index
32 ! icgEnd Ending cell index
33 !
34 ! Output: None.
35 !
36 ! Notes: None.
37 !
38 ! ******************************************************************************
39 !
40 ! $Id: RFLU_SetVarsWrapper.F90,v 1.8 2008/12/06 08:44:13 mtcampbe Exp $
41 !
42 ! Copyright: (c) 2004-2005 by the University of Illinois
43 !
44 ! ******************************************************************************
45 
46 SUBROUTINE rflu_setvarswrapper(pRegion,icgBeg,icgEnd)
47 
48  USE moddatatypes
49  USE modparameters
50  USE moderror
51  USE modglobal, ONLY: t_global
52  USE moddatastruct, ONLY: t_region
53 
56 
57  IMPLICIT NONE
58 
59 ! ******************************************************************************
60 ! Definitions and declarations
61 ! ******************************************************************************
62 
63 ! ==============================================================================
64 ! Arguments
65 ! ==============================================================================
66 
67  INTEGER, INTENT(IN) :: icgbeg,icgend
68  TYPE(t_region), POINTER :: pregion
69 
70 ! ==============================================================================
71 ! Locals
72 ! ==============================================================================
73 
74  CHARACTER(CHRLEN) :: rcsidentstring
75  TYPE(t_global), POINTER :: global
76 
77 ! ******************************************************************************
78 ! Start
79 ! ******************************************************************************
80 
81  rcsidentstring = '$RCSfile: RFLU_SetVarsWrapper.F90,v $ $Revision: 1.8 $'
82 
83  global => pregion%global
84 
85  CALL registerfunction(global,'RFLU_SetVarsWrapper',&
86  'RFLU_SetVarsWrapper.F90')
87 
88 ! ******************************************************************************
89 ! Set variables
90 ! ******************************************************************************
91 
92  CALL rflu_setvarscontwrapper(pregion,icgbeg,icgend)
93  CALL rflu_setvarsdiscwrapper(pregion)
94 
95 ! ******************************************************************************
96 ! End
97 ! ******************************************************************************
98 
99  CALL deregisterfunction(global)
100 
101 END SUBROUTINE rflu_setvarswrapper
102 
103 ! ******************************************************************************
104 !
105 ! RCS Revision history:
106 !
107 ! $Log: RFLU_SetVarsWrapper.F90,v $
108 ! Revision 1.8 2008/12/06 08:44:13 mtcampbe
109 ! Updated license.
110 !
111 ! Revision 1.7 2008/11/19 22:17:26 mtcampbe
112 ! Added Illinois Open Source License/Copyright
113 !
114 ! Revision 1.6 2006/04/07 15:19:16 haselbac
115 ! Removed tabs
116 !
117 ! Revision 1.5 2005/11/10 22:22:44 fnajjar
118 ! ACH: Replaced body by calls to new SetVars routines
119 !
120 ! Revision 1.4 2005/11/10 02:17:24 haselbac
121 ! Added calls to convert species
122 !
123 ! Revision 1.3 2005/04/15 15:06:25 haselbac
124 ! Added range arguments, adapted calls to other routines accordingly
125 !
126 ! Revision 1.2 2004/11/29 17:18:13 wasistho
127 ! use ModInterfacesSpecies
128 !
129 ! Revision 1.1 2004/11/14 20:02:49 haselbac
130 ! Initial revision
131 !
132 ! ******************************************************************************
133 
134 
135 
136 
137 
138 
139 
subroutine rflu_setvarswrapper(pRegion, icgBeg, icgEnd)
subroutine registerfunction(global, funName, fileName)
Definition: ModError.F90:449
subroutine rflu_setvarscontwrapper(pRegion, icgBeg, icgEnd)
subroutine rflu_setvarsdiscwrapper(pRegion)
subroutine deregisterfunction(global)
Definition: ModError.F90:469