Write control to data::Wells. Missing ability to restore.

This commit is contained in:
Jørgen Kvalsvik 2016-09-29 12:06:51 +02:00
parent df4e163796
commit 545f55bd3b

View File

@ -224,6 +224,7 @@ namespace Opm
for( const auto& wt : this->wellMap() ) {
const auto w = wt.second[ 0 ];
auto& well = res.at( wt.first );
well.control = this->currentControls()[ w ];
int local_comp_index = 0;
for( auto& cpair : well.completions ) {