]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Reverted previous bug fix and removed offending code
authorToby D. Young <tyoung@ippt.pan.pl>
Wed, 10 Nov 2010 12:05:43 +0000 (12:05 +0000)
committerToby D. Young <tyoung@ippt.pan.pl>
Wed, 10 Nov 2010 12:05:43 +0000 (12:05 +0000)
git-svn-id: https://svn.dealii.org/trunk@22661 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/petsc_matrix_base.h
deal.II/source/lac/petsc_matrix_base.cc

index 6d8f51c67166a14712f2a43706a89159107dd6cc..8d0eb2f914a0396f1c49626c3d5d229cb66a2895 100644 (file)
@@ -25,7 +25,6 @@
 #  include <petscmat.h>
 #  include <base/std_cxx1x/shared_ptr.h>
 
-#  include <iostream>
 #  include <vector>
 #  include <cmath>
 
index 62ceb30887f02aa5d461dca72ceaa2e0a65aa13f..f26c818b18825eef321adbb5c24f0094782e1f29 100644 (file)
@@ -622,12 +622,6 @@ namespace PETScWrappers
       MatInfo info;
       MatGetInfo(matrix, MAT_LOCAL, &info);
 
-                                      // report if sparsity pattern was not
-                                      // sufficient
-      if (info.mallocs)
-       std::cout << "*** PETSC-Matrix: num-allocs = "
-                 << info.mallocs << " ***" << std::endl;
-
       return sizeof(*this) + static_cast<unsigned int>(info.memory);
   }
 

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.