mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 14:40:26 -05:00
Make it possible to exclude partial delta curves
Make sure statistics curves are recomputed on flag change When toggling "Discard Missing or Incomplete Realizations", make sure the statistics is recomputed and the ensemble plots updated.
This commit is contained in:
1 parent
dbea0e2593
commit
9b6e441386
20 files changed
+184
-45
No files matched your search
@@ -430,3 +430,15 @@ void RiaSummaryTools::reloadSummaryEnsemble( RimSummaryEnsemble* ensemble )
|
||||
multiPlot->updatePlotTitles();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
time_t RiaSummaryTools::calculateTimeThreshold( const time_t& minimum, const time_t& maximum )
|
||||
{
|
||||
// The cutoff time is the time where the time step is less than 1% of the total time range
|
||||
const auto epsilon = 0.01;
|
||||
const auto timeThreshold = maximum - ( maximum - minimum ) * epsilon;
|
||||
|
||||
return timeThreshold;
|
||||
}
|
||||
Reference in new issue
Block a user