Refactor use of grid dimensions

This commit is contained in:
Magne Sjaastad
2024-01-21 21:13:24 +01:00
parent 833a0e8584
commit a090992f5a
7 changed files with 19 additions and 29 deletions

View File

@@ -708,7 +708,7 @@ void RimEclipseCase::loadAndSynchronizeInputProperties( bool importGridOrFaultDa
// Make sure we actually have reservoir data
CVF_ASSERT( eclipseCaseData() );
CVF_ASSERT( eclipseCaseData()->mainGrid()->gridPointDimensions() != cvf::Vec3st( 0, 0, 0 ) );
CVF_ASSERT( eclipseCaseData()->mainGrid()->cellCount() != 0 );
// Then read the properties from all the files referenced by the InputReservoir