Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RFLU_EnforceBoundsWrapper.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 enforcing boundedness of variables.
26 !
27 ! Description: None.
28 !
29 ! Input:
30 ! pRegion Region data
31 !
32 ! Output: None.
33 !
34 ! Notes: None.
35 !
36 !******************************************************************************
37 !
38 ! $Id: RFLU_EnforceBoundsWrapper.F90,v 1.5 2008/12/06 08:44:12 mtcampbe Exp $
39 !
40 ! Copyright: (c) 2004 by the University of Illinois
41 !
42 !******************************************************************************
43 
44 SUBROUTINE rflu_enforceboundswrapper(pRegion)
45 
46  USE moddatatypes
47  USE moderror
48  USE modglobal, ONLY: t_global
49  USE moddatastruct, ONLY: t_region
50  USE modparameters
51  USE modmpi
52 
53 #ifdef SPEC
55 #endif
56 
57  IMPLICIT NONE
58 
59 ! *****************************************************************************
60 ! Definitions and declarations
61 ! *****************************************************************************
62 
63 ! =============================================================================
64 ! Arguments
65 ! =============================================================================
66 
67  TYPE(t_region), POINTER :: pregion
68 
69 ! =============================================================================
70 ! Locals
71 ! =============================================================================
72 
73  CHARACTER(CHRLEN) :: rcsidentstring
74  TYPE(t_global), POINTER :: global
75 
76 ! *****************************************************************************
77 ! Start
78 ! *****************************************************************************
79 
80  rcsidentstring = '$RCSfile: RFLU_EnforceBoundsWrapper.F90,v $ $Revision: 1.5 $'
81 
82  global => pregion%global
83 
84  CALL registerfunction(global,'RFLU_EnforceBoundsWrapper',&
85  'RFLU_EnforceBoundsWrapper.F90')
86 
87 ! *****************************************************************************
88 ! Mixture
89 ! *****************************************************************************
90 
91 
92 ! *****************************************************************************
93 ! Multiphysics modules
94 ! *****************************************************************************
95 
96 #ifdef SPEC
97 ! =============================================================================
98 ! Species
99 ! =============================================================================
100 
101  IF ( global%specUsed .EQV. .true. ) THEN
102  CALL spec_rflu_enforcebounds(pregion)
103  END IF ! global%specUsed
104 #endif
105 
106 ! *****************************************************************************
107 ! End
108 ! *****************************************************************************
109 
110  CALL deregisterfunction(global)
111 
112 END SUBROUTINE rflu_enforceboundswrapper
113 
114 !******************************************************************************
115 !
116 ! RCS Revision history:
117 !
118 ! $Log: RFLU_EnforceBoundsWrapper.F90,v $
119 ! Revision 1.5 2008/12/06 08:44:12 mtcampbe
120 ! Updated license.
121 !
122 ! Revision 1.4 2008/11/19 22:17:25 mtcampbe
123 ! Added Illinois Open Source License/Copyright
124 !
125 ! Revision 1.3 2004/11/29 17:18:00 wasistho
126 ! use ModInterfacesSpecies
127 !
128 ! Revision 1.2 2004/07/28 15:29:19 jferry
129 ! created global variable for spec use
130 !
131 ! Revision 1.1 2004/01/29 22:56:00 haselbac
132 ! Initial revision
133 !
134 !******************************************************************************
135 
136 
137 
138 
139 
140 
141 
subroutine rflu_enforceboundswrapper(pRegion)
subroutine registerfunction(global, funName, fileName)
Definition: ModError.F90:449
subroutine spec_rflu_enforcebounds(pRegion)
subroutine deregisterfunction(global)
Definition: ModError.F90:469