Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-multidomaingrid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
extensions
dune-multidomaingrid
Commits
d7922050
Commit
d7922050
authored
3 years ago
by
Santiago Ospina De Los Ríos
Browse files
Options
Downloads
Plain Diff
Merge branch 'feature/remove-typetree-dependency' into 'master'
Remove typetree dependecy See merge request
!31
parents
0341ff69
110084a7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!31
Remove typetree dependecy
Pipeline
#38173
passed
3 years ago
Stage: test
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGELOG.md
+6
-2
6 additions, 2 deletions
CHANGELOG.md
README.md
+0
-2
0 additions, 2 deletions
README.md
dune.module
+1
-1
1 addition, 1 deletion
dune.module
dune/grid/multidomaingrid/indexsets.hh
+10
-12
10 additions, 12 deletions
dune/grid/multidomaingrid/indexsets.hh
with
17 additions
and
17 deletions
CHANGELOG.md
+
6
−
2
View file @
d7922050
...
...
@@ -15,9 +15,13 @@ Changes
### Unreleased
*
Fix bug where le
l
ve index sets where not updated after grid adaptation.
*
Fix bug where leve
l
index sets where not updated after grid adaptation.
*
Add entity iterator capabilities
*
Add entity iterator capabilities.
*
Compatiblity with DUNE 2.8.0.
*
Remove dune-typetree dependency.
### MultiDomainGrid 2.7
...
...
This diff is collapsed.
Click to expand it.
README.md
+
0
−
2
View file @
d7922050
...
...
@@ -84,8 +84,6 @@ dune-multidomaingrid depends on the following software packages:
*
[
DUNE core libraries
][
2
]
(dune-common, dune-geometry, dune-grid) version 2.7-git,
and their respective dependencies.
*
The
[
dune-typetree
][
7
]
library, version 2.7-git.
*
CMake 3.1.0 and a compiler that is compatible with GCC 5 or newer in C++14 mode.
...
...
This diff is collapsed.
Click to expand it.
dune.module
+
1
−
1
View file @
d7922050
...
...
@@ -6,5 +6,5 @@ Module: dune-multidomaingrid
Version
:
2.7
-
git
Maintainer
:
steffen
.
muething
@
iwr
.
uni
-
heidelberg
.
de
#depending on
Depends
:
dune
-
grid
(
>=
2.7
)
dune
-
typetree
(
>=
2.7
)
Depends
:
dune
-
grid
(
>=
2.7
)
Whitespace
-
Hook
:
Yes
This diff is collapsed.
Click to expand it.
dune/grid/multidomaingrid/indexsets.hh
+
10
−
12
View file @
d7922050
...
...
@@ -11,16 +11,16 @@
#include
<tuple>
#include
<utility>
#include
<dune/common/hybridutilities.hh>
#include
<dune/geometry/typeindex.hh>
#include
<dune/grid/common/exceptions.hh>
#include
<dune/grid/common/indexidset.hh>
#include
<dune/grid/multidomaingrid/utility.hh>
#include
<dune/grid/multidomaingrid/subdomaingrid/indexsets.hh>
#include
<dune/typetree/utility.hh>
namespace
Dune
{
namespace
mdgrid
{
...
...
@@ -729,20 +729,18 @@ private:
template
<
typename
Functor
>
void
applyToCodims
(
Functor
func
)
const
{
TypeTree
::
apply_to_tuple
(
_containers
,
func
,
TypeTree
::
apply_to_tuple_policy
::
pass_index
()
);
// static loop over container tuple
Hybrid
::
forEach
(
Dune
::
range
(
std
::
tuple_size
<
ContainerMap
>
{}),
[
&
](
auto
i
){
func
(
i
,
std
::
get
<
i
>
(
_containers
));}
);
}
template
<
typename
Functor
>
void
applyToCodims
(
Functor
func
)
{
TypeTree
::
apply_to_tuple
(
_containers
,
func
,
TypeTree
::
apply_to_tuple_policy
::
pass_index
()
);
// static loop over container tuple
Hybrid
::
forEach
(
Dune
::
range
(
std
::
tuple_size
<
ContainerMap
>
{}),
[
&
](
auto
i
){
func
(
i
,
std
::
get
<
i
>
(
_containers
));}
);
}
template
<
typename
Impl
>
...
...
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