mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 14:40:26 -05:00
1 parent
3d2449c361
commit
8f9b416563
5 files changed
+16
-1
No files matched your search
@@ -75,6 +75,7 @@ RifWellPathImporter::WellData RifRmsWellPathReader::readWellData( const QString&
|
||||
|
||||
wellData.m_name = QString::fromStdString( well->GetWellName() );
|
||||
wellData.m_wellPathGeometry = new RigWellPath;
|
||||
wellData.m_wellPathGeometry->setDatumElevation( well->GetRkb() );
|
||||
for ( size_t i = 0; i < x.size(); i++ )
|
||||
{
|
||||
cvf::Vec3d position( x[i], y[i], -z[i] );
|
||||
|
||||
@@ -36,6 +36,8 @@ TEST( RifRmsWellPathReader, ReadFromFile )
|
||||
auto wellPath = wellData.m_wellPathGeometry;
|
||||
ASSERT_TRUE( wellPath.notNull() );
|
||||
|
||||
ASSERT_TRUE( wellPath->hasDatumElevation() );
|
||||
EXPECT_DOUBLE_EQ( 25.0, wellPath->datumElevation() );
|
||||
EXPECT_EQ( 4647u, wellPath->wellPathPoints().size() );
|
||||
EXPECT_EQ( 4647u, wellPath->measuredDepths().size() );
|
||||
}
|
||||
Reference in new issue
Block a user