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 PetscNonlinearSolver::snes(); > > If you're using an older version of libMesh it should be an easy > function to backport from the SVN head. > --- > Roy Thank you, I have backported it. However there is still one issue: after the solving the _snes object is destroyed. So, I cannot get a convergence reason after PetscNonlinearSolver<T>::solve is called. Am I right?
If yes, can we store the convergence reason in the class in order to be able to read it after? Michael. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
