mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Streamline improvement (#7435)
* Use updated generator. Switch to using priority list for seeds. Fix phase reporting and sign issues. Fix step size when growing. * Reduce memory footprint by simplifying viz. code and filter out unused tracers early * Remove unused viz. code.
This commit is contained in:
@@ -34,6 +34,7 @@ RimStreamlineGeneratorBase::RimStreamlineGeneratorBase( std::set<size_t>& wellCe
|
||||
, m_wellCells( wellCells )
|
||||
, m_dataAccess( nullptr )
|
||||
, m_maxPoints( 1 )
|
||||
, m_minLength( 1.0 )
|
||||
{
|
||||
}
|
||||
|
||||
@@ -47,12 +48,13 @@ RimStreamlineGeneratorBase::~RimStreamlineGeneratorBase()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimStreamlineGeneratorBase::setLimits( double flowThreshold, int maxDays, double resolutionInDays )
|
||||
void RimStreamlineGeneratorBase::setLimits( double flowThreshold, int maxDays, double resolutionInDays, double minimumLength )
|
||||
{
|
||||
m_flowThreshold = flowThreshold;
|
||||
m_maxDays = maxDays;
|
||||
m_resolution = resolutionInDays;
|
||||
m_maxPoints = maxDays / resolutionInDays;
|
||||
m_minLength = minimumLength;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user