32 log.flags(ios::uppercase);
38 log <<
" Lindemann falloff function" << endl;
42 log <<
" Troe falloff function: " << endl;
44 log <<
" alpha, T***, T* = (" << c[0] <<
", " << c[1]
45 <<
", " << c[2] <<
")" << endl;
46 }
else if (c.size() == 4) {
47 log <<
" alpha, T***, T*, T** = (" << c[0] <<
", " << c[1]
48 <<
", " << c[2] <<
", " << c[3] <<
")" << endl;
50 for (
size_t n = 0; n < c.size(); n++) {
54 log <<
"###### ERROR ##### incorrect number of parameters" << endl;
60 log <<
" SRI falloff function: " << endl;
62 log <<
" a, b, c = (" << c[0] <<
", " << c[1]
63 <<
", " << c[2] <<
")" << endl;
64 }
else if (c.size() == 5) {
65 log <<
" a, b, c, d, e = (" << c[0] <<
", " << c[1]
66 <<
", " << c[2] <<
", " << c[3] <<
", " << c[4]
69 for (
size_t n = 0; n < c.size(); n++) {
73 log <<
"##### ERROR ##### incorrect number of parameters" << endl;
79 log <<
"unknown falloff type: " << type << endl;
90 log.flags(ios::uppercase);
98 log <<
" A, n, E = (" << k.
A <<
", " << k.
n
99 <<
", " << k.
E <<
")" << endl;
103 log <<
"A, n, E, B, C = (" << k.
A <<
", " << k.
n
104 <<
", " << k.
E <<
", " << k.
B <<
", " << k.
C
105 <<
") *** Landau-Teller ***" << endl;
109 log <<
" A, n, E = (" << k.
A <<
", " << k.
n
110 <<
", " << k.
E <<
") *** JAN *** " << endl;
112 for (
size_t n = 0; n < nb; n++) {
113 log <<
" b" << n+1 <<
": " << k.
b[n] << endl;
116 <<
"warning: number of b coefficients should be 9."
121 log <<
" A, n, E = (" << k.
A <<
", " << k.
n
122 <<
", " << k.
E <<
") *** FIT1 *** " << endl;
124 for (
size_t n = 0; n < nb; n++) {
125 log <<
" b" << n+1 <<
": " << k.
b[n] << endl;
128 <<
"warning: number of b coefficients should be 4."
133 log <<
"unknown rate coefficient type: " << k.
type << endl;
155 int nr =
static_cast<int>(r.
reactants.size());
156 int np =
static_cast<int>(r.
products.size());
161 for (k = 0; k < nr; k++) {
185 for (k = 0; k < np; k++) {
217 if (!spec.
id.empty()) {
218 log << endl <<
" id/date: " << spec.
id << endl;
220 log <<
" ... " << endl;
224 << spec.
phase << endl
225 <<
" composition: (";
227 for (
size_t ie = 0; ie < spec.
elements.size(); ie++) {
228 if (!spec.
elements[ie].name.empty()) {
229 log.flags(ios::fixed);
234 log << spec.
elements[ie].number <<
" "
241 log.flags(ios::showpoint | ios::fixed);
243 log << endl <<
" Tlow, Tmid, Thigh: (" << spec.
tlow <<
", " <<
244 spec.
tmid <<
", " << spec.
thigh <<
")" << endl << endl;
245 log <<
" coefficients (low, high):" << endl;
246 log.flags(ios::scientific | ios::uppercase | ios::internal);
248 for (
int j = 0; j < 7; j++) {
249 log <<
" a" << j + 1;
250 log.setf(ios::showpos);
253 log.unsetf(ios::showpos);
257 log.flags(ios::showpoint | ios::fixed);
260 log <<
"Number of temp regions = " << spec.
nTempRegions << endl;
262 log <<
" Tlow, Thigh: (" << spec.minTemps[i] <<
", "
263 << spec.maxTemps[i] <<
")" << endl << endl;
264 log <<
" coefficients :" << endl;
265 log.flags(ios::scientific | ios::uppercase | ios::internal);
267 vector_fp& cc = *spec.region_coeffs[i];
268 for (
int j = 0; j < 9; j++) {
269 log <<
" a" << j + 1;
270 log.setf(ios::showpos);
271 log <<
" \t" << cc[j] << endl;
272 log.unsetf(ios::showpos);