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 {
|
bool isParallel() const {
|
||||||
#if HAVE_MPI
|
#if HAVE_MPI
|
||||||
return parallelInformation_.type() == typeid(ParallelISTLInformation);
|
return comm_->communicator().size() > 1;
|
||||||
#else
|
#else
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user