MADNESS  0.10.1
info.h
Go to the documentation of this file.
1 
2 /*
3  This file is part of MADNESS.
4 
5  Copyright (C) 2015 Stony Brook University
6 
7  This program is free software; you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation; either version 2 of the License, or
10  (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program; if not, write to the Free Software
19  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 
21  For more information please contact:
22 
23  Robert J. Harrison
24  Oak Ridge National Laboratory
25  One Bethel Valley Road
26  P.O. Box 2008, MS-6367
27 
28  email: harrisonrj@ornl.gov
29  tel: 865-241-3937
30  fax: 865-572-0680
31 */
32 
33 
34 #ifndef SRC_MADNESS_MISC_INFO_H_
35 #define SRC_MADNESS_MISC_INFO_H_
36 
37 /**
38  \file info.h
39  \brief Defines functions that give information on this version of MADNESS.
40  \ingroup configuration
41 */
42 
43 #include <string>
44 
45 namespace madness {
46  namespace info {
47 
48  /// Get the git commit number for this version.
49 
50  /// \return The git commit number.
51  const char* git_commit();
52 
53  /// Get the git source tree human-readable description (see `git describe --dirty`)
54 
55  /// \return The git commit number.
56  const char* git_source_description();
57 
58  /// Get the MADNESS version number.
59 
60  /// \return The MADNESS version number.
61  const char* version();
62 
63  /// return the build time
64  const char* build_time();
65 
66  /// return the build date
67  const char* build_date();
68 
69  std::string print_revision_information();
70 
71  } // namespace info
72 } // namespace madness
73 
74 
75 
76 #endif /* SRC_MADNESS_MISC_INFO_H_ */
const char * git_commit()
Get the git commit number for this version.
Definition: info.cc:26
const char * version()
Get the MADNESS version number.
Definition: info.cc:17
const char * git_source_description()
Get the git source tree human-readable description (see git describe --dirty)
Definition: info.cc:30
const char * build_time()
return the build time
Definition: info.cc:34
std::string print_revision_information()
Definition: info.cc:42
const char * build_date()
return the build date
Definition: info.cc:38
File holds all helper structures necessary for the CC_Operator and CC2 class.
Definition: DFParameters.h:10