no valid MPI-comm in sequential mode

This commit is contained in:
Joachim Schöberl 2020-08-02 11:33:11 +02:00
parent ba84439227
commit c0909d69c2

View File

@ -289,6 +289,7 @@ namespace ngcore
size_t Rank() const { return 0; } size_t Rank() const { return 0; }
size_t Size() const { return 1; } size_t Size() const { return 1; }
bool ValidCommunicator() const { return false; }
void Barrier() const { ; } void Barrier() const { ; }
operator MPI_Comm() const { return MPI_Comm(); } operator MPI_Comm() const { return MPI_Comm(); }