mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-31 17:17:50 -05:00
Copy changes from dev-branch into main
History of main branch was difficult to merge. Take a copy of dev-branch, and merge both ways between dev and main after the release.
This commit is contained in:
1 parent
5688838899
commit
06f9c6126d
1778 files changed
+35036
-12457
No files matched your search
@@ -173,7 +173,7 @@ double Riv3dWellLogPlanePartMgr::wellPathCenterToPlotStartOffset( Rim3dWellLogCu
|
||||
}
|
||||
else
|
||||
{
|
||||
double cellSize = m_gridView->ownerCase()->characteristicCellSize();
|
||||
double cellSize = m_gridView->characteristicCellSize();
|
||||
double wellPathOffset = std::min( m_wellPath->wellPathRadius( cellSize ), 0.1 * planeWidth() );
|
||||
return m_wellPath->wellPathRadius( cellSize ) + wellPathOffset;
|
||||
}
|
||||
@@ -186,7 +186,7 @@ double Riv3dWellLogPlanePartMgr::planeWidth() const
|
||||
{
|
||||
if ( !m_gridView ) return 0;
|
||||
|
||||
double cellSize = m_gridView->ownerCase()->characteristicCellSize();
|
||||
double cellSize = m_gridView->characteristicCellSize();
|
||||
const Rim3dWellLogCurveCollection* curveCollection = m_wellPath->rim3dWellLogCurveCollection();
|
||||
return cellSize * curveCollection->planeWidthScaling();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user