Add message about missing data

This commit is contained in:
Joakim Hove 2020-04-19 08:58:31 +02:00
parent 9194dd408e
commit 0f22f897ed

View File

@ -404,6 +404,10 @@ namespace {
return std::to_string(connection.skinFactor()).substr(0, 8);
}
std::string sat_scaling(std::size_t) const {
return "";
}
const std::string &unimplemented(std::size_t) const {
static const std::string s { };
return s;
@ -433,12 +437,12 @@ namespace {
{ 7, {"K H" ,"VALUE" ,"MD.METRE" }, &WellConnection::kh_value , right_align },
{ 6, {"SKIN" ,"FACTOR" , }, &WellConnection::skin_factor , right_align },
{ 10, {"CONNECTION" ,"D-FACTOR" ,"DAY/SM3" }, &WellConnection::unimplemented , },
{ 23, {"SATURATION SCALING DATA","SWMIN SWMAX SGMIN SGMAX", }, &WellConnection::unimplemented , },
{ 23, {"SATURATION SCALING DATA","SWMIN SWMAX SGMIN SGMAX","&" }, &WellConnection::sat_scaling , },
}};
void subreport_well_connection_data(std::ostream& os, const std::vector<Opm::Well>& data) {
well_connection.print(os, data);
os << "&: The saturation scaling data has not been implemented in the report and will show blank" << std::endl;
os << std::endl;
}
}