mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use communicator to decide whether this is a truly parallel.
This commit is contained in:
parent
1ff1f24fbb
commit
1f177b33e7
@ -823,7 +823,7 @@ protected:
|
||||
|
||||
bool isParallel() const {
|
||||
#if HAVE_MPI
|
||||
return parallelInformation_.type() == typeid(ParallelISTLInformation);
|
||||
return comm_->communicator().size() > 1;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user