Skip to content
Snippets Groups Projects
Commit 64fcec10 authored by Robert K's avatar Robert K
Browse files

[cleanup][MPIComm] use ALUGridMPIComm as default, not MPI_COMM_WORLD.

Former-commit-id: e707af98
parent 129ed359
No related branches found
No related tags found
No related merge requests found
......@@ -144,6 +144,7 @@ namespace Dune
return new GitterImplType ( dim, conformingRefinement, stream, projection );
}
// ALUGridNoComm casts into No_Comm and MPI_Comm and here the default is MPI_COMM_SELF
static ALUGridNoComm defaultComm () { return ALUGridNoComm(); }
static int getRank ( ALUGridNoComm comm ) { return 0; }
......@@ -194,7 +195,8 @@ namespace Dune
return new GitterImplType ( dim, conformingRefinement, stream, mpAccess_, projections );
}
static MPI_Comm defaultComm () { return MPI_COMM_WORLD; }
// ALUGridMPIComm casts into MPI_Comm and the default is MPI_COMM_WORLD
static ALUGridMPIComm defaultComm () { return ALUGridMPIComm(); }
static int getRank ( MPI_Comm comm )
{
......
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