On Thu, 6 Apr 2017, Adriano Côrtes wrote:

TransientLinearImplicitSystem & flow_system =
this->es.add_system<TransientLinearImplicitSystem> ("flow");

but if I am using PETSc this name is not used to set the KSP Prefix name,
even though the PetscLinearSolver init methods have the name parameter.

My question is how do I setup the KSP prefix name to use different options
for each solver?

For backwards compatibility we kept the prefixes off by default.  In
theory you can add the system name as a solver prefix by specifying
"--solver_system_names" on the libMesh command line.  In practice I
don't think we have any test coverage for that, so scream to the list
if it doesn't work for you.
---
Roy
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to