Apply templated write_message to particle_restart.cpp

This commit is contained in:
Andrew Johnson 2020-08-02 22:11:51 -04:00
parent 4feb403646
commit a6c9f173a4
No known key found for this signature in database
GPG key ID: 253418E91B7F6FEB

View file

@ -24,8 +24,7 @@ namespace openmc {
void read_particle_restart(Particle& p, RunMode& previous_run_mode)
{
// Write meessage
write_message("Loading particle restart file " +
settings::path_particle_restart + "...", 5);
write_message(5, "Loading particle restart file {}", settings::path_particle_restart);
// Open file
hid_t file_id = file_open(settings::path_particle_restart, 'r');