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. -Manav > On Jan 29, 2018, at 11:12 AM, John Peterson <jwpeter...@gmail.com> wrote: > > > > On Mon, Jan 29, 2018 at 9:59 AM, Manav Bhatia <bhatiama...@gmail.com > <mailto:bhatiama...@gmail.com>> wrote: > Hi, > > The source code says that the following method is deprecated: > > ImplicitSystem::get_linear_solver() > > This is, however, extensively being used in implicit_system.C. > > Is there a different method that I should be looking to use? > > > Hmm... "deprecated" is a bit of a misnomer here, I think what will eventually > happen is that the base class implementation will be changed into a > libmesh_error() to prevent it from being accidentally called. > > The usage you are referring to in implicit_system.C therefore represents > calls to derived class implementations, and should remain as-is. > > If you are currently seeing a deprecation message from calling this function, > you are probably doing something wrong and need to fix your code, but I doubt > that's the case? > > -- > 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