On Fri, Apr 27, 2018 at 6:40 PM, Derek Gaston <fried...@gmail.com> wrote:
> What is up with SolverConfiguration? It's abstract... and I can't see a > single implementation of it anywhere in libMesh. In addition - everything > is public. > > Shouldn't there be a few implementations of this (like for PETSc, etc.)? > > What am I missing? > You're not missing anything, there are no subclasses of SolverConfiguration in libMesh itself. It is demonstrated in systems_of_equations_ex6, though. Personally, I use it a lot in app codes. I find it to be a good way to control solver options programmatically, i.e. without relying on command line options. You can override configure_solver and basically write whatever PETSc code you want in there to set the solver options. We could certainly add SolverConfiguration implementations to libMesh, but the main point was to allow users to customize solver options themselves, so I guess no one had a need to add any specific cases to libMesh so far. David ------------------------------------------------------------------------------ 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