SNESSetUp() and matrix-free options

2009-05-07 Thread Lisandro Dalcin
On Thu, May 7, 2009 at 5:14 PM, Barry Smith bsmith at mcs.anl.gov wrote: 3) I would like to add a call to set matrix-free programatically... something like SNESSetUseMFFD(snes,...). Any signature suggetions regarding my previous discussions about the many options? ? No need to add this. One

SNESSetUp() and matrix-free options

2009-05-07 Thread Barry Smith
One could have -snes_mf override -snes_mf_operator that would make sense. There is no hierarchy of options (first, last, in files etc) in order to keep the model simple. It is always possible someone has two options that conflict with each other in the options database. This is

SNESSetUp() and matrix-free options

2009-05-07 Thread Barry Smith
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. Barry On May 7, 2009, at 3:47 PM, Jed Brown wrote:

SNESSetUp() and matrix-free options

2009-05-07 Thread Lisandro Dalcin
On Thu, May 7, 2009 at 6:14 PM, Jed Brown jed at 59a2.org wrote: Barry Smith wrote: ? ?I understand this. I just don't view this as a big deal worth changing the code over. I agree. ?My comment was that *if* the options were to be changed, as Lisandro was suggesting, then it would be better

SNESSetUp() and matrix-free options

2009-05-07 Thread Barry Smith
How about? -snes_mf (means what it currently means) -snes_mf operator (means what -snes_mf_operator means) Barry On May 7, 2009, at 6:03 PM, Lisandro Dalcin wrote: On Thu, May 7, 2009 at 6:14 PM, Jed Brown jed at 59a2.org wrote: Barry Smith wrote: I understand this. I