Add section to write surface source into a separate file

This commit is contained in:
YoungHui Park 2020-03-17 00:22:39 -05:00
parent 30b1c6b2d4
commit 2e49a1d6de

View file

@ -378,6 +378,12 @@ void finalize_batch()
write_source_point(filename.c_str());
}
}
// Write out surface source if requested.
if (settings::surface_source) {
auto filename = settings::path_output + "surface_source.h5";
write_surf_src_point(filename.c_str()); //!!
}
}
void initialize_generation()