Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RFLU_FlowSolverDummy.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: Dummy flow solver for GenX.
26 !
27 ! Description: None.
28 !
29 ! Input:
30 ! globalGenx Pointer to global data
31 ! timeSystem System time
32 ! dTimeSystem System time step
33 ! genxHandleBc Handle for BC update
34 ! genxHandleGm Handle for geometry update.
35 !
36 ! Output: None.
37 !
38 ! Notes: None.
39 !
40 !******************************************************************************
41 !
42 ! $Id: RFLU_FlowSolverDummy.F90,v 1.4 2008/12/06 08:44:01 mtcampbe Exp $
43 !
44 ! Copyright: (c) 2002 by the University of Illinois
45 !
46 !******************************************************************************
47 
48 SUBROUTINE rflu_flowsolverdummy(globalGenx,timeSystem,dTimeSystem, &
49  genxhandlebc,genxhandlegm)
50 
51  USE moddatatypes
52  USE modrocstar, ONLY: t_globalgenx
53  USE moddatastruct, ONLY: t_level
54  USE modglobal, ONLY: t_global
55  USE moderror
56  USE modmpi
57  USE modparameters
58 
59  IMPLICIT NONE
60 
61 ! ... parameters
62  INTEGER, INTENT(IN) :: genxhandlebc,genxhandlegm
63  DOUBLE PRECISION, INTENT(IN) :: dtimesystem,timesystem
64  TYPE(t_globalgenx), POINTER :: globalgenx
65 
66 ! ... local variables
67  CHARACTER(CHRLEN) :: rcsidentstring
68  TYPE(t_global), POINTER :: global
69  TYPE(t_level), POINTER :: plevel
70 
71 !******************************************************************************
72 
73  rcsidentstring = '$RCSfile: RFLU_FlowSolverDummy.F90,v $ $Revision: 1.4 $'
74 
75 ! initialize some global variables
76 
77  global => globalgenx%global
78  plevel => globalgenx%levels(1)
79 
80  global%genxHandleBc = genxhandlebc
81  global%genxHandleGm = genxhandlegm
82  global%dTimeSystem = dtimesystem
83 
84 ! start time stepping
85 
86  CALL registerfunction(global,'RFLU_FlowSolverDummy',&
87  'RFLU_FlowSolverDummy.F90')
88 
89  CALL errorstop(global,err_external_funct,__line__)
90 
91 ! finalize
92 
93  CALL deregisterfunction(global)
94 
95 END SUBROUTINE rflu_flowsolverdummy
96 
97 !******************************************************************************
98 !
99 ! RCS Revision history:
100 !
101 ! $Log: RFLU_FlowSolverDummy.F90,v $
102 ! Revision 1.4 2008/12/06 08:44:01 mtcampbe
103 ! Updated license.
104 !
105 ! Revision 1.3 2008/11/19 22:17:15 mtcampbe
106 ! Added Illinois Open Source License/Copyright
107 !
108 ! Revision 1.2 2002/10/17 19:55:55 haselbac
109 ! Added timeSystem as second argument
110 !
111 ! Revision 1.1 2002/10/05 18:28:18 haselbac
112 ! Initial revision
113 !
114 !******************************************************************************
115 
116 
117 
118 
119 
120 
121 
subroutine registerfunction(global, funName, fileName)
Definition: ModError.F90:449
subroutine rflu_flowsolverdummy(globalGenx, timeSystem, dTimeSystem, genxHandleBc, genxHandleGm)
subroutine errorstop(global, errorCode, errorLine, addMessage)
Definition: ModError.F90:483
subroutine deregisterfunction(global)
Definition: ModError.F90:469