Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
dumux-repositories
dumux
Commits
6e95a2a7
Commit
6e95a2a7
authored
7 years ago
by
Thomas Fetzer
Browse files
Options
Downloads
Patches
Plain Diff
[test] Make backward compatible with dune 2.5
parent
6963543f
No related branches found
No related tags found
1 merge request
!750
[test] Make backward compatible with dune 2.5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/common/geometry/test_1d3d_intersection.cc
+4
-2
4 additions, 2 deletions
test/common/geometry/test_1d3d_intersection.cc
with
4 additions
and
2 deletions
test/common/geometry/test_1d3d_intersection.cc
+
4
−
2
View file @
6e95a2a7
...
...
@@ -59,11 +59,13 @@ int main (int argc, char *argv[]) try
{
0.0
,
0.0
,
1.0
},
{
1.0
,
0.0
,
1.0
},
{
0.0
,
1.0
,
1.0
},
{
1.0
,
1.0
,
1.0
}
});
Dune
::
MultiLinearGeometry
<
double
,
dim
,
dimworld
>
#if DUNE_VERSION_NEWER(DUNE_COMMON,2,6)
Dune
::
MultiLinearGeometry
<
double
,
dim
,
dimworld
>
cube
(
Dune
::
GeometryTypes
::
cube
(
dimworld
),
cubeCorners
);
#else
Dune
::
GeometryType
geomType
;
geomType
.
makeCube
(
3
);
Dune
::
GeometryType
geomType
;
geomType
.
makeCube
(
3
);
Dune
::
MultiLinearGeometry
<
double
,
dim
,
dimworld
>
cube
(
geomType
,
cubeCorners
);
#endif
...
...
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