From 7ed5ae6c9513ab66eb895b05f09fede9c039b827 Mon Sep 17 00:00:00 2001 From: Wenqing Wang <wenqing.wang@ufz.de> Date: Wed, 21 May 2014 09:59:52 +0200 Subject: [PATCH] Removed one member function of PETScLinearSolver --- MathLib/LinAlg/PETSc/PETScLinearSolver.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/MathLib/LinAlg/PETSc/PETScLinearSolver.h b/MathLib/LinAlg/PETSc/PETScLinearSolver.h index 5be0fd0b45b..a4454706ca8 100644 --- a/MathLib/LinAlg/PETSc/PETScLinearSolver.h +++ b/MathLib/LinAlg/PETSc/PETScLinearSolver.h @@ -66,19 +66,6 @@ class PETScLinearSolver return its; } - /*! - \brief Function used to prepare quiting of program - Release memory and conclude the program before exit. - It must be called before exit() being called after solver fails - to converge. - */ - void Finalize() - { - PetscPrintf(PETSC_COMM_WORLD, "\nLinear solver (PETSc KSP) failed, quit now.\n"); - KSPDestroy(&_solver); - PetscFinalize(); - } - private: /// Matrix, kept as a member only for solving successive linear equation /// that preconditioner matrix may vary. -- GitLab