23 map<string,double>::const_iterator p;
25 fprintf( io,
"%-20s %.15g\n", (*p).first.c_str(), (*p).second );
29 map<string,double>::const_iterator p =
p_constant.find(s);
38 #define NEW_CONSTANT(NAME, VALUE) constexpr double NAME = (VALUE)
40 #define NEW_CONSTANT(NAME, VALUE) const double NAME = (VALUE)
map< string, double > p_constant
void prt_constants(FILE *io) const
int fprintf(const Output &stream, const char *format,...)
void add_constant(const string &s, double v)
void prt_phys_constants(FILE *io)
double get_constant(const string &s) const