SIRIUS 7.5.0
Electronic structure library and applications
Functions
sirius::env Namespace Reference

Get environment variables. More...

Functions

template<typename T >
T const * get_value_ptr (std::string const &name__)
 Check for environment variable and return a pointer to a stored value if found or a null-pointer if not. More...
 
bool print_performance ()
 
bool print_checksum ()
 
bool print_hash ()
 
bool print_mpi_layout ()
 
bool print_memory_usage ()
 
int print_timing ()
 
std::string save_config ()
 
std::string config_file ()
 
std::string get_ev_solver ()
 
int get_verbosity ()
 
bool check_scf_density ()
 

Detailed Description

Get environment variables.

Function Documentation

◆ get_value_ptr()

template<typename T >
T const * sirius::env::get_value_ptr ( std::string const &  name__)
inline

Check for environment variable and return a pointer to a stored value if found or a null-pointer if not.

Definition at line 42 of file env.hpp.

◆ print_performance()

bool sirius::env::print_performance ( )
inline

Definition at line 59 of file env.hpp.

◆ print_checksum()

bool sirius::env::print_checksum ( )
inline

Definition at line 66 of file env.hpp.

◆ print_hash()

bool sirius::env::print_hash ( )
inline

Definition at line 73 of file env.hpp.

◆ print_mpi_layout()

bool sirius::env::print_mpi_layout ( )
inline

Definition at line 80 of file env.hpp.

◆ print_memory_usage()

bool sirius::env::print_memory_usage ( )
inline

Definition at line 87 of file env.hpp.

◆ print_timing()

int sirius::env::print_timing ( )
inline

Definition at line 94 of file env.hpp.

◆ save_config()

std::string sirius::env::save_config ( )
inline

Definition at line 105 of file env.hpp.

◆ config_file()

std::string sirius::env::config_file ( )
inline

Definition at line 116 of file env.hpp.

◆ get_ev_solver()

std::string sirius::env::get_ev_solver ( )
inline

Definition at line 127 of file env.hpp.

◆ get_verbosity()

int sirius::env::get_verbosity ( )
inline

Definition at line 138 of file env.hpp.

◆ check_scf_density()

bool sirius::env::check_scf_density ( )
inline

Definition at line 149 of file env.hpp.