Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RFLU_SetVarInfoWrapper.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 variable info.
26 !
27 ! Description: None.
28 !
29 ! Input:
30 ! pRegion Pointer to region data
31 !
32 ! Output: None.
33 !
34 ! Notes: None.
35 !
36 ! ******************************************************************************
37 !
38 ! $Id: RFLU_SetVarInfoWrapper.F90,v 1.3 2008/12/06 08:44:13 mtcampbe Exp $
39 !
40 ! Copyright: (c) 2004 by the University of Illinois
41 !
42 ! ******************************************************************************
43 
44 SUBROUTINE rflu_setvarinfowrapper(pRegion)
45 
46  USE moddatatypes
47  USE moderror
48  USE modparameters
49  USE modglobal, ONLY: t_global
50  USE moddatastruct, ONLY: t_region
51 
52  USE modinterfaces, ONLY: rflu_setvarinfo
53 
54 #ifdef SPEC
56 #endif
57 
58  IMPLICIT NONE
59 
60 ! ******************************************************************************
61 ! Declarations and definitions
62 ! ******************************************************************************
63 
64 ! ==============================================================================
65 ! Arguments
66 ! ==============================================================================
67 
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_SetVarInfoWrapper.F90,v $ $Revision: 1.3 $'
82 
83  global => pregion%global
84 
85  CALL registerfunction(global,'RFLU_SetVarInfoWrapper',&
86  'RFLU_SetVarInfoWrapper.F90')
87 
88 ! ******************************************************************************
89 ! Set variable info
90 ! ******************************************************************************
91 
92 ! ==============================================================================
93 ! Mixture
94 ! ==============================================================================
95 
96  CALL rflu_setvarinfo(pregion)
97 
98 ! ==============================================================================
99 ! Physics modules
100 ! ==============================================================================
101 
102 #ifdef SPEC
103  IF ( global%specUsed .EQV. .true. ) THEN
104  CALL spec_rflu_setvarinfo(pregion)
105  END IF ! global%specUsed
106 #endif
107 
108 ! ******************************************************************************
109 ! End
110 ! ******************************************************************************
111 
112  CALL deregisterfunction(global)
113 
114 END SUBROUTINE rflu_setvarinfowrapper
115 
116 ! ******************************************************************************
117 !
118 ! RCS Revision history:
119 !
120 ! $Log: RFLU_SetVarInfoWrapper.F90,v $
121 ! Revision 1.3 2008/12/06 08:44:13 mtcampbe
122 ! Updated license.
123 !
124 ! Revision 1.2 2008/11/19 22:17:26 mtcampbe
125 ! Added Illinois Open Source License/Copyright
126 !
127 ! Revision 1.1 2004/11/02 02:26:50 haselbac
128 ! Initial revision
129 !
130 ! ******************************************************************************
131 
132 
133 
134 
135 
136 
137 
subroutine registerfunction(global, funName, fileName)
Definition: ModError.F90:449
subroutine spec_rflu_setvarinfo(pRegion)
subroutine rflu_setvarinfowrapper(pRegion)
subroutine deregisterfunction(global)
Definition: ModError.F90:469
subroutine rflu_setvarinfo(pRegion)