Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-pdelab-tutorials
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
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
PDELab
dune-pdelab-tutorials
Merge requests
!78
Replace TreePath<i...> by HybridTreePath<Dune::index_constant<i>...>
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Replace TreePath<i...> by HybridTreePath<Dune::index_constant<i>...>
fix/compatible-hybridtreepath
into
master
Overview
1
Commits
3
Pipelines
0
Changes
11
Merged
Christian Engwer
requested to merge
fix/compatible-hybridtreepath
into
master
5 years ago
Overview
1
Commits
3
Pipelines
0
Changes
11
Expand
0
0
Merge request reports
Compare
master
version 4
b1f082da
5 years ago
version 3
7637173c
5 years ago
version 2
f8332670
5 years ago
version 1
8c559ce5
5 years ago
master (base)
and
latest version
latest version
a2afbce3
3 commits,
5 years ago
version 4
b1f082da
9 commits,
5 years ago
version 3
7637173c
2 commits,
5 years ago
version 2
f8332670
1 commit,
5 years ago
version 1
8c559ce5
1 commit,
5 years ago
11 files
+
38
−
40
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
11
Search (e.g. *.vue) (Ctrl+P)
tutorial04/exercise/solution/driver.hh
+
5
−
3
Options
@@ -29,7 +29,7 @@ void driver (const GV& gv, const FEM& fem,
GFS
gfs
(
gfs0
);
// Add names to the components for VTK output
using
namespace
Dune
::
TypeTree
::
Indices
;
using
namespace
Dune
::
Indices
;
gfs
.
child
(
_0
).
name
(
"u0"
);
gfs
.
child
(
_1
).
name
(
"u1"
);
@@ -126,9 +126,11 @@ void driver (const GV& gv, const FEM& fem,
// subspaces
using
U0SUB
=
Dune
::
PDELab
::
GridFunctionSubSpace
<
GFS
,
Dune
::
TypeTree
::
TreePath
<
0
>
>
;
using
Path0
=
Dune
::
TypeTree
::
HybridTreePath
<
Dune
::
index_constant
<
0
>>
;
using
Path1
=
Dune
::
TypeTree
::
HybridTreePath
<
Dune
::
index_constant
<
1
>>
;
using
U0SUB
=
Dune
::
PDELab
::
GridFunctionSubSpace
<
GFS
,
Path0
>
;
U0SUB
u0sub
(
gfs
);
using
U1SUB
=
Dune
::
PDELab
::
GridFunctionSubSpace
<
GFS
,
Dune
::
TypeTree
::
TreePath
<
1
>
>
;
using
U1SUB
=
Dune
::
PDELab
::
GridFunctionSubSpace
<
GFS
,
Path1
>
;
U1SUB
u1sub
(
gfs
);
// Make discrete grid functions for components
Loading