12#ifndef BELFEM_BANNER_HPP
13#define BELFEM_BANNER_HPP
19 const std::string
gLongName =
"BELFEM -- The Berkeley Lab Finite Element Framework";
20 const std::string
gURL =
"http://belfem.lbl.gov";
25 exec(
const std::string & aCommand );
Definition banner.hpp:106
bool print_canada()
Definition banner.cpp:641
bool print_default()
Definition banner.cpp:569
bool print_easter()
Definition banner.cpp:586
bool print_christmas()
Definition banner.cpp:677
bool print_thanksgiving()
Definition banner.cpp:658
bool print_stpatrick()
Definition banner.cpp:604
bool print_usa()
Definition banner.cpp:620
USER GUIDES:
Definition cl_Capacitor.cpp:16
std::string uname()
returns the Unix version ( Linux or Darwin )
Definition banner.cpp:81
std::string git_commit_hash()
returns the full git commit hash of the build, or "unknown" if built outside a git repository (e....
Definition banner.cpp:173
std::string cpu_info()
grabs the cpu info for the banner
Definition banner.cpp:89
std::string git_commit_hash_short()
returns the abbreviated (short) git commit hash of the build
Definition banner.cpp:181
bool git_is_dirty()
true if the working tree had uncommitted changes at build time
Definition banner.cpp:197
const std::string gURL
Definition banner.hpp:20
bool is_built_from_git()
true if the build was produced from a git checkout (i.e.
Definition banner.cpp:165
std::string git_branch()
returns the git branch name at build time, or "unknown"
Definition banner.cpp:189
const std::string gLongName
Definition banner.hpp:19
void print_banner(const std::string aExecName)
prints the banner
Definition banner.cpp:213
std::string version()
returns the BELFEM semantic version as "major.minor.patch" (e.g.
Definition banner.cpp:157
std::string exec(const std::string &aCommand)
Definition banner.cpp:38