Rocstar
1.0
Rocstar multiphysics simulation application
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
BuildPatchIdentifier.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: Build unique patch identifier for GENX runs.
26
!
27
! Description: None.
28
!
29
! Input:
30
! iRegion Region index
31
! iPatch Patch index
32
!
33
! Output: None.
34
!
35
! Notes: None.
36
!
37
!******************************************************************************
38
!
39
! $Id: BuildPatchIdentifier.F90,v 1.4 2008/12/06 08:44:08 mtcampbe Exp $
40
!
41
! Copyright: (c) 2002 by the University of Illinois
42
!
43
!******************************************************************************
44
45
INTEGER
FUNCTION
buildpatchidentifier
(iRegion,iPatch)
46
47
USE
moddatatypes
48
USE
moderror
49
USE
modparameters
50
51
IMPLICIT NONE
52
53
! ... parameters
54
INTEGER
,
INTENT(IN)
:: ipatch,iregion
55
56
! ... loop variables
57
58
59
! ... local variables
60
CHARACTER(CHRLEN)
:: rcsidentstring
61
62
!******************************************************************************
63
64
rcsidentstring =
'$RCSfile: BuildPatchIdentifier.F90,v $ $Revision: 1.4 $'
65
66
! start -----------------------------------------------------------------------
67
68
buildpatchidentifier
= iregion*region_index_offset + ipatch
69
70
! end -------------------------------------------------------------------------
71
72
END FUNCTION
buildpatchidentifier
73
74
!******************************************************************************
75
!
76
! RCS Revision history:
77
!
78
! $Log: BuildPatchIdentifier.F90,v $
79
! Revision 1.4 2008/12/06 08:44:08 mtcampbe
80
! Updated license.
81
!
82
! Revision 1.3 2008/11/19 22:17:22 mtcampbe
83
! Added Illinois Open Source License/Copyright
84
!
85
! Revision 1.2 2006/04/07 15:19:15 haselbac
86
! Removed tabs
87
!
88
! Revision 1.1 2004/12/01 16:48:16 haselbac
89
! Initial revision after changing case
90
!
91
! Revision 1.1 2002/10/27 18:46:19 haselbac
92
! Initial revision
93
!
94
!******************************************************************************
95
96
97
98
99
100
modparameters
Definition:
ModParameters.F90:42
buildpatchidentifier
INTEGER function buildpatchidentifier(iRegion, iPatch)
Definition:
BuildPatchIdentifier.F90:45
moddatatypes
Definition:
ModDataTypes.F90:40
moderror
Definition:
ModError.F90:39
RocfluidMP
libfloflu
BuildPatchIdentifier.F90
Generated on Wed Nov 30 2016 16:56:02 for Rocstar by
1.8.5