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

Introduced typedef for copy flags and the functions for the index lookup from

local to global index.

[[Imported from SVN: r497]]
parent 09febe24
No related branches found
No related tags found
No related merge requests found
......@@ -95,6 +95,7 @@ namespace Dune
{
public:
typedef CollectiveCommunication<void*> MPICommunicator;
typedef EmptySet<int> CopyFlags;
enum {
category = SolverCategory::sequential
......@@ -116,6 +117,17 @@ namespace Dune
return t;
}
typedef int GlobalLookupIndexSet;
void buildGlobalLookup(std::size_t);
void freeGlobalLookup();
const GlobalLookupIndexSet& globalLookup() const
{
return gli;
}
SequentialInformation(const CollectiveCommunication<void*>&)
{}
......@@ -126,6 +138,7 @@ namespace Dune
{}
private:
MPICommunicator comm_;
GlobalLookupIndexSet gli;
};
#ifdef HAVE_MPI
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment