[petsc-dev] -snes_check_jacobian

Barry Smith bsmith at mcs.anl.gov
Thu Dec 13 19:04:02 CST 2012


On Dec 13, 2012, at 7:03 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> On Thu, Dec 13, 2012 at 5:00 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>   I suggest
> 
>     -snes_check_jacobian_view <ascii,draw,binary,…>
> 
> then MatView is just called on the appropriate viewer instead of ugly variant options like snes_check_jacobian_draw etc
> 
>     In fact this paradigm could be used many places, for example -mat_view -mat_view_socket -mat_view_binary -mat_view_draw   could be simplified to -mat_view <viewertype>
> 
> It would be nice if these could include a file name so that "binaryoutput" doesn't get swamped with everything. How about "-mat_view binary:filename.dat"?

   Working on it now.

  Barry

>  
> 
>    Barry
> 
> We'll write a utility routine that when given a viewer type returns the appropriate canonical form.
> 




More information about the petsc-dev mailing list