ampsci
High-precision calculations for one- and two-valence atomic systems
version Namespace Reference

Detailed Description

Information about the ampsci code (version, compiler etc.).

Defines the macros:

  • AMPSCI_VERSION
  • AMPSCI_MAJOR_VERSION
  • AMPSCI_MINOR_VERSION

(defined manually in version.hpp).

Also, defines macros:

  • GITBRANCH
  • GITREVISION
  • GITMODIFIED
  • CXXVERSION
  • COMPTIME

These should be set using compil flags (-D) on compilation. The provided Makefile does this.

Functions

std::string version ()
 String with version info, including git branch/revision, and if any files have been modified since the last commit.
 
std::string compiled ()
 String with compilation info, including which compiler was used and the time of compilation.
 
std::string libraries ()
 String continaing details (version numbers) of libraries (e.g., GSL)
 

Function Documentation

◆ version()

std::string version::version ( )

String with version info, including git branch/revision, and if any files have been modified since the last commit.

◆ compiled()

std::string version::compiled ( )

String with compilation info, including which compiler was used and the time of compilation.

◆ libraries()

std::string version::libraries ( )

String continaing details (version numbers) of libraries (e.g., GSL)