Re: [Libmesh-devel] Shell Preconditioner

2009-01-20 Thread Jed Brown
On Tue, Jan 20, 2009 at 10:36, Derek Gaston wrote: > Currently we have to get > ahold of the KSP object for each system and manually twiddle the > options with Petsc calls Set a prefix any time you have more than 1 KSP or SNES object. Then you can put this twiddling in a config file (see -option

Re: [Libmesh-devel] Shell Preconditioner

2009-01-20 Thread Roy Stogner
On Tue, 20 Jan 2009, Derek Gaston wrote: > I suppose I could just add a MultigridLinearSolver object... and > concrete implementations of it... but that kind of goes against what > we have setup with Petsc where there are a lot of actual solvers to > choose from underneath (including multigrid op

Re: [Libmesh-devel] Shell Preconditioner

2009-01-20 Thread Derek Gaston
On Jan 20, 2009, at 11:58 AM, John Peterson wrote: > All I was able to finish was checking in Tim's patch, I didn't have a > chance to redo the whole NumericMatrix hierarchy yet. It's on my todo > list but there are day-job things taking up time currently. Do you want me to stab an interface int

Re: [Libmesh-devel] Shell Preconditioner

2009-01-20 Thread Jed Brown
On Tue, Jan 20, 2009 at 09:58, John Peterson wrote: >> Also... on a related question what do you guys think about >> providing a Preconditioner base class in libMesh? Concrete >> implementations of this class would be HyprePreconditioner, >> MLPreconditioner, LinearSolvePreconditioner, etc...

Re: [Libmesh-devel] Shell Preconditioner

2009-01-20 Thread John Peterson
On Tue, Jan 20, 2009 at 12:49 PM, Derek Gaston wrote: > I know there was a lot of discussion that led up to adding the > ShellMatrix object to libMesh and looking back through it I see > that preconditioning was mentioned... but now that I'm looking at the > code I don't see a straight forward

[Libmesh-devel] Shell Preconditioner

2009-01-20 Thread Derek Gaston
I know there was a lot of discussion that led up to adding the ShellMatrix object to libMesh and looking back through it I see that preconditioning was mentioned... but now that I'm looking at the code I don't see a straight forward way to add a ShellMatrix as a preconditioner but m