Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
amdis-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
amdis
amdis-core
Commits
5d2ddcab
Commit
5d2ddcab
authored
5 years ago
by
Praetorius, Simon
Browse files
Options
Downloads
Patches
Plain Diff
change AMDiS::init to Environment in BackupRestoreTest
parent
d0a4cbdf
No related branches found
No related tags found
1 merge request
!59
change AMDiS::init to Environment in BackupRestoreTest
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/BackupRestoreTest.cpp
+1
-2
1 addition, 2 deletions
test/BackupRestoreTest.cpp
with
1 addition
and
2 deletions
test/BackupRestoreTest.cpp
+
1
−
2
View file @
5d2ddcab
...
@@ -89,7 +89,7 @@ void test_simplex()
...
@@ -89,7 +89,7 @@ void test_simplex()
int
main
(
int
argc
,
char
**
argv
)
int
main
(
int
argc
,
char
**
argv
)
{
{
AMDiS
::
init
(
argc
,
argv
);
Environment
env
(
argc
,
argv
);
std
::
string
filename
=
"test"
;
std
::
string
filename
=
"test"
;
Parameters
::
set
(
"test->backup->grid"
,
filename
+
".grid"
);
Parameters
::
set
(
"test->backup->grid"
,
filename
+
".grid"
);
...
@@ -131,6 +131,5 @@ int main(int argc, char** argv)
...
@@ -131,6 +131,5 @@ int main(int argc, char** argv)
// test_simplex<Dune::AlbertaGrid<2,2>>(); // Segmentation fault
// test_simplex<Dune::AlbertaGrid<2,2>>(); // Segmentation fault
// test_simplex<Dune::FoamGrid<2,2>>(); // Segmentation fault
// test_simplex<Dune::FoamGrid<2,2>>(); // Segmentation fault
AMDiS
::
finalize
();
return
report_errors
();
return
report_errors
();
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment