Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TO3D_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 main code
36 ! developer.
37 ! 2. Marks Rocbuild program will edit the build string to insert a
38 ! build number or identifier
39 !
40 !******************************************************************************
41 !
42 ! $Id: TO3D_BuildVersionString.F90,v 1.3 2008/12/06 08:44:52 mtcampbe Exp $
43 !
44 ! Copyright: (c) 2002 by the University of Illinois
45 !
46 !******************************************************************************
47 
48 SUBROUTINE buildversionstring( versionString )
49 
50  USE moddatatypes
51  IMPLICIT NONE
52 
53 ! ... parameters
54  CHARACTER(*) :: versionstring
55 
56 ! ... local variables
57  CHARACTER(LEN=2) :: major, minor, patch
58  CHARACTER(LEN=3) :: build
59  CHARACTER(CHRLEN) :: date
60 
61 !******************************************************************************
62 ! set strings: DO NOT EDIT UNLESS YOU ARE MAIN DEVELOPER
63 
64  major = '2'
65  minor = '1'
66  patch = '0'
67  build = '0' ! to be edited by Rocbuild
68 
69  date = '05/13/03'
70 
71 ! write into string
72 
73  WRITE(versionstring,'(A)') trim(major)//'.'//trim(minor)//'.'//trim(patch)
74  WRITE(versionstring,'(A)') 'Version: '//trim(versionstring)//'-'//trim(build)
75  WRITE(versionstring,'(A)') trim(versionstring)//', Date: '//trim(date)
76 
77 END SUBROUTINE buildversionstring
78 
79 !******************************************************************************
80 !
81 ! RCS Revision history:
82 !
83 ! $Log: TO3D_BuildVersionString.F90,v $
84 ! Revision 1.3 2008/12/06 08:44:52 mtcampbe
85 ! Updated license.
86 !
87 ! Revision 1.2 2008/11/19 22:18:03 mtcampbe
88 ! Added Illinois Open Source License/Copyright
89 !
90 ! Revision 1.1 2004/12/03 02:50:43 wasistho
91 ! added prefix
92 !
93 ! Revision 1.5 2003/05/15 02:57:07 jblazek
94 ! Inlined index function.
95 !
96 ! Revision 1.4 2002/10/12 03:20:51 jblazek
97 ! Replaced [io]stat=global%error with local errorFlag for Rocflo.
98 !
99 ! Revision 1.3 2002/09/05 17:40:23 jblazek
100 ! Variable global moved into regions().
101 !
102 ! Revision 1.2 2002/07/16 21:34:37 jblazek
103 ! Prefixed screen output with SOLVER_NAME.
104 !
105 ! Revision 1.1 2002/06/14 17:46:51 jblazek
106 ! Added version string.
107 !
108 ! Revision 1.1 2002/06/14 17:35:11 jblazek
109 ! Added version string.
110 !
111 !******************************************************************************
112 
113 
114 
115 
116 
117 
void build(std::vector< Point > &v)
Definition: kdtree_d.h:989
Definition: patch.h:74
subroutine buildversionstring(versionString)