mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Honor tracers in parallel.
This commit is contained in:
@@ -102,14 +102,6 @@ doInit(bool enabled, size_t numGridDof,
|
|||||||
return; // Tracer transport must be enabled by the user
|
return; // Tracer transport must be enabled by the user
|
||||||
}
|
}
|
||||||
|
|
||||||
if (comm.size() > 1) {
|
|
||||||
tracerNames_.resize(0);
|
|
||||||
if (comm.rank() == 0)
|
|
||||||
std::cout << "Warning: The tracer model currently does not work for parallel runs\n"
|
|
||||||
<< std::flush;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// retrieve the number of tracers from the deck
|
// retrieve the number of tracers from the deck
|
||||||
const size_t numTracers = tracers.size();
|
const size_t numTracers = tracers.size();
|
||||||
tracerNames_.resize(numTracers);
|
tracerNames_.resize(numTracers);
|
||||||
|
|||||||
Reference in New Issue
Block a user