Active Well Control Output: Place Duplicate Implementation in Well

Will become shared backend for output to restart and summary files.
Add unit tests to exercise the new functions.
This commit is contained in:
Bård Skaflestad
2020-03-20 17:21:58 +01:00
parent 4e2dae298f
commit 8d2cc14ad0
4 changed files with 404 additions and 0 deletions

View File

@@ -656,7 +656,15 @@ private:
std::ostream& operator<<( std::ostream&, const Well::WellInjectionProperties& );
std::ostream& operator<<( std::ostream&, const WellProductionProperties& );
int eclipseControlMode(const Well::InjectorCMode imode,
const InjectorType itype,
const Well::Status wellStatus);
int eclipseControlMode(const Well::ProducerCMode pmode,
const Well::Status wellStatus);
int eclipseControlMode(const Well& well,
const SummaryState& st);
}
#endif