Commit 6d1207b9 authored by Thomas Witkowski's avatar Thomas Witkowski

Fixed KSP monitor name.

parent b48c8d0d
......@@ -845,7 +845,7 @@ namespace AMDiS {
KSPSetTolerances(ksp_feti, 0, 1e-8, 1e+3, 1000);
KSPSetFromOptions(ksp_feti);
if (stokesMode)
KSPMonitorSet(ksp_feti, KSPMonitorFeti, &fetiKspData, PETSC_NULL);
KSPMonitorSet(ksp_feti, KSPMonitorFetiStokes, &fetiKspData, PETSC_NULL);
......
......@@ -15,7 +15,7 @@
namespace AMDiS {
PetscErrorCode KSPMonitorFeti(KSP ksp, PetscInt n, PetscReal rnorm, void *data)
PetscErrorCode KSPMonitorFetiStokes(KSP ksp, PetscInt n, PetscReal rnorm, void *data)
{
Vec Br,v,w;
VecDuplicate(static_cast<FetiKspData*>(data)->draft, &v);
......
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