diff --git a/phreeqcpp/mainsubs.cpp b/phreeqcpp/mainsubs.cpp index ba317af0..11ee782d 100644 --- a/phreeqcpp/mainsubs.cpp +++ b/phreeqcpp/mainsubs.cpp @@ -681,9 +681,15 @@ initial_gas_phases(int print) if (pr.user_print) print_user_print(); if (PR /*&& use.Get_gas_phase_ptr()->total_p > 1.0*/) - warning_msg("While initializing gas phase composition by equilibrating:\n" - " Found definitions of gas` critical temperature and pressure.\n" - " Going to use Peng-Robinson in subsequent calculations.\n"); + { + std::ostringstream msg; + msg << "\nWhile initializing gas phase composition by equilibrating:\n"; + msg << " Found definitions of gas critical temperature and pressure.\n"; + msg << " Going to use Peng-Robinson in subsequent calculations.\n"; + screen_msg(msg.str().c_str()); + output_msg(msg.str().c_str()); + log_msg(msg.str().c_str()); + } xgas_save(n_user); punch_all(); /* free_model_allocs(); */ diff --git a/phreeqcpp/transport.cpp b/phreeqcpp/transport.cpp index 7bde99d4..f7ee9b4e 100644 --- a/phreeqcpp/transport.cpp +++ b/phreeqcpp/transport.cpp @@ -508,13 +508,17 @@ transport(void) /* * Now transport */ - if (implicit) - snprintf(token, sizeof(token), "\nCalculating implicit transport: %d (mobile) cells, %d shifts, %d mixruns, max. mixf = %g.\n\n", - count_cells, count_shifts - transport_start + 1, nmix, max_mixf); - else - snprintf(token, sizeof(token), "\nCalculating transport: %d (mobile) cells, %d shifts, %d mixruns...\n\n", - count_cells, count_shifts - transport_start + 1, nmix); - warning_msg(token); + { + if (implicit) + snprintf(token, sizeof(token), "\nCalculating implicit transport: %d (mobile) cells, %d shifts, %d mixruns, max. mixf = %g.\n\n", + count_cells, count_shifts - transport_start + 1, nmix, max_mixf); + else + snprintf(token, sizeof(token), "\nCalculating transport: %d (mobile) cells, %d shifts, %d mixruns...\n\n", + count_cells, count_shifts - transport_start + 1, nmix); + screen_msg(token); + output_msg(token); + log_msg(token); + } max_iter = 0; for (transport_step = transport_start; transport_step <= count_shifts; transport_step++)