Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SPEC_BuildVersionString.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 version string for printing in header.
26 !
27 ! Description: None.
28 !
29 ! Input: None.
30 !
31 ! Output:
32 ! versionString String containing version number and date.
33 !
34 ! Notes:
35 ! 1. The strings are NOT to be edited by anyone except the developer of
36 ! this physical module.
37 !
38 ! ******************************************************************************
39 !
40 ! $Id: SPEC_BuildVersionString.F90,v 1.23 2008/12/06 08:44:40 mtcampbe Exp $
41 !
42 ! Copyright: (c) 2002-2005 by the University of Illinois
43 !
44 ! ******************************************************************************
45 
46 SUBROUTINE spec_buildversionstring( versionString )
47 
48  USE moddatatypes
49  IMPLICIT NONE
50 
51 ! ******************************************************************************
52 ! Definitions and declarations
53 ! ******************************************************************************
54 
55 ! ==============================================================================
56 ! Arguments
57 ! ==============================================================================
58 
59  CHARACTER(*) :: versionstring
60 
61 ! ==============================================================================
62 ! Locals
63 ! ==============================================================================
64 
65  CHARACTER(LEN=2) :: major, minor, patch
66  CHARACTER(CHRLEN) :: date,rcsidentstring
67 
68 ! ******************************************************************************
69 ! Start
70 ! ******************************************************************************
71 
72  rcsidentstring = '$RCSFile$ $Revision: 1.23 $'
73 
74 ! ==============================================================================
75 ! Set strings: DO NOT EDIT UNLESS YOU ARE ROCSPECIES DEVELOPER
76 ! ==============================================================================
77 
78  major = '2'
79  minor = '7'
80  patch = '1'
81 
82  date = '04/05/07'
83 
84 ! ==============================================================================
85 ! Write into version string
86 ! ==============================================================================
87 
88  WRITE(versionstring,'(A)') trim(major)//'.'//trim(minor)//'.'//trim(patch)
89  WRITE(versionstring,'(A)') 'Version: '//trim(versionstring)
90  WRITE(versionstring,'(A)') trim(versionstring)//', Date: '//trim(date)
91 
92 ! ******************************************************************************
93 ! End
94 ! ******************************************************************************
95 
96 END SUBROUTINE spec_buildversionstring
97 
98 
99 
100 
101 
102 
Definition: patch.h:74
subroutine spec_buildversionstring(versionString)