]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Do not output level for faces, or lines/quads a face consists of.
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 3 Jul 2006 14:15:51 +0000 (14:15 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 3 Jul 2006 14:15:51 +0000 (14:15 +0000)
git-svn-id: https://svn.dealii.org/trunk@13326 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/grid/tria_iterator.h

index 94a3a531e90dc4ba301a39ac9d62e9b871b527ce..8c315f169389e5993d1b8f35217a7f45d5d09b3c 100644 (file)
@@ -1037,7 +1037,10 @@ inline
 void
 TriaRawIterator<dim,Accessor>::print (std::ostream &out) const
 {
-  out << accessor.level() << "." << accessor.index();
+  if (Accessor::objectdim==dim)
+    out << accessor.level() << "." << accessor.index();
+  else
+    out << accessor.index();
 }
 
 

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.