Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TURB_LesRkInit.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: set initial global variables of LES at beginning of RKstage.
26 !
27 ! Description: none.
28 !
29 ! Input: region = data of current region,
30 ! iStage = current RK stage.
31 !
32 ! Output: global% = new related global variables at beginning of each RKstage.
33 !
34 ! Notes: iStage is not used hitherto, but made available when needed in future.
35 !
36 !******************************************************************************
37 !
38 ! $Id: TURB_LesRkInit.F90,v 1.5 2008/12/06 08:44:42 mtcampbe Exp $
39 !
40 ! Copyright: (c) 2003 by the University of Illinois
41 !
42 !******************************************************************************
43 
44 SUBROUTINE turb_lesrkinit( region, istage )
45 
46  USE moddatatypes
47  USE moddatastruct, ONLY : t_region
48  USE modglobal, ONLY : t_global
49  USE moderror
50 
51  IMPLICIT NONE
52 
53 ! ... parameters
54  TYPE(t_region) :: region
55 
56  INTEGER, INTENT(IN) :: istage
57 
58  TYPE(t_global), POINTER :: global
59 
60 !******************************************************************************
61 
62  global => region%global
63 
64  CALL registerfunction( global,'TURB_LesRkInit',&
65  'TURB_LesRkInit.F90' )
66 
67 ! initialize LES variables that are global to each processor ------------------
68 
69 ! finalize --------------------------------------------------------------------
70 
71  CALL deregisterfunction( global )
72 
73 END SUBROUTINE turb_lesrkinit
74 
75 !******************************************************************************
76 !
77 ! RCS Revision history:
78 !
79 ! $Log: TURB_LesRkInit.F90,v $
80 ! Revision 1.5 2008/12/06 08:44:42 mtcampbe
81 ! Updated license.
82 !
83 ! Revision 1.4 2008/11/19 22:17:54 mtcampbe
84 ! Added Illinois Open Source License/Copyright
85 !
86 ! Revision 1.3 2004/05/12 20:08:36 wasistho
87 ! moved RK-initialisation of global variables from LesRKinit to RkInit
88 !
89 ! Revision 1.2 2004/03/19 02:50:45 wasistho
90 ! prepared for RFLU
91 !
92 ! Revision 1.1 2004/03/05 04:37:00 wasistho
93 ! changed nomenclature
94 !
95 ! Revision 1.1 2004/02/26 21:32:12 wasistho
96 ! install TURB_lesRkInit
97 !
98 !
99 !
100 !******************************************************************************
101 
102 
103 
104 
105 
106 
107 
subroutine registerfunction(global, funName, fileName)
Definition: ModError.F90:449
subroutine deregisterfunction(global)
Definition: ModError.F90:469
subroutine turb_lesrkinit(region, istage)