24 bool _env_allow_experimental_features
26 "SHAM_EXPERIMENTAL",
"0",
"Allow the use of experimental features")
29 bool warning_printed =
false;
34 if (!warning_printed && _env_allow_experimental_features) {
42 +
"---------------------------- WARNING ----------------------------" + reset
43 +
"\n" + color +
"Warning:" + reset +
" Experimental features are enabled\n"
44 + color +
"-----------------------------------------------------------------"
47 warning_printed =
true;
50 return _env_allow_experimental_features;
std::string getenv_str_default_register(const char *env_var, std::string default_val, std::string desc)
Get the content of the environment variable if it exist and register it documentation,...
i32 world_rank()
Gives the rank of the current process in the MPI communicator.
namespace for the main framework
bool are_experimental_features_allowed()
Allow the use of experimental features.
void enable_experimental_features()
Allow the use of experimental features.
void raw_ln(Types... var2)
Prints a log message with multiple arguments followed by a newline.
const std::string reset()
Get the reset terminal escape char.
const std::string col8b_yellow()
Get the yellow terminal escape char.
Functions related to the MPI communicator.