mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 14:40:26 -05:00
Sector Export: fix bug comparing caf::VecIjk1 with caf::VecIjk0.
This commit is contained in:
1 parent
5a7e987034
commit
3a8d521bc2
5 files changed
+7
-8
No files matched your search
+1
-1
@@ -233,7 +233,7 @@ void RigSimulationWellCenterLineCalculator::calculateWellPipeCenterlineForTimeSt
|
||||
{
|
||||
if ( resultPoint.cellIjk().has_value() )
|
||||
{
|
||||
branchTxt += QString( " %1 \n" ).arg( QString::fromStdString( ( *resultPoint.cellIjk() ).toString() ) );
|
||||
branchTxt += QString( " %1 \n" ).arg( QString::fromStdString( ( *resultPoint.cellIjk() ).toOneBased().toString() ) );
|
||||
}
|
||||
}
|
||||
RiaLogging::debug( branchTxt );
|
||||
|
||||
@@ -305,7 +305,7 @@ cvf::Vec3d RigWellResultPoint::bottomPosition() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::optional<caf::VecIjk1> RigWellResultPoint::cellIjk() const
|
||||
std::optional<caf::VecIjk0> RigWellResultPoint::cellIjk() const
|
||||
{
|
||||
return m_cellIjk;
|
||||
}
|
||||
@@ -313,7 +313,7 @@ std::optional<caf::VecIjk1> RigWellResultPoint::cellIjk() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigWellResultPoint::setIjk( caf::VecIjk1 cellIJK )
|
||||
void RigWellResultPoint::setIjk( caf::VecIjk0 cellIJK )
|
||||
{
|
||||
m_cellIjk = cellIJK;
|
||||
}
|
||||
@@ -73,8 +73,8 @@ struct RigWellResultPoint
|
||||
|
||||
cvf::Vec3d bottomPosition() const;
|
||||
|
||||
std::optional<caf::VecIjk1> cellIjk() const;
|
||||
void setIjk( caf::VecIjk1 cellIJK );
|
||||
std::optional<caf::VecIjk0> cellIjk() const;
|
||||
void setIjk( caf::VecIjk0 cellIJK );
|
||||
|
||||
private:
|
||||
size_t m_gridIndex;
|
||||
@@ -96,5 +96,5 @@ private:
|
||||
double m_connectionFactor;
|
||||
bool m_isConnectedToValve;
|
||||
|
||||
std::optional<caf::VecIjk1> m_cellIjk;
|
||||
std::optional<caf::VecIjk0> m_cellIjk;
|
||||
};
|
||||
Reference in new issue
Block a user