Exemplo n.º 1
0
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);
}
Exemplo n.º 2
0
Arquivo: Output.cpp Projeto: bilke/ogs
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
}
Exemplo n.º 3
0
Arquivo: Output.cpp Projeto: bilke/ogs
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
}