Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
dumux-repositories
dumux
Commits
fa114acb
Commit
fa114acb
authored
5 years ago
by
Dennis Gläser
Committed by
Timo Koch
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[facet][couplingmapper] use unorderd_map for index map
parent
b9b4672b
No related branches found
No related tags found
1 merge request
!1545
Some fixes for coupling moving meshes.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dumux/multidomain/facet/couplingmapperbase.hh
+2
-2
2 additions, 2 deletions
dumux/multidomain/facet/couplingmapperbase.hh
with
2 additions
and
2 deletions
dumux/multidomain/facet/couplingmapperbase.hh
+
2
−
2
View file @
fa114acb
...
...
@@ -233,12 +233,12 @@ private:
//! Creates the map from element insertion index to grid element index
template
<
class
Embeddings
,
class
FVGridGeometry
>
std
::
map
<
typename
IndexTraits
<
typename
FVGridGeometry
::
GridView
>::
GridIndex
,
typename
IndexTraits
<
typename
FVGridGeometry
::
GridView
>::
GridIndex
>
std
::
unordered_
map
<
typename
IndexTraits
<
typename
FVGridGeometry
::
GridView
>::
GridIndex
,
typename
IndexTraits
<
typename
FVGridGeometry
::
GridView
>::
GridIndex
>
makeInsertionToGridIndexMap_
(
std
::
shared_ptr
<
const
Embeddings
>
embeddings
,
const
FVGridGeometry
&
fvGridGeometry
)
const
{
using
GridIndexType
=
typename
IndexTraits
<
typename
FVGridGeometry
::
GridView
>::
GridIndex
;
std
::
map
<
GridIndexType
,
GridIndexType
>
map
;
std
::
unordered_
map
<
GridIndexType
,
GridIndexType
>
map
;
for
(
const
auto
&
e
:
elements
(
fvGridGeometry
.
gridView
()))
map
.
insert
(
std
::
make_pair
(
embeddings
->
template
insertionIndex
<
bulkId
>(
e
),
fvGridGeometry
.
elementMapper
().
index
(
e
)
)
);
...
...
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