Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PEUL_InitSolution.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: initialize memory for all variables associated with the Eulerian
26 ! particles (PEUL) for all active regions on current processor.
27 !
28 ! Description: none.
29 !
30 ! Input: iReg = current region number
31 ! region = current region
32 !
33 ! Output: region%peul = peul variables
34 !
35 ! Notes: none.
36 !
37 !******************************************************************************
38 !
39 ! $Id: PEUL_InitSolution.F90,v 1.3 2008/12/06 08:44:39 mtcampbe Exp $
40 !
41 ! Copyright: (c) 2002 by the University of Illinois
42 !
43 !******************************************************************************
44 
45 SUBROUTINE peul_initsolution( iReg, region ) ! PUBLIC
46 
47  USE moddatatypes
48  USE moddatastruct, ONLY : t_region
49  USE modglobal, ONLY : t_global
50  USE modparteul, ONLY : t_peul
51  USE moderror
52  USE modparameters
53  IMPLICIT NONE
54 
55 ! ... parameters
56  INTEGER, INTENT(IN) :: ireg
57  TYPE(t_region), INTENT(INOUT) :: region
58 
59 ! ... loop variables
60  INTEGER :: icont, ilev
61 
62 ! ... local variables
63  CHARACTER(CHRLEN) :: rcsidentstring
64 
65  TYPE(t_peul), POINTER :: peul
66  TYPE(t_global), POINTER :: global
67 
68 !******************************************************************************
69 
70  rcsidentstring = '$RCSfile: PEUL_InitSolution.F90,v $ $Revision: 1.3 $'
71 
72  global => region%global
73 
74  CALL registerfunction( global, 'PEUL_InitSolution',&
75  'PEUL_InitSolution.F90' )
76 
77 ! loop over all grid levels
78 
79  DO ilev=1,region%nGridLevels
80 
81  peul => region%levels(ilev)%peul
82 
83 ! nothing to do yet
84 
85  ENDDO ! iLev
86 
87 ! finalize
88 
89  CALL deregisterfunction( global )
90 
91 END SUBROUTINE peul_initsolution
92 
93 !******************************************************************************
94 !
95 ! RCS Revision history:
96 !
97 ! $Log: PEUL_InitSolution.F90,v $
98 ! Revision 1.3 2008/12/06 08:44:39 mtcampbe
99 ! Updated license.
100 !
101 ! Revision 1.2 2008/11/19 22:17:51 mtcampbe
102 ! Added Illinois Open Source License/Copyright
103 !
104 ! Revision 1.1 2004/12/01 21:09:37 haselbac
105 ! Initial revision after changing case
106 !
107 ! Revision 1.2 2004/03/05 22:09:04 jferry
108 ! created global variables for peul, plag, and inrt use
109 !
110 ! Revision 1.1 2003/02/11 22:52:50 jferry
111 ! Initial import of Rocsmoke
112 !
113 !******************************************************************************
114 
115 
116 
117 
118 
119 
120 
subroutine registerfunction(global, funName, fileName)
Definition: ModError.F90:449
subroutine peul_initsolution(iReg, region)
subroutine deregisterfunction(global)
Definition: ModError.F90:469