Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SPEC_RFLU_SetVarInfo.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 variable info for species.
26 !
27 ! Description: None.
28 !
29 ! Input:
30 ! pRegion Pointer to region data
31 !
32 ! Output: None.
33 !
34 ! Notes: None.
35 !
36 ! ******************************************************************************
37 !
38 ! $Id: SPEC_RFLU_SetVarInfo.F90,v 1.3 2008/12/06 08:44:40 mtcampbe Exp $
39 !
40 ! Copyright: (c) 2004 by the University of Illinois
41 !
42 ! ******************************************************************************
43 
44 SUBROUTINE spec_rflu_setvarinfo(pRegion)
45 
46  USE moddatatypes
47  USE moderror
48  USE modparameters
49  USE modglobal, ONLY: t_global
50  USE moddatastruct, ONLY: t_region
51 
52  IMPLICIT NONE
53 
54 ! ******************************************************************************
55 ! Declarations and definitions
56 ! ******************************************************************************
57 
58 ! ==============================================================================
59 ! Arguments
60 ! ==============================================================================
61 
62  TYPE(t_region), POINTER :: pregion
63 
64 ! ==============================================================================
65 ! Locals
66 ! ==============================================================================
67 
68  CHARACTER(CHRLEN) :: rcsidentstring
69  INTEGER :: ispec
70  TYPE(t_global), POINTER :: global
71 
72 ! ******************************************************************************
73 ! Start
74 ! ******************************************************************************
75 
76  rcsidentstring = '$RCSfile: SPEC_RFLU_SetVarInfo.F90,v $ $Revision: 1.3 $'
77 
78  global => pregion%global
79 
80  CALL registerfunction(global,'SPEC_RFLU_SetVarInfo',&
81  'SPEC_RFLU_SetVarInfo.F90')
82 
83 ! ******************************************************************************
84 ! Set variable info
85 ! ******************************************************************************
86 
87  DO ispec = 1,pregion%specInput%nSpecies
88  pregion%spec%cvInfo(ispec) = var_info_pos
89  END DO ! iSpec
90 
91 ! ******************************************************************************
92 ! End
93 ! ******************************************************************************
94 
95  CALL deregisterfunction(global)
96 
97 END SUBROUTINE spec_rflu_setvarinfo
98 
99 ! ******************************************************************************
100 !
101 ! RCS Revision history:
102 !
103 ! $Log: SPEC_RFLU_SetVarInfo.F90,v $
104 ! Revision 1.3 2008/12/06 08:44:40 mtcampbe
105 ! Updated license.
106 !
107 ! Revision 1.2 2008/11/19 22:17:53 mtcampbe
108 ! Added Illinois Open Source License/Copyright
109 !
110 ! Revision 1.1 2004/11/02 02:35:40 haselbac
111 ! Initial revision
112 !
113 ! ******************************************************************************
114 
115 
116 
117 
118 
119 
120 
subroutine registerfunction(global, funName, fileName)
Definition: ModError.F90:449
subroutine spec_rflu_setvarinfo(pRegion)
subroutine deregisterfunction(global)
Definition: ModError.F90:469