Commit 99fdbce7 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

some corrections in the solvers

parent 7811867b
......@@ -24,8 +24,6 @@
#include "parallel/PetscHelper.h"
#include "TransformDOF.h"
#include "tools.h"
namespace AMDiS { namespace Parallel {
using namespace std;
......@@ -115,8 +113,6 @@ namespace AMDiS { namespace Parallel {
void PetscSolverNavierStokes::initSolver(KSP &ksp)
{
FUNCNAME("PetscSolverNavierStokes::initSolver()");
printMem("begin(initSolver)");
// Create FGMRES based outer solver
MSG("CREATE POS 1: %p\n", &ksp);
......@@ -131,9 +127,7 @@ namespace AMDiS { namespace Parallel {
// Create null space information.
if (pressureNullSpace)
setConstantNullSpace(ksp, pressureComponent, true);
printMem("end(initSolver)");
}
}
void PetscSolverNavierStokes::initPreconditioner(PC pc)
......@@ -144,10 +138,7 @@ namespace AMDiS { namespace Parallel {
TEST_EXIT(nu)("nu pointer not set!\n");
TEST_EXIT(invTau)("invtau pointer not set!\n");
TEST_EXIT(solution)("solution pointer not set!\n");
printMem("begin(initPreconditioner)");
TEST_EXIT(solution)("solution pointer not set!\n");
int dim = componentSpaces[pressureComponent]->getMesh()->getDim();
......@@ -365,9 +356,6 @@ namespace AMDiS { namespace Parallel {
setConstantNullSpace(matShellContext.kspLaplace);
printMem("end(initPreconditioner)");
MSG("Setup of Navier-Stokes preconditioner needed %.5f seconds\n",
t.elapsed());
}
......
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