]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Put some empty lines between entries and subsections in print_parameters()
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Jul 2005 21:49:45 +0000 (21:49 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Jul 2005 21:49:45 +0000 (21:49 +0000)
git-svn-id: https://svn.dealii.org/trunk@11051 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/parameter_handler.cc

index 04cc4fdf060591792c59b8a4cf2d1091c2d4cc99..7211cbb652262b3664260003597eb7840f43ce68 100644 (file)
@@ -981,6 +981,12 @@ ParameterHandler::print_parameters_section (std::ostream      &out,
     }
 
 
+                                   // if there are sections to come, put two
+                                   // newlines between the last entry and the
+                                   // first subsection
+  if (pd->subsections.size() != 0)
+    out << std::endl << std::endl;
+
                                   // now transverse subsections tree
   std::map<std::string, Section*>::const_iterator ptrss;
   for (ptrss = pd->subsections.begin(); ptrss != pd->subsections.end(); ++ptrss)

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.