From cfe083e31dfcb015dc02fb19d424563d5b8155e9 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 2 Dec 2022 15:49:12 -0700 Subject: [PATCH] Just do 'using namespace dealii' in main(). --- examples/step-12b/step-12b.cc | 3 ++- examples/step-81/step-81.cc | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/step-12b/step-12b.cc b/examples/step-12b/step-12b.cc index 7a7b03ba52..83a0462649 100644 --- a/examples/step-12b/step-12b.cc +++ b/examples/step-12b/step-12b.cc @@ -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(); diff --git a/examples/step-81/step-81.cc b/examples/step-81/step-81.cc index 1caef9e297..2e3df44434 100644 --- a/examples/step-81/step-81.cc +++ b/examples/step-81/step-81.cc @@ -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) -- 2.39.5