Skip to content
Snippets Groups Projects
Commit ae94a0e6 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Merge branch 'issue/backup_restore_test' into 'master'

allo parallel execution of backup-restore tests

See merge request !57
parents d0a4cbdf 09a0f7fb
Branches
Tags
1 merge request!57allo parallel execution of backup-restore tests
......@@ -14,6 +14,9 @@
#if HAVE_DUNE_FOAMGRID
#include <dune/foamgrid/foamgrid.hh>
#endif
#if HAVE_DUNE_UGGRID
#include <dune/grid/uggrid.hh>
#endif
#include "Tests.hpp"
......@@ -92,10 +95,10 @@ int main(int argc, char** argv)
AMDiS::init(argc, argv);
std::string filename = "test";
Parameters::set("test->backup->grid", filename + ".grid");
Parameters::set("test->restore->grid", filename + ".grid");
Parameters::set("test->backup->solution", filename + ".solution");
Parameters::set("test->restore->solution", filename + ".solution");
Parameters::set("test->backup->grid", filename + "_" + std::to_string(GRID_ID) + ".grid");
Parameters::set("test->restore->grid", filename + "_" + std::to_string(GRID_ID) + ".grid");
Parameters::set("test->backup->solution", filename + "_" + std::to_string(GRID_ID) + ".solution");
Parameters::set("test->restore->solution", filename + "_" + std::to_string(GRID_ID) + ".solution");
#if GRID_ID == 0
test_cube<Dune::YaspGrid<2>>();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment