34 add(3.7501e-03,
"Ryd");
35 add(3.9915e-03,
"Ryd");
36 add(4.2543e-03,
"Ryd");
38 add(4.6446e-03,
"Ryd");
40 add(5.2462e-03,
"Ryd");
41 add(5.8079e-03,
"Ryd");
43 add(7.3312e-03,
"Ryd");
44 add(7.9936e-03,
"Ryd");
45 add(8.7119e-03,
"Ryd");
46 add(9.6125e-03,
"Ryd");
47 add(9.77243e-03,
"Ryd");
48 add(1.1099e-02,
"Ryd");
49 add(1.2022e-02,
"Ryd");
50 add(1.29253e-02,
"Ryd");
51 add(2.2152e-02,
"Ryd");
52 add(3.92044e-02,
"Ryd");
53 add(5.54593e-02,
"Ryd");
56 add(6.1563e-02,
"Ryd");
57 add(6.3437e-02,
"Ryd");
58 add(8.1460e-02,
"Ryd");
116 for(
size_t i=0; i <
p_val.size(); ++i )
126 long ind =
find(energy, unit);
130 ind =
p_val.size()-1;
132 double eRyd =
p_val[ind].Ryd();
135 fprintf(
ioQQQ,
" The energy %g Ryd (%g %s) is not within the default Cloudy range\n",
136 eRyd, energy, unit );
137 fprintf(
ioQQQ,
" The energy must be between %g and %g Ryd\n",
bool fp_equal(sys_float x, sys_float y, int n=3)
long find(double energy, const char *unit="Ryd") const
vector< EnergyEntry > p_val
double energy(const genericState &gs)
#define DEBUG_ENTRY(funcname)
int fprintf(const Output &stream, const char *format,...)
long add(double energy, const char *unit="Ryd")