From f53dd96261a6dc554e1dac243b18f7aa97f711b6 Mon Sep 17 00:00:00 2001 From: cameron-stewart <cameron.n.stewart@gmail.com> Date: Tue, 15 Jan 2019 15:02:30 -0500 Subject: [PATCH] remove main from namespace --- tests/lbm/SuViscoelasticityTest.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/lbm/SuViscoelasticityTest.cpp b/tests/lbm/SuViscoelasticityTest.cpp index f305761eb..f9b9a3a5a 100644 --- a/tests/lbm/SuViscoelasticityTest.cpp +++ b/tests/lbm/SuViscoelasticityTest.cpp @@ -229,14 +229,17 @@ private: real_t L_, H_, uMax_, uPrev_, uCurr_, uExpected_, uSteady_; }; +} // namespace walberla ////////// // Main // ////////// int main(int argc, char ** argv ){ + using namespace walberla; - walberla::Environment env( argc, argv ); + debug::enterTestMode(); + Environment env( argc, argv ); // read parameter shared_ptr<StructuredBlockForest> blocks = blockforest::createUniformBlockGridFromConfig( env.config() ); @@ -315,4 +318,4 @@ int main(int argc, char ** argv ){ } -} + -- GitLab