[petsc-dev] please do not replicate PETSc object options in examples

Barry Smith bsmith at mcs.anl.gov
Sun Oct 21 20:42:52 CDT 2012


On Oct 21, 2012, at 8:38 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> On Sun, Oct 21, 2012 at 8:35 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>   Also don't provide monitors that exactly duplicate built in monitors; for example several examples had -drawcontours that identically duplicated -ts_monitor_solution
> 
>   It is fine to put in unique monitors specific for the problem that are not the same as producible with a command line option.
> 
> There should be at least one monitor somewhere to point people to as an example.

    As there are plenty of them. 

    Barry

> There is a PCSHELL example that just does Jacobi, presumably because an example of a truly custom preconditioner was considered advanced.




More information about the petsc-dev mailing list