including write_message access from the C side

This commit is contained in:
Adam G Nelson 2018-06-17 10:58:28 -04:00
parent 8c2a88243b
commit a1a033f1b7
4 changed files with 31 additions and 3 deletions

View file

@ -19,8 +19,7 @@ add_mgxs_c(hid_t file_id, char* name, const int energy_groups,
double_1dvec temperature;
temperature.assign(temps, temps + n_temps);
// TODO: C++ replacement for write_message
// write_message("Loading " + std::string(names[i]) + " data...", 6);
write_message("Loading " + std::string(name) + " data...", 6);
// Check to make sure cross section set exists in the library
hid_t xs_grp;