#12495 Refactors ensemble statistics handling

Removes the dedicated `SUMMARY_ENSEMBLE_STATISTICS` category and instead uses a `statisticsType` field within `RifEclipseSummaryAddress` to represent ensemble statistics.

This change simplifies the code and avoids potential confusion by representing statistics as attributes of existing summary types, rather than a separate category. It also improves code robustness.
This commit is contained in:
Magne Sjaastad committed 2025-06-10 10:52:18 +02:00
1 parent e66e40523a
commit d7d18ce9ab
19 files changed
+165 -157

No files matched your search

@@ -43,37 +43,6 @@ void caf::AppEnum<RifEclipseSummaryAddressDefines::CurveType>::setUp()
} // namespace caf
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
std::string RifEclipseSummaryAddressDefines::statisticsNameP10()
{
return statisticsTypeToString( StatisticsType::P10 );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
std::string RifEclipseSummaryAddressDefines::statisticsNameP50()
{
return statisticsTypeToString( StatisticsType::P50 );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
std::string RifEclipseSummaryAddressDefines::statisticsNameP90()
{
return statisticsTypeToString( StatisticsType::P90 );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
std::string RifEclipseSummaryAddressDefines::statisticsNameMean()
{
return statisticsTypeToString( StatisticsType::MEAN );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------