Skip to content
Snippets Groups Projects
Commit 727d8828 authored by Markus Blatt's avatar Markus Blatt
Browse files

Renamed IndexSet to ParallelIndexSet in ISTL.

[[Imported from SVN: r335]]
parent ef3deb1f
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ typedef Dune::ParallelLocalIndex<Flag> LocalIndex; ...@@ -22,7 +22,7 @@ typedef Dune::ParallelLocalIndex<Flag> LocalIndex;
* @param indexSet The index set to build. * @param indexSet The index set to build.
*/ */
template<class TG, int N> template<class TG, int N>
void build(Dune::IndexSet<TG,LocalIndex,N>& indexSet) void build(Dune::ParallelIndexSet<TG,LocalIndex,N>& indexSet)
{ {
// //
// The number of processes // The number of processes
......
...@@ -30,10 +30,10 @@ int main(int argc, char **argv) ...@@ -30,10 +30,10 @@ int main(int argc, char **argv)
// The index set we use to identify the local indices with the globally // The index set we use to identify the local indices with the globally
// unique ones // unique ones
typedef Dune::IndexSet<GlobalIndex,LocalIndex,100> IndexSet; typedef Dune::ParallelIndexSet<GlobalIndex,LocalIndex,100> ParallelIndexSet;
// The index set // The index set
IndexSet indexSet; ParallelIndexSet indexSet;
build(indexSet); build(indexSet);
......
...@@ -15,10 +15,10 @@ ...@@ -15,10 +15,10 @@
* @param indexSet The index set to reverse. * @param indexSet The index set to reverse.
*/ */
template<typename TG, typename TL, int N> template<typename TG, typename TL, int N>
void reverseLocalIndex(Dune::IndexSet<TG,TL,N>& indexSet) void reverseLocalIndex(Dune::ParallelIndexSet<TG,TL,N>& indexSet)
{ {
// reverse the local indices // reverse the local indices
typedef typename Dune::IndexSet<TG,TL,N>::iterator iterator; typedef typename Dune::ParallelIndexSet<TG,TL,N>::iterator iterator;
iterator end = indexSet.end(); iterator end = indexSet.end();
size_t maxLocal = 0; size_t maxLocal = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment