Commit 293aad72 authored by Praetorius, Simon's avatar Praetorius, Simon

prefix for MUMPS parameters

parent a6fc34a2
...@@ -599,6 +599,7 @@ namespace AMDiS { namespace Parallel { ...@@ -599,6 +599,7 @@ namespace AMDiS { namespace Parallel {
KSPSetTolerances(ksp, 0.0, 1e-8, PETSC_DEFAULT, PETSC_DEFAULT); KSPSetTolerances(ksp, 0.0, 1e-8, PETSC_DEFAULT, PETSC_DEFAULT);
KSPSetType(ksp, KSPBCGS); KSPSetType(ksp, KSPBCGS);
KSPSetOptionsPrefix(ksp, kspPrefix.c_str()); KSPSetOptionsPrefix(ksp, kspPrefix.c_str());
MatSetOptionsPrefix(getMatInterior(), kspPrefix.c_str());
KSPSetFromOptions(ksp); KSPSetFromOptions(ksp);
// Do not delete the solution vector, use it for the initial guess. // Do not delete the solution vector, use it for the initial guess.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment