LifeV
LifeVersion.cpp
Go to the documentation of this file.
1 //@HEADER
2 /*
3 *******************************************************************************
4 
5  Copyright (C) 2004, 2005, 2007 EPFL, Politecnico di Milano, INRIA
6  Copyright (C) 2010 EPFL, Politecnico di Milano, Emory University
7 
8  This file is part of LifeV.
9 
10  LifeV is free software; you can redistribute it and/or modify
11  it under the terms of the GNU Lesser General Public License as published by
12  the Free Software Foundation, either version 3 of the License, or
13  (at your option) any later version.
14 
15  LifeV is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18  Lesser General Public License for more details.
19 
20  You should have received a copy of the GNU Lesser General Public License
21  along with LifeV. If not, see <http://www.gnu.org/licenses/>.
22 
23 *******************************************************************************
24 */
25 //@HEADER
26 /*!
27  @file
28  @brief The file was created from KDE/kdelibs/kdecore/kdeversion.hpp and
29  accomodated to LifeV needs.
30 
31  @date 2005-02-19
32  @author Christophe Prud'homme <christophe.prudhomme@epfl.ch>
33  @mantainer Simone Deparis <simone.deparis@epfl.ch>
34 
35  */
36 
37 #include <lifev/core/LifeV.hpp>
38 #include <lifev/core/LifeVersion.hpp>
39 
40 namespace LifeV
41 {
42 unsigned int version()
43 {
44  return LIFEV_VERSION;
45 }
46 
47 unsigned int versionMajor()
48 {
49  return LIFEV_VERSION_MAJOR;
50 }
51 
52 unsigned int versionMinor()
53 {
54  return LIFEV_VERSION_MINOR;
55 }
56 
57 unsigned int versionMicro()
58 {
59  return LIFEV_VERSION_MICRO;
60 }
61 
62 char const* versionString()
63 {
64  return LIFEV_VERSION_STRING;
65 }
66 }
#define LIFEV_VERSION_MICRO
Definition: LifeVersion.hpp:53
void updateInverseJacobian(const UInt &iQuadPt)
#define LIFEV_VERSION_MAJOR
Definition: LifeVersion.hpp:45
#define LIFEV_VERSION_MINOR
Definition: LifeVersion.hpp:49
char const * versionString()
Returns the LIFEV version as string, e.g.
Definition: LifeVersion.cpp:62
unsigned int version()
Returns the encoded number of LIFEV&#39;s version, see the LIFEV_VERSION macro.
Definition: LifeVersion.cpp:42
unsigned int versionMicro()
Returns the micro number of LIFEV&#39;s version, e.g.
Definition: LifeVersion.cpp:57
unsigned int versionMajor()
Returns the major number of LIFEV&#39;s version, e.g.
Definition: LifeVersion.cpp:47
unsigned int versionMinor()
Returns the minor number of LIFEV&#39;s version, e.g.
Definition: LifeVersion.cpp:52
#define LIFEV_VERSION
Definition: LifeVersion.hpp:57