8 #ifndef HIPACE_DeprecatedInput_H_
9 #define HIPACE_DeprecatedInput_H_
17 std::string
const& replacement, std::string
const& msg=
"",
bool new_prefix=
false)
20 std::string tmp_str =
"";
23 "DEPRECATED INPUT ERROR:\n"
24 "Input parameter " + pp_name +
"." +
str +
" no longer supported.\n"
25 "See " + (new_prefix ?
"" : pp_name +
".") + replacement +
26 " instead (more info in the documentation). " + msg);
bool queryWithParser(const amrex::ParmParse &pp, char const *const str, T &val)
return if input file contains the expression, if so it is parsed into val
Definition: Parser.H:467
void Abort(const std::string &msg)
str
Definition: checksumAPI.py:112