SNESSetUp() and matrix-free options
    Jed Brown 
    jed at 59A2.org
       
    Thu May  7 16:03:08 CDT 2009
    
    
  
Barry Smith wrote:
> 
> I don't have a problem with (somehow) merging the two options, but I
> don't see it as a big improvement.
> 
>    -snes_mf -snes_mf_type both or operator
> 
> instead of -snes_mf or -snes_mf_operator
> 
> I don't see this as a big improvement.
The difference is that
  -snes_mf -snes_mf_operator
is a conflict, but
  -snes_mf -snes_mf_type both -snes_mf -snes_mf_type operator1
-snes_mf_type operator2
is not a conflict because it collapses to
  -snes_mf -snes_mf_type operator2
This isn't a big deal when all the options are on the command line, but
it is definitely nicer if some options are sitting in .petscrc or being
pulled in with -options_file.
Jed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20090507/eed52097/attachment.sig>
    
    
More information about the petsc-dev
mailing list