#1534 Perforation Intervals : Do not include in export based on time step

This commit is contained in:
Bjørnar Grip Fjær
2017-05-30 15:42:05 +02:00
parent 1112f6a2e0
commit 8fd50721cc
5 changed files with 51 additions and 0 deletions

View File

@@ -99,6 +99,18 @@ void RimPerforationInterval::setSkinFactor(double skinFactor)
m_skinFactor = skinFactor;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool RimPerforationInterval::isActiveOnDate(const QDateTime& date) const
{
if (m_startOfHistory())
{
return true;
}
return m_date() < date;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@@ -48,6 +48,8 @@ public:
double diameter() const { return m_diameter(); }
double skinFactor() const { return m_skinFactor(); }
bool isActiveOnDate(const QDateTime& date) const;
virtual cvf::BoundingBox boundingBoxInDomainCoords() override;
protected: