opm-simulators
Toggle main menu visibility
Loading...
Searching...
No Matches
moduleVersion.hpp
1
/*
2
Copyright 2015 SINTEF ICT, Applied Mathematics.
3
4
This file is part of the Open Porous Media project (OPM).
5
6
OPM is free software: you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
OPM is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with OPM. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
#ifndef OPM_MODULEVERSION_HEADER_INCLUDED
21
#define OPM_MODULEVERSION_HEADER_INCLUDED
22
23
#include <string>
24
25
namespace
Opm
26
{
27
30
std::string
moduleVersionName
();
31
35
std::string
moduleVersionHash
();
36
40
std::string
moduleVersion
();
41
44
std::string
compileTimestamp
();
45
46
}
// namespace Opm
47
48
#endif
// OPM_MODULEVERSION_HEADER_INCLUDED
Opm
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition
blackoilbioeffectsmodules.hh:43
Opm::moduleVersionName
std::string moduleVersionName()
Return the version name of the module, for example "2015.10" (for a release branch) or "2016....
Definition
moduleVersion.cpp:34
Opm::compileTimestamp
std::string compileTimestamp()
Return a string "dd-mm-yyyy at HH::MM::SS hrs" which is the time the binary was compiled.
Definition
moduleVersion.cpp:57
Opm::moduleVersionHash
std::string moduleVersionHash()
Return a (short) git hash for the current version of the module if this is a Release build (as define...
Definition
moduleVersion.cpp:42
Opm::moduleVersion
std::string moduleVersion()
Return a string containing both the name and hash, if N is the name and H is the hash it will be "N (...
Definition
moduleVersion.cpp:50
opm
simulators
utils
moduleVersion.hpp
Generated by
1.17.0