My Project
Loading...
Searching...
No Matches
SimulatorUpdate.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
20#ifndef SIMULATOR_UPDATE_HPP
21#define SIMULATOR_UPDATE_HPP
22
23#include <string>
24#include <unordered_set>
25
26namespace Opm {
27
31
33{
34 // Wells affected by ACTIONX and for which the simulator needs to
35 // reapply rates and state from the newly updated Schedule object.
36 std::unordered_set<std::string> affected_wells;
37
38 // If one of the transmissibility multiplier keywords has been invoked
39 // as an ACTIONX keyword the simulator needs to recalculate the
40 // transmissibility.
41 bool tran_update{false};
42
47};
48
49} // namespace Opm
50
51#endif // SIMULATOR_UPDATE_HPP
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30
This struct is used to communicate back from the Schedule::applyAction() what needs to be updated in ...
Definition SimulatorUpdate.hpp:33
bool well_structure_changed
Whether or not well structure changed in processing an ACTIONX block.
Definition SimulatorUpdate.hpp:46