void Output:: doOutputLastTimestep(Process const& process, unsigned timestep, const double t, GlobalVector const& x) { if (!shallDoOutput(timestep, _repeats_each_steps)) doOutputAlways(process, timestep, t, x); }
void Output::doOutputLastTimestep(Process const& process, const int process_id, unsigned timestep, const double t, GlobalVector const& x) { if (!shallDoOutput(timestep, t)) { doOutputAlways(process, process_id, timestep, t, x); } #ifdef USE_INSITU InSituLib::CoProcess(process.getMesh(), t, timestep, true); #endif }
void Output::doOutput(Process const& process, const int process_id, unsigned timestep, const double t, GlobalVector const& x) { if (shallDoOutput(timestep, t)) { doOutputAlways(process, process_id, timestep, t, x); } #ifdef USE_INSITU // Note: last time step may be output twice: here and in // doOutputLastTimestep() which throws a warning. InSituLib::CoProcess(process.getMesh(), t, timestep, false); #endif }