Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dune-multimesh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Praetorius, Simon
dune-multimesh
Commits
e8152f8a
Commit
e8152f8a
authored
Jun 28, 2018
by
Praetorius, Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some error corrections for clang. Removed final contains-check in mmiterator.
parent
e30e30f1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
dune/multimesh/mmentity.hh
dune/multimesh/mmentity.hh
+1
-1
dune/multimesh/mmiterator.hh
dune/multimesh/mmiterator.hh
+3
-3
dune/multimesh/multiindexset.hh
dune/multimesh/multiindexset.hh
+2
-2
dune/multimesh/multimesh.hh
dune/multimesh/multimesh.hh
+1
-1
No files found.
dune/multimesh/mmentity.hh
View file @
e8152f8a
...
...
@@ -34,7 +34,7 @@ namespace Dune
using
Super
=
std
::
vector
<
HostGridEntity
>
;
/// Constructor from std::vector
using
Super
::
vector
;
using
std
::
vector
<
HostGridEntity
>
::
vector
;
/// Return a local geometry of source in target
static
LocalGeometry
localGeometry
(
HostGridEntity
const
&
source
,
HostGridEntity
const
&
target
)
...
...
dune/multimesh/mmiterator.hh
View file @
e8152f8a
...
...
@@ -224,10 +224,10 @@ namespace Dune
for
(;
!
(
contains_
[
i
](
child
)
||
child
.
isLeaf
());
child
=
dereference
(
i
))
{
assert
(
child
.
isRegular
()
&&
"No irregular elements allowed in multi-mesh traversal"
);
entityStack
.
emplace
(
child
);
assert
(
entityStack
.
size
()
<=
maxLevel_
[
i
]
);
assert
(
entityStack
.
size
()
<=
maxLevel_
[
i
]
);
}
assert
(
contains_
[
i
](
child
)
&&
"No valid child element found in gridView"
);
//
assert(contains_[i](child) && "No valid child element found in gridView");
}
/// Return true, if all stacks with size > stack[i].size are finished
...
...
@@ -259,7 +259,7 @@ namespace Dune
assert
(
entityStack
.
size
()
<=
maxLevel_
[
i
]);
}
assert
(
contains_
[
i
](
child
)
&&
"No valid child element found in gridView"
);
//
assert(contains_[i](child) && "No valid child element found in gridView");
}
HostEntity
dereference
(
std
::
size_t
i
)
const
...
...
dune/multimesh/multiindexset.hh
View file @
e8152f8a
...
...
@@ -57,7 +57,7 @@ namespace Dune
/// Map entity to index.
template
<
int
cc
>
IndexType
index
(
const
typename
LeafIndexSet
::
Traits
::
template
Codim
<
cc
>
::
Entity
&
e
)
const
IndexType
index
(
const
typename
LeafIndexSet
::
template
Codim
<
cc
>
::
Entity
&
e
)
const
{
return
std
::
visit
([
&
e
](
auto
const
*
is
)
{
return
is
->
template
index
<
cc
>(
e
);
},
indexSets_
);
}
...
...
@@ -71,7 +71,7 @@ namespace Dune
/// Map a subentity to an index.
template
<
int
cc
>
IndexType
subIndex
(
const
typename
LeafIndexSet
::
Traits
::
template
Codim
<
cc
>
::
Entity
&
e
,
IndexType
subIndex
(
const
typename
LeafIndexSet
::
template
Codim
<
cc
>
::
Entity
&
e
,
int
i
,
unsigned
int
codim
)
const
{
return
std
::
visit
([
&
e
,
i
,
codim
](
auto
const
*
is
)
{
return
is
->
template
subIndex
<
cc
>(
e
,
i
,
codim
);
},
indexSets_
);
...
...
dune/multimesh/multimesh.hh
View file @
e8152f8a
...
...
@@ -60,7 +60,7 @@ namespace Dune
using
LevelIterator
=
typename
Partition
<
All_Partition
>::
LevelIterator
;
private:
friend
class
HostGrid
::
GridFamily
::
Traits
::
template
Codim
<
cd
>
::
Entity
;
//
friend class HostGrid::GridFamily::Traits::template Codim<cd>::Entity;
};
/// The type of view for leaf grid
...
...
Write
Preview
Markdown
is supported
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