From: Manav B. <bha...@gm...> - 2018-01-29 18:42:25
|
Except for a sensitivity solve. > On Jan 29, 2018, at 12:41 PM, John Peterson <jwp...@gm...> wrote: > > > > On Mon, Jan 29, 2018 at 11:09 AM, Manav Bhatia <bha...@gm... <mailto:bha...@gm...>> wrote: > I see. > > So, I am defining a class that inherits from nonlinear_implicit_system, and calling get_linear_solver() on that. This gets to the implementation in implicit_system, since the nonlinear_implicit_system does not define an overriding function. > > Instead, there is one defined in linear_implicit_system, but that is a different code path. > > > Right, the NonlinearImplicitSystem has a public nonlinear_solver member, but it doesn't really make sense to call get_linear_solver() on a NonlinearImplicitSystem, since it doesn't really have one to hand back. > > -- > John |