Make sure to filter out wells from other processes in WellTestState

This commit is contained in:
Joakim Hove
2021-10-15 14:14:40 +02:00
parent c8cbd32f85
commit 9a9ccb90b8
4 changed files with 9 additions and 2 deletions

View File

@@ -28,4 +28,10 @@ WGState::WGState(const PhaseUsage& pu) :
well_test_state{}
{}
void WGState::wtest_state(WellTestState wtest_state)
{
wtest_state.filter_wells( this->well_state.wells() );
this->well_test_state = std::move(wtest_state);
}
}