]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Just do 'using namespace dealii' in main(). 14523/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 2 Dec 2022 22:49:12 +0000 (15:49 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 2 Dec 2022 22:49:12 +0000 (15:49 -0700)
examples/step-12b/step-12b.cc
examples/step-81/step-81.cc

index 7a7b03ba524d0d0304290b12be2d3a0f9179251c..83a04626498b03dffb6ba0c2f75331149b837014 100644 (file)
@@ -640,7 +640,8 @@ int main()
 {
   try
     {
-      dealii::deallog.depth_console(5);
+      using namespace dealii;
+      deallog.depth_console(5);
 
       Step12::AdvectionProblem<2> dgmethod;
       dgmethod.run();
index 1caef9e297cd6cbce9be6cb398260bfc8f826c6d..2e3df44434c1f1623cdaefce3a5bc8d4e3c4d2ec 100644 (file)
@@ -870,8 +870,10 @@ int main()
 {
   try
     {
+      using namespace dealii;
+
       Step81::Maxwell<2> maxwell_2d;
-      dealii::ParameterAcceptor::initialize("parameters.prm");
+      ParameterAcceptor::initialize("parameters.prm");
       maxwell_2d.run();
     }
   catch (std::exception &exc)

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.