Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
inks/MesquiteVersion.cpp
Go to the documentation of this file.
1 /* *****************************************************************
2  MESQUITE -- The Mesh Quality Improvement Toolkit
3 
4  Copyright 2004 Sandia Corporation and Argonne National
5  Laboratory. Under the terms of Contract DE-AC04-94AL85000
6  with Sandia Corporation, the U.S. Government retains certain
7  rights in this software.
8 
9  This library is free software; you can redistribute it and/or
10  modify it under the terms of the GNU Lesser General Public
11  License as published by the Free Software Foundation; either
12  version 2.1 of the License, or (at your option) any later version.
13 
14  This library is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  Lesser General Public License for more details.
18 
19  You should have received a copy of the GNU Lesser General Public License
20  (lgpl.txt) along with this library; if not, write to the Free Software
21  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 
23  diachin2@llnl.gov, djmelan@sandia.gov, mbrewer@sandia.gov,
24  pknupp@sandia.gov, tleurent@mcs.anl.gov, tmunson@mcs.anl.gov
25 
26  ***************************************************************** */
27 // -*- Mode : c++; tab-width: 2; c-tab-always-indent: t; indent-tabs-mode: nil; c-basic-offset: 2 -*-
28 
29 #include "Mesquite.hpp"
30 
31 // When changing version number/type, change these #defines, as well
32 // as what is returned from Mesquite::release_type().
33 #define MSQ_MAJOR_VERSION 0
34 #define MSQ_MINOR_VERSION 9
35 #define MSQ_BUILD_NUMBER 0
36 #define MSQ_VERSION_STRING "Mesquite 0.9.5"
37 #define MSQ_BUILD_STRING "Build Number 0"
38 
39 const char* Mesquite::version_string(bool include_build_number)
40 {
41  if (include_build_number)
43  return MSQ_VERSION_STRING;
44 }
45 
46 unsigned int Mesquite::major_version_number()
47 {
48  return MSQ_MAJOR_VERSION;
49 }
50 
51 unsigned int Mesquite::minor_version_number()
52 {
53  return MSQ_MINOR_VERSION;
54 }
55 
56 unsigned int Mesquite::build_number()
57 {
58  return MSQ_BUILD_NUMBER;
59 }
60 
62 {
63  return Mesquite::ALPHA;
64 }
65 
#define MSQ_MINOR_VERSION
const char * version_string(bool include_build_number=false)
unsigned int minor_version_number()
#define MSQ_BUILD_NUMBER
#define MSQ_MAJOR_VERSION
unsigned int build_number()
Mesquite::ReleaseType release_type()
#define MSQ_BUILD_STRING
#define MSQ_VERSION_STRING
unsigned int major_version_number()