mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8989 Grid statistics: Improve precision of p10/p90.
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
|
||||
#include "RigStatisticsCalculator.h"
|
||||
|
||||
#include <cassert>
|
||||
#include <cmath> // Needed for HUGE_VAL on Linux
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -135,3 +136,27 @@ void RigStatisticsCalculator::posNegClosestToZero( const std::vector<double>& va
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RigStatisticsCalculator::hasPreciseP10p90() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigStatisticsCalculator::p10p90CellScalarValues( double& p10, double& p90 )
|
||||
{
|
||||
assert( false && "Precise p10/p90 not available" );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigStatisticsCalculator::p10p90CellScalarValues( size_t timeStepIndex, double& p10, double& p90 )
|
||||
{
|
||||
assert( false && "Precise p10/p90 not available" );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user