On Mon, Jan 29, 2018 at 11:09 AM, Manav Bhatia <bhatiama...@gmail.com> 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 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users