[petsc-dev] 4e9ba7ee src/ts/interface/ts.c (Matthew Knepley 2014-04-08 14:37:03 -0500 2627) ierr = VecViewFromOptions(ts->vec_sol, ((PetscObject) ts)->prefix, "-ts_view_solution"); CHKERRQ(ierr);

Matthew Knepley knepley at gmail.com
Sat Feb 7 09:08:21 CST 2015


On Fri, Feb 6, 2015 at 4:00 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
>   Matt,
>
>      This line most definitively does not belong here. You are using
> -xx_view option as a monitor. The -xx_view options are  only allowed after
> a complete solve, not while chugging along. I am removing it in master,
> this may break some of your stuff but you will need to fix it some other
> way. Something that is run every step belongs in a monitor, absolutely not
> in a -xx_view . Not also that users should almost never be calling
> TSStep(), I am changing the manual page to make that clearer.


So you want me to change -ts_view_solution to -ts_monitor_solution? Fine.
Why didn't you just do that? As you may know,
this is what all of the known scientific and engineering world does, output
the solution on each timestep.

   Matt


>
>    Barry
>
-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150207/204f6814/attachment.html>


More information about the petsc-dev mailing list