Skip to content
Snippets Groups Projects
Commit fd14219e authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

Rename class GlobalUniqueIndex to GlobalIndexSet

[[Imported from SVN: r9918]]
parent be8e4d95
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@
namespace Dune {
template<class GridView, int CODIM>
class GlobalUniqueIndex
class GlobalIndexSet
{
private:
/** define data types */
......@@ -191,7 +191,7 @@ public:
/* later query the global index, by directly passing the entity in question: then the respective global */
/* index is returned. */
/**********************************************************************************************************************/
GlobalUniqueIndex(const GridView& gridview)
GlobalIndexSet(const GridView& gridview)
: gridview_(gridview),
uniqueEntityPartition_(gridview)
{
......
......@@ -36,9 +36,9 @@ namespace Dune {
P2BasisMapper<GridView> p2Mapper(gridView);
GlobalUniqueIndex<GridView,2> globalVertexIndex(gridView);
GlobalUniqueIndex<GridView,1> globalEdgeIndex(gridView);
GlobalUniqueIndex<GridView,0> globalElementIndex(gridView);
GlobalIndexSet<GridView,2> globalVertexIndex(gridView);
GlobalIndexSet<GridView,1> globalEdgeIndex(gridView);
GlobalIndexSet<GridView,0> globalElementIndex(gridView);
// total number of degrees of freedom
nGlobalEntity_ = globalVertexIndex.nGlobalEntity() + globalEdgeIndex.nGlobalEntity() + globalElementIndex.nGlobalEntity();
......
......@@ -181,7 +181,7 @@ setup(const GridType& grid,
// If we are on more than 1 processors, join all local transfer matrices on rank 0,
// and construct a single global transfer operator there.
typedef Dune::GlobalUniqueIndex<typename GridType::LeafGridView, gridDim> LeafP1GUIndex;
typedef Dune::GlobalIndexSet<typename GridType::LeafGridView, gridDim> LeafP1GUIndex;
LeafP1GUIndex p1Index(grid_->leafGridView());
typedef typename TruncatedCompressedMGTransfer<CorrectionType>::TransferOperatorType TransferOperatorType;
......@@ -198,7 +198,7 @@ setup(const GridType& grid,
// If we are on more than 1 processors, join all local transfer matrices on rank 0,
// and construct a single global transfer operator there.
typedef Dune::GlobalUniqueIndex<typename GridType::LevelGridView, gridDim> LevelGUIndex;
typedef Dune::GlobalIndexSet<typename GridType::LevelGridView, gridDim> LevelGUIndex;
LevelGUIndex fineGUIndex(grid_->levelGridView(i+2));
LevelGUIndex coarseGUIndex(grid_->levelGridView(i+1));
......@@ -221,7 +221,7 @@ setup(const GridType& grid,
// If we are on more than 1 processors, join all local transfer matrices on rank 0,
// and construct a single global transfer operator there.
typedef Dune::GlobalUniqueIndex<typename GridType::LevelGridView, gridDim> LevelGUIndex;
typedef Dune::GlobalIndexSet<typename GridType::LevelGridView, gridDim> LevelGUIndex;
LevelGUIndex fineGUIndex(grid_->levelGridView(i+1));
LevelGUIndex coarseGUIndex(grid_->levelGridView(i));
......
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