Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-gfe
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
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
Sander, Oliver
dune-gfe
Commits
be8e4d95
Commit
be8e4d95
authored
10 years ago
by
Oliver Sander
Committed by
sander
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Move the GlobalUniqueIndex class into the namespace Dune
[[Imported from SVN: r9917]]
parent
39db86ed
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dune/gfe/parallel/globalindex.hh
+5
-0
5 additions, 0 deletions
dune/gfe/parallel/globalindex.hh
dune/gfe/riemanniantrsolver.cc
+3
-3
3 additions, 3 deletions
dune/gfe/riemanniantrsolver.cc
with
8 additions
and
3 deletions
dune/gfe/parallel/globalindex.hh
+
5
−
0
View file @
be8e4d95
...
@@ -66,6 +66,9 @@
...
@@ -66,6 +66,9 @@
/* of a given codim in a given GridView, assuming they all have the same geometry, */
/* of a given codim in a given GridView, assuming they all have the same geometry, */
/* i.e. codim, type */
/* i.e. codim, type */
/*********************************************************************************************/
/*********************************************************************************************/
namespace
Dune
{
template
<
class
GridView
,
int
CODIM
>
template
<
class
GridView
,
int
CODIM
>
class
GlobalUniqueIndex
class
GlobalUniqueIndex
{
{
...
@@ -346,4 +349,6 @@ protected:
...
@@ -346,4 +349,6 @@ protected:
IndexMap
globalLocalMap_
;
IndexMap
globalLocalMap_
;
};
};
}
// namespace Dune
#endif
/* GLOBALUNIQUEINDEX_HH_ */
#endif
/* GLOBALUNIQUEINDEX_HH_ */
This diff is collapsed.
Click to expand it.
dune/gfe/riemanniantrsolver.cc
+
3
−
3
View file @
be8e4d95
...
@@ -181,7 +181,7 @@ setup(const GridType& grid,
...
@@ -181,7 +181,7 @@ setup(const GridType& grid,
// If we are on more than 1 processors, join all local transfer matrices on rank 0,
// If we are on more than 1 processors, join all local transfer matrices on rank 0,
// and construct a single global transfer operator there.
// and construct a single global transfer operator there.
typedef
GlobalUniqueIndex
<
typename
GridType
::
LeafGridView
,
gridDim
>
LeafP1GUIndex
;
typedef
Dune
::
GlobalUniqueIndex
<
typename
GridType
::
LeafGridView
,
gridDim
>
LeafP1GUIndex
;
LeafP1GUIndex
p1Index
(
grid_
->
leafGridView
());
LeafP1GUIndex
p1Index
(
grid_
->
leafGridView
());
typedef
typename
TruncatedCompressedMGTransfer
<
CorrectionType
>::
TransferOperatorType
TransferOperatorType
;
typedef
typename
TruncatedCompressedMGTransfer
<
CorrectionType
>::
TransferOperatorType
TransferOperatorType
;
...
@@ -198,7 +198,7 @@ setup(const GridType& grid,
...
@@ -198,7 +198,7 @@ setup(const GridType& grid,
// If we are on more than 1 processors, join all local transfer matrices on rank 0,
// If we are on more than 1 processors, join all local transfer matrices on rank 0,
// and construct a single global transfer operator there.
// and construct a single global transfer operator there.
typedef
GlobalUniqueIndex
<
typename
GridType
::
LevelGridView
,
gridDim
>
LevelGUIndex
;
typedef
Dune
::
GlobalUniqueIndex
<
typename
GridType
::
LevelGridView
,
gridDim
>
LevelGUIndex
;
LevelGUIndex
fineGUIndex
(
grid_
->
levelGridView
(
i
+
2
));
LevelGUIndex
fineGUIndex
(
grid_
->
levelGridView
(
i
+
2
));
LevelGUIndex
coarseGUIndex
(
grid_
->
levelGridView
(
i
+
1
));
LevelGUIndex
coarseGUIndex
(
grid_
->
levelGridView
(
i
+
1
));
...
@@ -221,7 +221,7 @@ setup(const GridType& grid,
...
@@ -221,7 +221,7 @@ setup(const GridType& grid,
// If we are on more than 1 processors, join all local transfer matrices on rank 0,
// If we are on more than 1 processors, join all local transfer matrices on rank 0,
// and construct a single global transfer operator there.
// and construct a single global transfer operator there.
typedef
GlobalUniqueIndex
<
typename
GridType
::
LevelGridView
,
gridDim
>
LevelGUIndex
;
typedef
Dune
::
GlobalUniqueIndex
<
typename
GridType
::
LevelGridView
,
gridDim
>
LevelGUIndex
;
LevelGUIndex
fineGUIndex
(
grid_
->
levelGridView
(
i
+
1
));
LevelGUIndex
fineGUIndex
(
grid_
->
levelGridView
(
i
+
1
));
LevelGUIndex
coarseGUIndex
(
grid_
->
levelGridView
(
i
));
LevelGUIndex
coarseGUIndex
(
grid_
->
levelGridView
(
i
));
...
...
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