Commit c991d389 authored by Thomas Witkowski's avatar Thomas Witkowski

Removed PETSc stage information in FETI-DP code.

parent c60ae585
......@@ -856,10 +856,6 @@ namespace AMDiS {
{
FUNCNAME("PetscSolverFeti::fillPetscMatrix()");
PetscLogStage stageFetiCreate;
PetscLogStageRegister("Stage 0 CREATE FETI-DP", &stageFetiCreate);
PetscLogStagePush(stageFetiCreate);
nComponents = vec->getSize();
// === Create all sets and indices. ===
......@@ -1214,8 +1210,6 @@ namespace AMDiS {
// === Create PETSc solver for the FETI-DP operator. ===
createFetiKsp();
PetscLogStagePop();
}
......@@ -1361,10 +1355,6 @@ namespace AMDiS {
// === Create solver for the non primal (thus local) variables. ===
PetscLogStage stagePreFeti;
PetscLogStageRegister("Stage 0 PRE FETI-DP", &stagePreFeti);
PetscLogStagePush(stagePreFeti);
KSPCreate(PETSC_COMM_WORLD, &ksp_b);
KSPSetOperators(ksp_b, mat_b_b, mat_b_b, SAME_NONZERO_PATTERN);
KSPSetOptionsPrefix(ksp_b, "solver_b_");
......@@ -1411,17 +1401,7 @@ namespace AMDiS {
// === Solve with FETI-DP operator. ===
PetscLogStagePop();
PetscLogStage stageFeti0, stageFeti1, stageFeti2;
PetscLogStageRegister("Stage 0 FETI-DP", &stageFeti0);
PetscLogStageRegister("Stage 1 FETI-DP", &stageFeti1);
PetscLogStageRegister("Stage 2 FETI-DP", &stageFeti2);
PetscLogStagePush(stageFeti0);
KSPSolve(ksp_feti, vec_rhs, vec_rhs);
PetscLogStagePop();
PetscLogStagePush(stageFeti1);
// === Solve for u_primals. ===
......@@ -1451,10 +1431,6 @@ namespace AMDiS {
KSPSolve(ksp_b, tmp_b0, tmp_b0);
PetscLogStagePop();
PetscLogStagePush(stageFeti2);
// === And recover AMDiS solution vectors. ===
recoverSolution(tmp_b0, tmp_primal0, vec);
......@@ -1496,8 +1472,6 @@ namespace AMDiS {
MatDestroy(&mat_interior_duals);
MatDestroy(&mat_duals_interior);
}
PetscLogStagePop();
}
......
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