mirror of
https://github.com/OPM/opm-upscaling.git
synced 2025-02-25 18:45:23 -06:00
Changed grid initialisation.
The routines invoking EclipseGrids parsing are implemented here in opm-upscaling.
This commit is contained in:
@@ -66,6 +66,10 @@
|
||||
#include <opm/porsol/mimetic/IncompFlowSolverHybrid.hpp>
|
||||
#include <opm/porsol/mimetic/MimeticIPEvaluator.hpp>
|
||||
|
||||
#include <opm/upscaling/initCPGrid.hpp>
|
||||
|
||||
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
@@ -74,6 +78,8 @@
|
||||
|
||||
#include <boost/lexical_cast.hpp>
|
||||
|
||||
|
||||
|
||||
// ------------ Specifying the solution ------------
|
||||
|
||||
typedef Dune::FieldVector<double, 3> Vec;
|
||||
@@ -249,7 +255,7 @@ try
|
||||
// Make a Dune::CpGrid.
|
||||
typedef Dune::CpGrid Grid;
|
||||
Grid grid;
|
||||
grid.init(param);
|
||||
Opm::initCPGrid(grid , param);
|
||||
grid.setUniqueBoundaryIds(true);
|
||||
|
||||
// Make the grid interface
|
||||
|
||||
Reference in New Issue
Block a user