Skip to content
GitLab
Menu
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
fd65bf3b
Commit
fd65bf3b
authored
Dec 02, 2018
by
Timo Koch
Browse files
[bugfix][test] Make indices constexpr
parent
8f54913a
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/multidomain/facet/1p_1p/threedomain/main.cc
View file @
fd65bf3b
...
...
@@ -96,9 +96,9 @@ int main(int argc, char** argv) try
// the multidomain traits and some indices
using
Traits
=
typename
TestTraits
::
MDTraits
;
static
const
auto
bulkId
=
Traits
::
template
SubDomain
<
0
>
::
Index
{};
static
const
auto
facetId
=
Traits
::
template
SubDomain
<
1
>
::
Index
{};
static
const
auto
edgeId
=
Traits
::
template
SubDomain
<
2
>
::
Index
{};
const
expr
auto
bulkId
=
Traits
::
template
SubDomain
<
0
>
::
Index
{};
const
expr
auto
facetId
=
Traits
::
template
SubDomain
<
1
>
::
Index
{};
const
expr
auto
edgeId
=
Traits
::
template
SubDomain
<
2
>
::
Index
{};
// try to create a grid (from the given grid file or the input file)
FacetCouplingGridManager
<
Traits
::
template
SubDomain
<
bulkId
>
::
Grid
,
...
...
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