Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-istl
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
Core Modules
dune-istl
Commits
70aa9456
Commit
70aa9456
authored
19 years ago
by
Markus Blatt
Browse files
Options
Downloads
Patches
Plain Diff
removed unnecessary friend declarations.
[[Imported from SVN: r211]]
parent
b65a89f0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
istl/remoteindices.hh
+2
-20
2 additions, 20 deletions
istl/remoteindices.hh
istl/test/syncertest.cc
+3
-3
3 additions, 3 deletions
istl/test/syncertest.cc
with
5 additions
and
23 deletions
istl/remoteindices.hh
+
2
−
20
View file @
70aa9456
...
...
@@ -288,18 +288,6 @@ namespace Dune {
template
<
class
TG
,
class
TA
,
int
N
>
class
IndicesSyncer
;
}
template
<
typename
TG
,
typename
TA
,
int
N
>
void
deleteOverlapEntries
(
Dune
::
IndexSet
<
TG
,
Dune
::
ParallelLocalIndex
<
TA
>
,
N
>&
indices
,
Dune
::
RemoteIndices
<
TG
,
TA
,
N
>&
remoteIndices
);
template
<
typename
TG
,
typename
TA
,
int
N
>
void
addFakeRemoteIndices
(
Dune
::
IndexSet
<
TG
,
Dune
::
ParallelLocalIndex
<
TA
>
,
N
>&
,
Dune
::
IndexSet
<
TG
,
Dune
::
ParallelLocalIndex
<
TA
>
,
N
>&
,
Dune
::
RemoteIndices
<
TG
,
TA
,
N
>&
,
Dune
::
RemoteIndices
<
TG
,
TA
,
N
>&
);
namespace
Dune
{
/**
* @brief The indices present on remote processes.
...
...
@@ -314,12 +302,6 @@ namespace Dune
friend
void
repairLocalIndexPointers
(
std
::
map
<
int
,
SLList
<
T1
,
A
>
>&
,
RemoteIndices
<
T1
,
T2
,
M
>&
,
const
IndexSet
<
T1
,
ParallelLocalIndex
<
T2
>
,
M
>&
);
friend
std
::
ostream
&
operator
<<<>
(
std
::
ostream
&
,
const
RemoteIndices
<
TG
,
TA
,
N
>&
);
friend
void
deleteOverlapEntries
<>
(
Dune
::
IndexSet
<
TG
,
Dune
::
ParallelLocalIndex
<
TA
>
,
N
>&
,
Dune
::
RemoteIndices
<
TG
,
TA
,
N
>&
);
friend
void
addFakeRemoteIndices
<>
(
Dune
::
IndexSet
<
TG
,
Dune
::
ParallelLocalIndex
<
TA
>
,
N
>&
,
Dune
::
IndexSet
<
TG
,
Dune
::
ParallelLocalIndex
<
TA
>
,
N
>&
,
Dune
::
RemoteIndices
<
TG
,
TA
,
N
>&
,
Dune
::
RemoteIndices
<
TG
,
TA
,
N
>&
);
public:
/**
...
...
@@ -422,13 +404,13 @@ namespace Dune
* @brief Get an iterator over all remote index lists.
* @return The iterator over all remote index lists postioned at the first process.
*/
inline
typename
RemoteIndexMap
::
const_iterator
begin
()
const
;
inline
const_iterator
begin
()
const
;
/**
* @brief Get an iterator over all remote index lists.
* @return The iterator over all remote index lists postioned at the end.
*/
inline
typename
RemoteIndexMap
::
const_iterator
end
()
const
;
inline
const_iterator
end
()
const
;
/**
* @brief Get an iterator for colletively iterating over the remote indices of all remote processes.
...
...
This diff is collapsed.
Click to expand it.
istl/test/syncertest.cc
+
3
−
3
View file @
70aa9456
...
...
@@ -21,7 +21,7 @@ void deleteOverlapEntries(Dune::IndexSet<TG,Dune::ParallelLocalIndex<TA>,N>& ind
typedef
typename
GlobalList
::
ModifyIterator
GlobalModifier
;
typedef
Dune
::
Tuple
<
RemoteModifier
,
GlobalModifier
,
const
RemoteIterator
>
IteratorTuple
;
typedef
std
::
map
<
int
,
IteratorTuple
>
IteratorMap
;
typedef
typename
RemoteIndices
::
RemoteIndexMap
::
iterator
RemoteMapIterator
;
typedef
typename
RemoteIndices
::
const_
iterator
RemoteMapIterator
;
int
rank
;
MPI_Comm_rank
(
MPI_COMM_WORLD
,
&
rank
);
...
...
@@ -29,9 +29,9 @@ void deleteOverlapEntries(Dune::IndexSet<TG,Dune::ParallelLocalIndex<TA>,N>& ind
std
::
map
<
int
,
GlobalList
>
globalLists
;
IteratorMap
iterators
;
RemoteMapIterator
rmEnd
=
remoteIndices
.
remoteIndices_
.
end
();
RemoteMapIterator
rmEnd
=
remoteIndices
.
end
();
for
(
RemoteMapIterator
remote
=
remoteIndices
.
remoteIndices_
.
begin
();
for
(
RemoteMapIterator
remote
=
remoteIndices
.
begin
();
remote
!=
rmEnd
;
++
remote
)
{
// Initialize global indices
GlobalList
&
gList
=
globalLists
[
remote
->
first
];
...
...
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