From: John P. <jwp...@gm...> - 2018-01-29 19:59:40
|
On Mon, Jan 29, 2018 at 11:42 AM, Manav Bhatia <bha...@gm...> wrote: > Except for a sensitivity solve. > Hmm... so you are referring to the get_linear_solver() calls in ImplicitSystem::adjoint_solve() ImplicitSystem::sensitivity_solve() ImplicitSystem::weighted_sensitivity_adjoint_solve() ImplicitSystem::weighted_sensitivity_solve() ? If I understand correctly, those should all be calling the derived class LinearImplicitSystem::get_linear_solver() method in practice. In the class you are writing that is derived from NonlinearImplicitSystem, if you hang on to your own LinearSolver object, you could write a function similar to the one above to provide access to it. -- John |