20 #ifndef OPM_GRIDMANAGER_HEADER_INCLUDED
21 #define OPM_GRIDMANAGER_HEADER_INCLUDED
23 #include <opm/grid/utility/OpmParserIncludes.hpp>
45 explicit GridManager(
const Opm::EclipseGrid& inputGrid);
54 const std::vector<double>& poreVolumes);
68 double dx,
double dy,
double dz);
73 explicit GridManager(
const std::string& input_filename);
84 static void createGrdecl(
const Opm::Deck& deck,
struct grdecl &
grdecl);
94 void initFromEclipseGrid(
const Opm::EclipseGrid& inputGrid,
95 const std::vector<double>& poreVolumes);
104 #endif // OPM_GRIDMANAGER_HEADER_INCLUDED
Raw corner-point specification of a particular geological model.
Definition: preprocess.h:56
~GridManager()
Destructor.
Definition: GridManager.cpp:112
const UnstructuredGrid * c_grid() const
Access the managed UnstructuredGrid.
Definition: GridManager.cpp:123
Data structure for an unstructured grid, unstructured meaning that any cell may have an arbitrary num...
Definition: grid.h:98
GridManager(int nx, int ny)
Construct a 2d cartesian grid with cells of unit size.
Definition: GridManager.cpp:58
This class manages an Opm::UnstructuredGrid in the sense that it encapsulates creation and destructio...
Definition: GridManager.hpp:40