Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PLAG_InjcTileUpdate.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: update step for injection tiles.
26 !
27 ! Description: none.
28 !
29 ! Input: region = current region
30 ! iReg = current region number
31 ! iStage = current RK stage.
32 !
33 ! Output: region%plag = plag variables
34 !
35 ! Notes: This corresponds to Part I Step 2 in RocfluidMP framework.
36 !
37 !******************************************************************************
38 !
39 ! $Id: PLAG_InjcTileUpdate.F90,v 1.3 2008/12/06 08:44:34 mtcampbe Exp $
40 !
41 ! Copyright: (c) 2003 by the University of Illinois
42 !
43 !******************************************************************************
44 
45 SUBROUTINE plag_injctileupdate( region, iReg, iStage )
46 
47  USE moddatatypes
48  USE moddatastruct, ONLY : t_region
49  USE modglobal, ONLY : t_global
50  USE modmixture, ONLY : t_mixt_input
51  USE modpartlag, ONLY : t_plag
52  USE moderror
53  USE modparameters
54 
56 
58 #ifdef RFLO
60 #endif
61 #ifdef RFLU
63 #endif
64  IMPLICIT NONE
65 
66 ! ... parameters
67  TYPE(t_region) :: region
68 
69  INTEGER :: ireg, istage
70 
71 ! ... loop variables
72 
73 ! ... local variables
74  CHARACTER(CHRLEN) :: rcsidentstring
75 
76  TYPE(t_global), POINTER :: global
77 #ifdef RFLU
78  TYPE(t_region), POINTER :: pregion
79 #endif
80 
81 !******************************************************************************
82 
83  rcsidentstring = '$RCSfile: PLAG_InjcTileUpdate.F90,v $ $Revision: 1.3 $'
84 
85  global => region%global
86 
87  CALL registerfunction( global, 'PLAG_InjcTileUpdate',&
88  'PLAG_InjcTileUpdate.F90' )
89 
90 ! - Calculate rhs for tile ----------------------------------------------------
91 
92 #ifdef RFLO
93 ! WRITE(STDOUT,'(A)') ' Entering PLAG_InjcTileCalcRhs'
94  CALL plag_injctilecalcrhs( region )
95 #endif
96 
97 #ifdef RFLU
98  pregion => region%pRegion
99 ! WRITE(STDOUT,'(A)') ' Entering PLAG_RFLU_InjcTileCalcRhs'
100  CALL plag_rflu_injctilecalcrhs( pregion )
101 #endif
102 
103 ! - Invoke RK update ----------------------------------------------------------
104 
105 ! WRITE(STDOUT,'(A)') ' Entering PLAG_InjcTileRKUpdate'
106  CALL plag_injctilerkupdate( region, istage )
107 
108 ! finalize --------------------------------------------------------------------
109 
110  CALL deregisterfunction( global )
111 
112 END SUBROUTINE plag_injctileupdate
113 
114 !******************************************************************************
115 !
116 ! RCS Revision history:
117 !
118 ! $Log: PLAG_InjcTileUpdate.F90,v $
119 ! Revision 1.3 2008/12/06 08:44:34 mtcampbe
120 ! Updated license.
121 !
122 ! Revision 1.2 2008/11/19 22:17:46 mtcampbe
123 ! Added Illinois Open Source License/Copyright
124 !
125 ! Revision 1.1 2004/12/01 20:57:48 fnajjar
126 ! Initial revision after changing case
127 !
128 ! Revision 1.6 2004/03/08 22:24:39 fnajjar
129 ! Modified routine to be RFLU-aware and added PLAG_RFLU_InjcTileCalcRhs call
130 !
131 ! Revision 1.5 2004/02/25 21:56:15 fnajjar
132 ! Moved tile pointers outside do-loop
133 !
134 ! Revision 1.4 2003/05/01 22:51:12 fnajjar
135 ! Removed PLAG_CalcFaceCentroids in PLAG_ModInterfaces list
136 !
137 ! Revision 1.3 2003/04/15 23:02:38 fnajjar
138 ! Removed dead code section
139 !
140 ! Revision 1.2 2003/03/28 19:52:22 fnajjar
141 ! Removed initialization step for tiles
142 !
143 ! Revision 1.1 2003/02/04 19:09:46 f-najjar
144 ! Initial Import
145 !
146 !******************************************************************************
147 
148 
149 
150 
151 
152 
153 
subroutine plag_rflu_injctilecalcrhs(pRegion)
subroutine plag_injctilecalcrhs(region)
subroutine plag_injctilerkupdate(region, iStage)
subroutine registerfunction(global, funName, fileName)
Definition: ModError.F90:449
subroutine plag_injctileupdate(region, iReg, iStage)
subroutine deregisterfunction(global)
Definition: ModError.F90:469