Keeping snes around in between time steps #3201
reverendbedford
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
My guess is that we call |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
PetscNonlinearSolver
clears the snes instance in between solves even though (in MOOSE) we keep the libmesh solver object itself alive between time steps. I would like to keep the snes instance around in between solves to enable preconditioner reuse over multiple (MOOSE) time steps in implicit time integration. It would be neat to be able to do this, as some examples I've been playing with suggest it will speed up some of our analyses by a factor of 10 or so.I compiled MOOSE with a version of libmesh that literally just comments out the
clear()
call at the end ofsolve()
and all the tests in the module/app I work on ran fine. But that's of course not comprehensive...So questions:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions