Skip to content
GitLab
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
b978f0e3
Commit
b978f0e3
authored
May 03, 2019
by
Praetorius, Simon
Browse files
allow parallel execution of runner tasks
parent
e0f34db5
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
b978f0e3
...
...
@@ -5,31 +5,41 @@ before_script:
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
DUNECI_PARALLEL
:
4
debian
:
10 gcc-8-17
:
dune-2.6
debian
-
10 gcc-8-17
:
image
:
registry.dune-project.org/docker/ci/dune:2.6-debian-10-gcc-8-17
script
:
-
dunecontrol --current all
-
dunecontrol --current make build_tests
-
dunecontrol --current make test
-
dunecontrol --current make examples
debian:10 clang-6-libcpp-17
:
image
:
registry.dune-project.org/docker/ci/dune:2.6-debian-10-clang-6-libcpp-17
script
:
-
duneci-standard-test
-
dunecontrol --current make examples
-
dunecontrol --current make
-j4
examples
debian
:
9 gcc-6-14
:
dune-2.6
debian
-
9 gcc-6-14
:
image
:
registry.dune-project.org/docker/ci/dune:2.6-debian-9-gcc-6-14
script
:
-
dunecontrol --current all
-
dunecontrol --current make build_tests
-
dunecontrol --current make test
-
dunecontrol --current make examples
-
duneci-standard-test
-
dunecontrol --current make -j4 examples
ubuntu
:
18.04 clang-6-17
:
dune-2.6
ubuntu
-
18.04 clang-6-17
:
image
:
registry.dune-project.org/docker/ci/dune:2.6-ubuntu-18.04-clang-6-17
script
:
-
duneci-standard-test
-
dunecontrol --current make examples
-
dunecontrol --current make -j4 examples
dune-git debian-10 gcc-8-17
:
image
:
registry.dune-project.org/docker/ci/dune:git-debian-10-gcc-8-17
script
:
-
duneci-standard-test
-
dunecontrol --current make -j4 examples
dune-git debian-9 gcc-6-14
:
image
:
registry.dune-project.org/docker/ci/dune:git-debian-9-gcc-6-14
script
:
-
duneci-standard-test
-
dunecontrol --current make -j4 examples
dune-git ubuntu-18.04 clang-6-17
:
image
:
registry.dune-project.org/docker/ci/dune:git-ubuntu-18.04-clang-6-17
script
:
-
duneci-standard-test
-
dunecontrol --current make -j4 examples
src/amdis/functions/Interpolate.hpp
View file @
b978f0e3
...
...
@@ -207,16 +207,16 @@ namespace Impl {
decltype
(
auto
)
toVectorBackend
(
B
const
&
basis
,
Vec
&
vec
)
{
return
Dune
::
Hybrid
::
ifElse
(
Dune
::
models
<
Dune
::
Functions
::
Concept
::
VectorBackend
<
B
>
,
Vec
>
(),
[
&
](
auto
id
)
->
decltype
(
auto
)
{
return
vec
;
},
[
&
](
auto
id
)
->
decltype
(
auto
)
{
return
Dune
::
Functions
::
istlVectorBackend
(
vec
);
});
[
&
](
auto
id
)
->
decltype
(
auto
)
{
return
id
(
vec
)
;
},
[
&
](
auto
id
)
->
decltype
(
auto
)
{
return
Dune
::
Functions
::
istlVectorBackend
(
id
(
vec
)
)
;
});
}
template
<
class
B
,
class
Vec
>
decltype
(
auto
)
toConstVectorBackend
(
B
const
&
basis
,
Vec
const
&
vec
)
{
return
Dune
::
Hybrid
::
ifElse
(
Dune
::
models
<
Dune
::
Functions
::
Concept
::
ConstVectorBackend
<
B
>
,
Vec
>
(),
[
&
](
auto
id
)
->
decltype
(
auto
)
{
return
vec
;
},
[
&
](
auto
id
)
->
decltype
(
auto
)
{
return
Dune
::
Functions
::
istlVectorBackend
(
vec
);
});
[
&
](
auto
id
)
->
decltype
(
auto
)
{
return
id
(
vec
)
;
},
[
&
](
auto
id
)
->
decltype
(
auto
)
{
return
Dune
::
Functions
::
istlVectorBackend
(
id
(
vec
)
)
;
});
}
}
// namespace Impl
...
...
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