22 #include <opm/input/eclipse/Schedule/CompletedCells.hpp> 28 #include <unordered_map> 34 class FieldPropsManager;
35 class NumericalAquifers;
36 struct NumericalAquiferCell;
78 std::vector<CompletedCells>& completed_cells_lgr,
79 const std::unordered_map<std::string, std::size_t>& label_to_index_);
121 std::vector<CompletedCells>& completed_cells_lgr,
122 const std::unordered_map<std::string, std::size_t>& label_to_index_);
146 get_cell(std::size_t i, std::size_t j, std::size_t k)
const;
166 get_cell(std::size_t i, std::size_t j, std::size_t k,
const std::optional<std::string>& tag)
const;
193 std::reference_wrapper<CompletedCells> cells;
198 std::reference_wrapper<std::vector<CompletedCells>> cells_lgr;
203 std::reference_wrapper<const std::unordered_map<std::string, std::size_t>> label_to_index;
208 std::unordered_map<std::size_t, const NumericalAquiferCell*> num_aqu_cells{};
227 get_cell_lgr(std::size_t i, std::size_t j, std::size_t k,
const std::string& tag)
const;
266 void populate_props_lgr(
const std::string& tag,
278 get_num_aqu_cell(
const std::size_t global_index)
const;
283 #endif // SCHEDULE_GRID Definition: NumericalAquiferCell.hpp:31
const CompletedCells::Cell & get_cell(std::size_t i, std::size_t j, std::size_t k) const
Retrieve particular intersected cell in main grid.
Definition: ScheduleGrid.cpp:97
Sparse collection of cells, and their properties, intersected by one or more well connections...
Definition: CompletedCells.hpp:35
void include_numerical_aquifers(const NumericalAquifers &num_aquifers)
Make collection aware of numerical aquifers.
Definition: ScheduleGrid.cpp:91
Definition: FieldPropsManager.hpp:42
About cell information and dimension: The actual grid information is held in a pointer to an ERT ecl_...
Definition: EclipseGrid.hpp:62
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:30
Collection of intersected cells and associate properties for all simulation grids, i.e., the main grid and all LGRs in the simulation run.
Definition: ScheduleGrid.hpp:49
const EclipseGrid * get_grid() const
Retrieve underlying grid object.
Definition: ScheduleGrid.cpp:129
Identification and associate properties of cell intersected by one or more well connections.
Definition: CompletedCells.hpp:40
ScheduleGrid(CompletedCells &completed_cells)
Constructor.
Definition: ScheduleGrid.cpp:55
Definition: NumericalAquifers.hpp:38
int get_lgr_grid_number(const std::optional< std::string > &lgr_label) const
Translate LGR name into a numeric grid index.
Definition: ScheduleGrid.cpp:134