mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-30 09:00:20 -05:00
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:
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 );
|
||||
|
||||
|
||||
Reference in new issue
Block a user