Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
44dd84b3
Commit
44dd84b3
authored
May 07, 2018
by
Bernd Flemisch
Browse files
Merge branch 'cherry-pick-
08da3c23
' into 'releases/2.10'
[test] fix co2 tests for Dumux 2.x and Dune 2.6 See merge request
!966
parents
dd6b1fdd
a1785b36
Changes
2
Hide whitespace changes
Inline
Side-by-side
test/porousmediumflow/co2/implicit/heterogeneousproblem.hh
View file @
44dd84b3
...
...
@@ -353,7 +353,11 @@ public:
*/
void
boundaryTypes
(
BoundaryTypes
&
values
,
const
Intersection
&
intersection
)
const
{
#if DUNE_VERSION_NEWER(DUNE_ALUGRID, 2, 6)
int
boundaryId
=
intersection
.
impl
().
boundaryId
();
#else
int
boundaryId
=
intersection
.
boundaryId
();
#endif
if
(
boundaryId
<
1
||
boundaryId
>
4
)
{
std
::
cout
<<
"invalid boundaryId: "
<<
boundaryId
<<
std
::
endl
;
...
...
@@ -403,8 +407,11 @@ public:
int
scvIdx
,
int
boundaryFaceIdx
)
const
{
#if DUNE_VERSION_NEWER(DUNE_ALUGRID, 2, 6)
int
boundaryId
=
intersection
.
impl
().
boundaryId
();
#else
int
boundaryId
=
intersection
.
boundaryId
();
#endif
values
=
0
;
if
(
boundaryId
==
injectionBottom_
)
{
...
...
test/porousmediumflow/co2/implicit/heterogeneousproblemni.hh
View file @
44dd84b3
...
...
@@ -366,7 +366,11 @@ public:
*/
void
boundaryTypes
(
BoundaryTypes
&
values
,
const
Intersection
&
intersection
)
const
{
#if DUNE_VERSION_NEWER(DUNE_ALUGRID, 2, 6)
int
boundaryId
=
intersection
.
impl
().
boundaryId
();
#else
int
boundaryId
=
intersection
.
boundaryId
();
#endif
if
(
boundaryId
<
1
||
boundaryId
>
4
)
{
std
::
cout
<<
"invalid boundaryId: "
<<
boundaryId
<<
std
::
endl
;
...
...
@@ -416,8 +420,11 @@ public:
int
scvIdx
,
int
boundaryFaceIdx
)
const
{
#if DUNE_VERSION_NEWER(DUNE_ALUGRID, 2, 6)
int
boundaryId
=
intersection
.
impl
().
boundaryId
();
#else
int
boundaryId
=
intersection
.
boundaryId
();
#endif
values
=
0
;
if
(
boundaryId
==
injectionBottom_
)
{
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment