From: Reza Rastak Date: Wed, 25 Mar 2020 17:14:16 +0000 (-0700) Subject: Remove unnecessary "using namespace" directives from the tutorials. X-Git-Tag: v9.2.0-rc1~351^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9623d8d04c757fb8bde9cb2747a9eee654e9fa0d;p=dealii.git Remove unnecessary "using namespace" directives from the tutorials. --- diff --git a/examples/step-14/step-14.cc b/examples/step-14/step-14.cc index 52623947b5..f4144a66a9 100644 --- a/examples/step-14/step-14.cc +++ b/examples/step-14/step-14.cc @@ -2812,7 +2812,6 @@ int main() { try { - using namespace dealii; using namespace Step14; // Describe the problem we want to solve here by passing a descriptor diff --git a/examples/step-15/step-15.cc b/examples/step-15/step-15.cc index ede2605d39..8f19362f41 100644 --- a/examples/step-15/step-15.cc +++ b/examples/step-15/step-15.cc @@ -696,7 +696,6 @@ int main() { try { - using namespace dealii; using namespace Step15; MinimalSurfaceProblem<2> laplace_problem_2d; diff --git a/examples/step-20/step-20.cc b/examples/step-20/step-20.cc index a629c3b5aa..5735bc81b4 100644 --- a/examples/step-20/step-20.cc +++ b/examples/step-20/step-20.cc @@ -817,7 +817,6 @@ int main() { try { - using namespace dealii; using namespace Step20; const unsigned int fe_degree = 0; diff --git a/examples/step-21/step-21.cc b/examples/step-21/step-21.cc index 9a188bbeeb..ef1d9eabdd 100644 --- a/examples/step-21/step-21.cc +++ b/examples/step-21/step-21.cc @@ -1174,7 +1174,6 @@ int main() { try { - using namespace dealii; using namespace Step21; TwoPhaseFlowProblem<2> two_phase_flow_problem(0); diff --git a/examples/step-22/step-22.cc b/examples/step-22/step-22.cc index 93551f5812..71576aa9c0 100644 --- a/examples/step-22/step-22.cc +++ b/examples/step-22/step-22.cc @@ -1066,7 +1066,6 @@ int main() { try { - using namespace dealii; using namespace Step22; StokesProblem<2> flow_problem(1); diff --git a/examples/step-23/step-23.cc b/examples/step-23/step-23.cc index 152ac538e6..9fe93cf14c 100644 --- a/examples/step-23/step-23.cc +++ b/examples/step-23/step-23.cc @@ -605,7 +605,6 @@ int main() { try { - using namespace dealii; using namespace Step23; WaveEquation<2> wave_equation_solver; diff --git a/examples/step-24/step-24.cc b/examples/step-24/step-24.cc index 611e41c205..e56ca18bcc 100644 --- a/examples/step-24/step-24.cc +++ b/examples/step-24/step-24.cc @@ -535,7 +535,6 @@ int main() { try { - using namespace dealii; using namespace Step24; TATForwardProblem<2> forward_problem_solver; diff --git a/examples/step-25/step-25.cc b/examples/step-25/step-25.cc index f9ff02df56..057d813f8d 100644 --- a/examples/step-25/step-25.cc +++ b/examples/step-25/step-25.cc @@ -688,7 +688,6 @@ int main() { try { - using namespace dealii; using namespace Step25; SineGordonProblem<1> sg_problem; diff --git a/examples/step-26/step-26.cc b/examples/step-26/step-26.cc index 16c260a93b..cc09e8e835 100644 --- a/examples/step-26/step-26.cc +++ b/examples/step-26/step-26.cc @@ -655,7 +655,6 @@ int main() { try { - using namespace dealii; using namespace Step26; HeatEquation<2> heat_equation_solver; diff --git a/examples/step-27/step-27.cc b/examples/step-27/step-27.cc index 0f7aafd171..3152116cae 100644 --- a/examples/step-27/step-27.cc +++ b/examples/step-27/step-27.cc @@ -738,7 +738,6 @@ int main() { try { - using namespace dealii; using namespace Step27; LaplaceProblem<2> laplace_problem; diff --git a/examples/step-30/step-30.cc b/examples/step-30/step-30.cc index 9ad0a56f27..d3cd72b612 100644 --- a/examples/step-30/step-30.cc +++ b/examples/step-30/step-30.cc @@ -1000,7 +1000,6 @@ int main() { try { - using namespace dealii; using namespace Step30; // If you want to run the program in 3D, simply change the following diff --git a/examples/step-34/step-34.cc b/examples/step-34/step-34.cc index f4f566b9c6..cd77ce935f 100644 --- a/examples/step-34/step-34.cc +++ b/examples/step-34/step-34.cc @@ -1078,7 +1078,6 @@ int main() { try { - using namespace dealii; using namespace Step34; const unsigned int degree = 1; diff --git a/examples/step-35/step-35.cc b/examples/step-35/step-35.cc index 78ddf40a5a..8a7f0b6bfe 100644 --- a/examples/step-35/step-35.cc +++ b/examples/step-35/step-35.cc @@ -1429,7 +1429,6 @@ int main() { try { - using namespace dealii; using namespace Step35; RunTimeParameters::Data_Storage data; diff --git a/examples/step-38/step-38.cc b/examples/step-38/step-38.cc index 27e54483f1..bc2644d047 100644 --- a/examples/step-38/step-38.cc +++ b/examples/step-38/step-38.cc @@ -531,7 +531,6 @@ int main() { try { - using namespace dealii; using namespace Step38; LaplaceBeltramiProblem<3> laplace_beltrami; diff --git a/examples/step-44/step-44.cc b/examples/step-44/step-44.cc index 31eeefcfdf..97b37a7ce1 100644 --- a/examples/step-44/step-44.cc +++ b/examples/step-44/step-44.cc @@ -3398,7 +3398,6 @@ namespace Step44 // no different to the other tutorials. int main() { - using namespace dealii; using namespace Step44; try diff --git a/examples/step-46/step-46.cc b/examples/step-46/step-46.cc index e9d1ee270a..b370c2f780 100644 --- a/examples/step-46/step-46.cc +++ b/examples/step-46/step-46.cc @@ -1033,7 +1033,6 @@ int main() { try { - using namespace dealii; using namespace Step46; FluidStructureProblem<2> flow_problem(1, 1); diff --git a/examples/step-51/step-51.cc b/examples/step-51/step-51.cc index 57fae64664..b3bdb43b81 100644 --- a/examples/step-51/step-51.cc +++ b/examples/step-51/step-51.cc @@ -1396,8 +1396,6 @@ int main() try { - using namespace dealii; - // Now for the three calls to the main class in complete analogy to // step-7. { diff --git a/examples/step-54/step-54.cc b/examples/step-54/step-54.cc index db90d83c85..e21210a6c1 100644 --- a/examples/step-54/step-54.cc +++ b/examples/step-54/step-54.cc @@ -386,7 +386,6 @@ int main() { try { - using namespace dealii; using namespace Step54; const std::string in_mesh_filename = "input/initial_mesh_3d.vtk"; diff --git a/examples/step-56/step-56.cc b/examples/step-56/step-56.cc index 19a9b3ab99..e02b9780c1 100644 --- a/examples/step-56/step-56.cc +++ b/examples/step-56/step-56.cc @@ -1111,7 +1111,6 @@ int main() { try { - using namespace dealii; using namespace Step56; const int degree = 1; diff --git a/examples/step-57/step-57.cc b/examples/step-57/step-57.cc index a8b8911cb4..31327e3295 100644 --- a/examples/step-57/step-57.cc +++ b/examples/step-57/step-57.cc @@ -838,7 +838,6 @@ int main() { try { - using namespace dealii; using namespace Step57; StationaryNavierStokes<2> flow(/* degree = */ 1);