remove the functions related to Schedule::filterConnections()#4975
Conversation
|
jenkins build this opm-simulators=6806 please |
8ae4621 to
8436a83
Compare
|
jenkins build this opm-simulators=6806 please |
|
the function is only used by the testopm-common/tests/parser/ConnectionTests.cpp Line 449 in 5b16aa4 Should we keep the test or modify the test? I believe it is a question for @bska |
I need to think about it, but my first hunch is to adapt the test function to the new reality of |
and changing the test ApplyWellPI in ConnectionTests not using it.
8436a83 to
cb4438c
Compare
I updated the test without using the I thought for some, it is also okay to keep the function and not change the test, so I make this change in a separate commit, so it is easier to revert or modify. Now I consider the PR is ready for review. |
|
jenkins build this opm-simulators=6806 please |
bska
left a comment
There was a problem hiding this comment.
I updated the test without using the
filter()function and remove [that function]. I thought for some, it is also okay to keep the function and not change the test, so I make this change in a separate commit, so it is easier to revert or modify.
I prefer the current version. The filter() operation really doesn't make any sense when we have event driven actions that will just undo whatever filtering we'd applied previously. Essentially, the filter() operation assumes that the Schedule object is unchanging once constructed and that assumption doesn't hold anymore when we have actions.
I'll merge this and its downstream counterpart into the master branch.
was trying to rebase #1059 , while it turns out be more work than just making a new one.
The PR is following the discussion in OPM/opm-simulators#6787 .