Added a parallel aware logger for switching wells.

It will collect all the switches. Afterwards they are collect on
the root process and logged there.

This commit includes a small test program.
This commit is contained in:
Markus Blatt
2016-09-23 11:50:11 +02:00
parent 02e8211067
commit 07318edfa1
11 changed files with 431 additions and 17 deletions

View File

@@ -35,6 +35,8 @@ namespace Opm {
namespace wellhelpers
{
inline
double rateToCompare(const std::vector<double>& well_phase_flow_rate,
const int well,