Skip to content
Snippets Groups Projects
Commit a33c4831 authored by Timo Koch's avatar Timo Koch
Browse files

[test][pm][tracer] Use Dumux::initialize

parent f88d55de
No related branches found
No related tags found
1 merge request!2909Feature/multithreaded assembly using a coloring scheme
......@@ -28,8 +28,8 @@
#include <dune/common/parallel/mpihelper.hh>
#include <dune/common/timer.hh>
#include <dune/grid/io/file/vtk.hh>
#include <dumux/common/initialize.hh>
#include <dumux/common/properties.hh>
#include <dumux/common/parameters.hh>
#include <dumux/common/dumuxmessage.hh>
......@@ -56,8 +56,10 @@ int main(int argc, char** argv)
//! define the type tags for this problem
using TwoPTypeTag = Properties::TTag::TwoPIncompressibleTpfa;
using TracerTypeTag = Properties::TTag::TwoPTracerTestTpfa;
//! initialize MPI, finalize is done automatically on exit
const auto& mpiHelper = Dune::MPIHelper::instance(argc, argv);
// maybe initialize MPI and/or multithreading backend
Dumux::initialize(argc, argv);
const auto& mpiHelper = Dune::MPIHelper::instance();
//! print dumux start message
if (mpiHelper.rank() == 0)
......
......@@ -30,6 +30,7 @@
#include <dune/common/timer.hh>
#include <dune/grid/io/file/vtk/vtksequencewriter.hh>
#include <dumux/common/initialize.hh>
#include <dumux/common/properties.hh>
#include <dumux/common/parameters.hh>
#include <dumux/common/dumuxmessage.hh>
......@@ -50,8 +51,9 @@ int main(int argc, char** argv)
//! define the type tag for this problem
using TypeTag = Properties::TTag::TYPETAG;
//! initialize MPI, finalize is done automatically on exit
const auto& mpiHelper = Dune::MPIHelper::instance(argc, argv);
// maybe initialize MPI and/or multithreading backend
Dumux::initialize(argc, argv);
const auto& mpiHelper = Dune::MPIHelper::instance();
//! print dumux start message
if (mpiHelper.rank() == 0)
......
......@@ -30,6 +30,7 @@
#include <dune/common/timer.hh>
#include <dune/grid/io/file/vtk/vtksequencewriter.hh>
#include <dumux/common/initialize.hh>
#include <dumux/common/properties.hh>
#include <dumux/common/parameters.hh>
#include <dumux/common/dumuxmessage.hh>
......@@ -51,8 +52,9 @@ int main(int argc, char** argv)
//! define the type tag for this problem
using TypeTag = Properties::TTag::TYPETAG;
//! initialize MPI, finalize is done automatically on exit
const auto& mpiHelper = Dune::MPIHelper::instance(argc, argv);
// maybe initialize MPI and/or multithreading backend
Dumux::initialize(argc, argv);
const auto& mpiHelper = Dune::MPIHelper::instance();
//! print dumux start message
if (mpiHelper.rank() == 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment