]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Minor changes.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Jul 2005 20:26:27 +0000 (20:26 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Jul 2005 20:26:27 +0000 (20:26 +0000)
git-svn-id: https://svn.dealii.org/trunk@11103 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-19/step-19.cc

index e1db13237d506a8ea5b23dfe151a3e5e79007b13..7aabec6c476e4937b68a900671912ed8efbda5ea 100644 (file)
@@ -67,7 +67,8 @@ std::string              parameter_file;
                                  // to list the parameters that are allowed in
                                  // the parameter file (the
                                  // ``ParameterHandler'' class has a function
-                                 // to do exactly this):
+                                 // to do exactly this; see the results
+                                 // section for what it prints):
 void
 print_usage_message ()
 {
@@ -94,19 +95,26 @@ print_usage_message ()
 }
 
 
+                                 // The second function is used to declare the
+                                 // parameters this program accepts from the
+                                 // input file. While we don't actually take
+                                 // many parameters from the input file except
+                                 // for, possibly, the output file name and
+                                 // format, we nevertheless want to show how
+                                 // to work with parameter files.
 void declare_parameters ()
 {
   prm.declare_entry ("Output file", "",
                      Patterns::Anything(),
                      "The name of the output file to be generated");
 
-  DataOutInterface<1,1>::declare_parameters (prm);
+  DataOutInterface<1>::declare_parameters (prm);
 }
 
   
 
 void
-parse_command_line (const int                 argc,
+parse_command_line (const int                argc,
                     char             *const* argv)
 {
   if (argc < 2)

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.