Honor tracers in parallel.

This commit is contained in:
Markus Blatt
2021-07-07 14:02:39 +02:00
parent a0252061fb
commit 89f819ce66

View File

@@ -102,14 +102,6 @@ doInit(bool enabled, size_t numGridDof,
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
const size_t numTracers = tracers.size();
tracerNames_.resize(numTracers);