This commit is contained in:
caes 2017-06-21 03:11:46 -04:00
parent 62096682e3
commit d9fb4329ac
3 changed files with 10 additions and 10 deletions

View File

@ -4,9 +4,10 @@ title magdziarz 1997 hden_vs_phi .25 dex
// //
// single run copied from the standard magdziarz grid // single run copied from the standard magdziarz grid
// //
////// Output continua ////// Output continua and included lines
// //
save last incident continuum ".incident_continuum" save last incident continuum "incident_continuum"
save line labels "line_labels"
// //
////// Formatting ////// Formatting
// //
@ -18,7 +19,6 @@ print last
print line precision 6 print line precision 6
print line iso collapsed on print line iso collapsed on
Database print Database print
save line labels ".line_labels"
// //
////// Resolved energy states for atomic models ////// Resolved energy states for atomic models
// //

View File

@ -4,9 +4,10 @@ title mehdipour ngc5548 hden_vs_phi 4thdex
// //
// single run copied from the standard mehdipour grid // single run copied from the standard mehdipour grid
// //
////// Output continua ////// Output continua and included lines
// //
save last incident continuum ".incident_continuum" save last incident continuum "incident_continuum"
save line labels "line_labels"
// //
////// Formatting ////// Formatting
// //
@ -18,7 +19,6 @@ print last
print line precision 6 print line precision 6
print line iso collapsed on print line iso collapsed on
Database print Database print
save line labels ".line_labels"
// //
////// Resolved energy states for atomic models ////// Resolved energy states for atomic models
// //

View File

@ -34,13 +34,13 @@ int main(int argc, char const *argv[]) {
zeroreport << "These headers were pulled from tables" zeroreport << "These headers were pulled from tables"
<< " that returned minimum values." << " that returned minimum values."
<< std::endl; << std::endl;
int zeroes=0; int num_zeroes=0;
while(table_it != tables.end()) { while(table_it != tables.end()) {
if(agn::is_zero(*table_it)) { if(agn::is_zero(*table_it)) {
zeroreport << " " zeroreport << " "
<< table_it->header[0] << table_it->header[0]
<< std::endl; << std::endl;
zeroes++; num_zeroes++;
table_it = tables.erase(table_it); table_it = tables.erase(table_it);
continue; continue;
} }
@ -48,7 +48,7 @@ int main(int argc, char const *argv[]) {
table_it++; table_it++;
} }
std::cout << "Removed " std::cout << "Removed "
<< zeroes << num_zeroes
<< " tables from the list because" << " tables from the list because"
<< " they had zero value." << " they had zero value."
<< std::endl; << std::endl;