My Project
ScheduleGrid.hpp
1/*
2 Copyright 2021 Equinor ASA.
3
4 This file is part of the Open Porous Media project (OPM).
5
6 OPM is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 OPM is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with OPM. If not, see <http://www.gnu.org/licenses/>.
18*/
19#ifndef SCHEDULE_GRID
20#define SCHEDULE_GRID
21
22#include <opm/input/eclipse/Schedule/CompletedCells.hpp>
23
24namespace Opm {
25
26class EclipseGrid;
27class FieldPropsManager;
28
30public:
31 ScheduleGrid(const EclipseGrid& ecl_grid, const FieldPropsManager& fpm, CompletedCells& completed_cells);
32 explicit ScheduleGrid(CompletedCells& completed_cells);
33
34 const CompletedCells::Cell& get_cell(std::size_t i, std::size_t j, std::size_t k) const;
35
36private:
37 const EclipseGrid* grid{nullptr};
38 const FieldPropsManager* fp{nullptr};
39 CompletedCells& cells;
40};
41
42
43
44}
45#endif
46
Definition: CompletedCells.hpp:28
About cell information and dimension: The actual grid information is held in a pointer to an ERT ecl_...
Definition: EclipseGrid.hpp:54
Definition: FieldPropsManager.hpp:38
Definition: ScheduleGrid.hpp:29
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:29
Definition: CompletedCells.hpp:31