]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a comment and PETSc KSP and PC objects. 5639/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sun, 17 Dec 2017 22:46:18 +0000 (15:46 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sun, 17 Dec 2017 22:46:18 +0000 (15:46 -0700)
source/lac/petsc_solver.cc

index 080ce2aba7c3ce5a02c083468a3e46b5c1540ee5..8ec19b79571aee969993538de798d8a2581572b5 100644 (file)
@@ -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
   }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.