BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
banner.hpp File Reference
#include <string>
Include dependency graph for banner.hpp:

Go to the source code of this file.

Namespaces

namespace  belfem
 USER GUIDES:
namespace  belfem::banners

Functions

std::string belfem::exec (const std::string &aCommand)
std::string belfem::uname ()
 returns the Unix version ( Linux or Darwin )
std::string belfem::cpu_info ()
 grabs the cpu info for the banner
std::string belfem::version ()
 returns the BELFEM semantic version as "major.minor.patch" (e.g.
bool belfem::is_built_from_git ()
 true if the build was produced from a git checkout (i.e.
std::string belfem::git_commit_hash ()
 returns the full git commit hash of the build, or "unknown" if built outside a git repository (e.g.
std::string belfem::git_commit_hash_short ()
 returns the abbreviated (short) git commit hash of the build
std::string belfem::git_branch ()
 returns the git branch name at build time, or "unknown"
bool belfem::git_is_dirty ()
 true if the working tree had uncommitted changes at build time
void belfem::print_banner (const std::string aExecName="")
 prints the banner
bool belfem::banners::print_default ()
bool belfem::banners::print_easter ()
bool belfem::banners::print_stpatrick ()
bool belfem::banners::print_usa ()
bool belfem::banners::print_canada ()
bool belfem::banners::print_thanksgiving ()
bool belfem::banners::print_christmas ()

Variables

const std::string belfem::gLongName = "BELFEM -- The Berkeley Lab Finite Element Framework"
const std::string belfem::gURL = "http://belfem.lbl.gov"