Re: [Libmesh-users] SNES object

2008-10-13 Thread Derek Gaston
On Oct 13, 2008, at 10:37 AM, Roy Stogner wrote: > Ideally we ought to have a library-independent interface to query the > convergence reason, with the abstract API in the NonlinearSolver class > and a PETSc-specific implementation in the subclass. Yes... this has been on my TODO list for a while

Re: [Libmesh-users] SNES object

2008-10-13 Thread Roy Stogner
On Mon, 13 Oct 2008, Michael Povolotskyi wrote: > However there is still one issue: after the solving the _snes object is > destroyed. So, I cannot get a convergence reason after > PetscNonlinearSolver::solve is called. > Am I right? Ooh - it looks like you're right. We're calling both in

Re: [Libmesh-users] SNES object

2008-10-13 Thread Michael Povolotskyi
Roy Stogner wrote: > >> Hello everybody, >> I'm solving a nonlinear problem with Libmesh using the PETSc solver. >> >> My question: >> is it possible to get access to the _snes member of the >> PetscNonlinearSolver class? >> >> I need it, for example, to see the convergence reason. > > SNES Petsc

Re: [Libmesh-users] SNES object

2008-10-12 Thread Roy Stogner
> Hello everybody, > I'm solving a nonlinear problem with Libmesh using the PETSc solver. > > My question: > is it possible to get access to the _snes member of the > PetscNonlinearSolver class? > > I need it, for example, to see the convergence reason. SNES PetscNonlinearSolver::snes(); If yo

[Libmesh-users] SNES object

2008-10-12 Thread Michael Povolotskyi
Hello everybody, I'm solving a nonlinear problem with Libmesh using the PETSc solver. My question: is it possible to get access to the _snes member of the PetscNonlinearSolver class? I need it, for example, to see the convergence reason. Thank you, Michael. --