]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
print some output
authorjanssen <janssen@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 23 Aug 2013 21:41:30 +0000 (21:41 +0000)
committerjanssen <janssen@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 23 Aug 2013 21:41:30 +0000 (21:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@30463 0785d39b-7218-0410-832d-ea1e28bc413d

tests/integrators/assembler_simple_mgmatrix_04.cc

index a1d9d7a600145b500bb5fb9f50da60ff11bf4e51..b4babc276bb83db4b0656869e0ae5e39c895d8c2 100644 (file)
@@ -165,6 +165,20 @@ void test(FiniteElement<dim> &fe)
   mg.resize(0,tr.n_levels()-1);
   mg.reinit(dof);
   assemble_mg_matrix(dof, matrix_integrator, mg);
+
+  for (unsigned int level=0;level<tr.nlevels();++level)
+  {
+    deallog << "mg" << std::endl;
+    mg.matrix[level].print(deallog.get_file_stream());
+    deallog << "in" << std::endl;
+    mg.matrix_in[level].print(deallog.get_file_stream());
+    deallog << "out" << std::endl;
+    mg.matrix_out[level].print(deallog.get_file_stream());
+    deallog << "up" << std::endl;
+    mg.matrix_up[level].print(deallog.get_file_stream());
+    deallog << "down" << std::endl;
+    mg.matrix_down[level].print(deallog.get_file_stream());
+  }
 }
 
 int main()

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.