This commit is contained in:
caes 2017-06-22 22:41:59 -04:00
parent 131d98213e
commit 949627e64d
2 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@
namespace agn {
const bool debug = true;
const bool line_debug = true;
const bool line_debug = false;
// General constants
const double PI=3.14159265358979323846;
@ -174,7 +174,7 @@ std::ifstream& operator>> (std::ifstream& inputfile,agn::cloudy_grid& grid) {
agn::cloudy_grid agn::read_cloudy_grid(std::ifstream& inputfile) {
agn::cloudy_grid agn::read_cloudy_grid(std::ifstream& inputfile, agn::line_list lines_to_print) {
if(agn::debug) std::cout
<< "Constructing cloudy output grid from file.\n";
inputfile.clear();
@ -400,5 +400,5 @@ agn::cloudy_grid agn::read_cloudy_grid(std::ifstream& inputfile) {
}
o
#endif

View File

@ -10,7 +10,7 @@ int main(int argc, char const *argv[]) {
<< "Reading cloudy grid from "
<< argv[1]
<< ".\n";
agn::cloudy_grid grid = agn::read_cloudy_grid(cloudy_result_file);
agn::cloudy_grid grid = agn::read_cloudy_grid(cloudy_result_file, lines_to_print);
std::cout
<< "Reading line list from "