Re: [Libmesh-users] Multiple SNES solvers

2013-02-20 Thread Jed Brown
Subramanya Gautam Sadasiva writes: > Thanks. the thought struck me, but I was not sure on how to proceed. Does > what follows sound like a reasonable course of action. > In the constructor > Cast the autoptr to nonlinear solver to PetscNonlinearSolver or > PetscDMNonlinearSolver, > Get the p

Re: [Libmesh-users] Multiple SNES solvers

2013-02-20 Thread Subramanya Gautam Sadasiva
t; Herbert Callen . Thermodynamics and an Introduction to Thermostatics. - Original Message - From: "Jed Brown" To: "Subramanya Gautam Sadasiva" , "libmesh-users" Sent: Wednesday, February 20, 2013 6:09:49 PM Subject: Re: [Libmesh-users] Multiple SNES solvers S

Re: [Libmesh-users] Multiple SNES solvers

2013-02-20 Thread Jed Brown
Subramanya Gautam Sadasiva writes: > Hi, > I am solving a Cahn Hilliard Navier stokes system and that means > solving multiple sequential non-linear equations. This means I need to > pass different petsc options to the solver of each, and set them using > PETSC_set_option for each of the solvers

[Libmesh-users] Multiple SNES solvers

2013-02-20 Thread Subramanya Gautam Sadasiva
Hi, I am solving a Cahn Hilliard Navier stokes system and that means solving multiple sequential non-linear equations. This means I need to pass different petsc options to the solver of each, and set them using PETSC_set_option for each of the solvers one by one. Is there a recommended way to d