From: Wolfgang Bangerth Date: Sun, 17 Dec 2017 22:46:18 +0000 (-0700) Subject: Add a comment and PETSc KSP and PC objects. X-Git-Tag: v9.0.0-rc1~651^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5639%2Fhead;p=dealii.git Add a comment and PETSc KSP and PC objects. --- diff --git a/source/lac/petsc_solver.cc b/source/lac/petsc_solver.cc index 080ce2aba7..8ec19b7957 100644 --- a/source/lac/petsc_solver.cc +++ b/source/lac/petsc_solver.cc @@ -625,6 +625,8 @@ namespace PETScWrappers SparseDirectMUMPS::SolverDataMUMPS::~SolverDataMUMPS () { destroy_krylov_solver (ksp); + // the 'pc' object is owned by the 'ksp' object, and consequently + // does not have to be destroyed explicitly here }