Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
ae94a0e6
Commit
ae94a0e6
authored
May 12, 2019
by
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
Changes
1
Show whitespace changes
Inline
Side-by-side
test/BackupRestoreTest.cpp
View file @
ae94a0e6
...
...
@@ -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
>>
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment