Refactor: simplify API for configuring cell counts in IJK.

The old API was based on "grid points", but it was always used to
specify number of cells in each direction.
This commit is contained in:
Kristian Bendiksen authored and Magne Sjaastad committed 2025-09-18 11:46:57 +02:00
1 parent e0df487eaa
commit 5133ae620b
18 files changed
+64 -83

No files matched your search

@@ -249,7 +249,7 @@ cvf::ref<RifReaderInterface> RimEclipseInputCase::createMockModel( QString model
// Create the mock file interface and and RigSerervoir and set them up.
mockFileInterface->setWorldCoordinates( cvf::Vec3d( 10, 10, 10 ), cvf::Vec3d( 20, 20, 20 ) );
mockFileInterface->setGridPointDimensions( cvf::Vec3st( 4, 5, 6 ) );
mockFileInterface->setCellCounts( cvf::Vec3st( 5, 6, 7 ) );
mockFileInterface->addLocalGridRefinement( cvf::Vec3st( 0, 2, 2 ), cvf::Vec3st( 0, 2, 2 ), cvf::Vec3st( 3, 3, 3 ) );
mockFileInterface->setResultInfo( 3, 10 );