Add characteristicCellSize to RimView

This commit is contained in:
Magne Sjaastad
2017-06-19 20:55:58 +02:00
parent b5b13789b4
commit 994198d388
6 changed files with 50 additions and 18 deletions

View File

@@ -679,6 +679,20 @@ void RimEclipseCase::reloadDataAndUpdate()
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
double RimEclipseCase::characteristicCellSize() const
{
const RigEclipseCaseData* rigEclipseCase = eclipseCaseData();
if (rigEclipseCase)
{
return rigEclipseCase->mainGrid()->characteristicIJCellSize();
}
return 10.0;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------