mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-12 17:02:02 -05:00
Write control to data::Wells. Missing ability to restore.
This commit is contained in:
1 parent
df4e163796
commit
545f55bd3b
1 file changed
+1
@@ -224,6 +224,7 @@ namespace Opm
|
|||||||
for( const auto& wt : this->wellMap() ) {
|
for( const auto& wt : this->wellMap() ) {
|
||||||
const auto w = wt.second[ 0 ];
|
const auto w = wt.second[ 0 ];
|
||||||
auto& well = res.at( wt.first );
|
auto& well = res.at( wt.first );
|
||||||
|
well.control = this->currentControls()[ w ];
|
||||||
|
|
||||||
int local_comp_index = 0;
|
int local_comp_index = 0;
|
||||||
for( auto& cpair : well.completions ) {
|
for( auto& cpair : well.completions ) {
|
||||||
|
|||||||
Reference in new issue
Block a user