opm-common/tests
Bård Skaflestad 2d3fe6061e Revise Branch Discovery Order for MSW Output
This commit places more conditions on the branch discovery order
than the previous work in commit 6d3ee57dd.  In particular, we now
ensure that branches are discovered ("created") in the order of
increasing segment number of the branch outlet segment.
Furthermore, if multiple branches have the same outlet segment, then
we sort those branches on their increasing branch IDs.

To this end, switch from using a std::queue<int> to using a
std::priority_queue<KickOffPoint>, with the KickOffPoint being a
custom structure holding the kick-off segment, the branch outlet
segment, and the branch ID and a custom operator<() to plug into the
priority_queue<> heap mechanism.

This new sort order changes the result of certain unit tests, but
those changes are expected and desired.
2023-11-24 16:01:46 +01:00
..
include added incorrectly deleted files 2021-10-25 14:27:26 +02:00
json remove unnecessary <iostream> includes 2023-01-03 16:32:56 +01:00
material fixed: adjust boost version check 2023-11-17 13:01:57 +01:00
msim Fix MSIM UDQ Configuration Lookup 2023-06-28 13:42:16 +02:00
parser Remove trans multiplier from the dake model 2023-11-22 13:59:25 +01:00
restart Add testdeck for the situation with SKIPREST and e.g VFP 2020-04-01 08:02:32 +02:00
0A4_GRCTRL_LRAT_LRAT_GGR_BASE_MODEL2_MSW_ALL.DATA various updates of unit tests 2020-09-23 13:03:21 +02:00
2_WLIFT_MODEL5_NOINC.DATA Implement WALQ Summary Vector 2021-08-20 20:35:12 +02:00
5_NETWORK_MODEL5_STDW_NETBAL_PACK.DATA added unit tests to InteHead and DoubHead for NETBALAN 2021-10-25 14:27:23 +02:00
9_4C_WINJ_GINJ_UDQ_MSW-UDARATE_TEST_PACK.DATA added unit tests for IGPH 2021-09-03 13:29:18 +02:00
act1.py Run PYACTION keywords 2020-04-16 14:13:54 +02:00
action_missing_run.py Run PYACTION keywords 2020-04-16 14:13:54 +02:00
action_syntax_error.py Run PYACTION keywords 2020-04-16 14:13:54 +02:00
ACTIONX_M1_MULTIPLE.DATA rst_deck: optionally interpret restart argument as proper filename 2021-11-12 12:22:15 +01:00
ACTIONX_M1_RESTART.DATA Load WLIST from restart file 2021-10-15 13:15:33 +02:00
ACTIONX_M1.DATA Add testdata for WLIST restart testing 2021-10-14 11:41:40 +02:00
ACTIONX_M1.UNRST rst_deck: optionally interpret restart argument as proper filename 2021-11-12 12:22:15 +01:00
ACTIONX_M1.X0010 Add testdata for WLIST restart testing 2021-10-14 11:41:40 +02:00
BASE_SIM_THPRES.DATA Removed constructor from ScheduleGrid, added perm prop to tests 2021-11-04 11:29:12 +01:00
BASE_SIM.DATA Removed constructor from ScheduleGrid, added perm prop to tests 2021-11-04 11:29:12 +01:00
BASE.UNRST Better error messages when the RESTART keyword is invalid 2021-10-17 19:59:29 +02:00
ECLFILE.FINIT finish class EclFile 2019-04-08 11:36:20 +02:00
ECLFILE.INIT finish class EclFile 2019-04-08 11:36:20 +02:00
EGRID_NO_ACTNUM.FEGRID Handle GDFILE with grid without actnum 2021-09-13 09:00:16 +02:00
EMBEDDED_PYTHON.DATA Record and act on return value from PYACTION 2022-01-28 12:05:17 +01:00
EXIT_TEST.DATA Add new keyword EXIT 2020-04-14 16:32:52 +02:00
FIRST_SIM_THPRES.DATA Support Retrieving Well Vectors from {I,X}{WEL,CON} 2018-09-19 16:02:16 +02:00
GDFILE_NO_ACTNUM.DATA Handle GDFILE with grid without actnum 2021-09-13 09:00:16 +02:00
group_group.DATA Polymer output 2020-06-25 10:57:11 +02:00
include_example_pvt.txt Avoid use of include/ directory in test data 2019-10-14 15:46:02 +02:00
include_example_summary.txt Avoid use of include/ directory in test data 2019-10-14 15:46:02 +02:00
include_grid_3x5x4.grdecl Avoid use of include/ directory in test data 2019-10-14 15:46:02 +02:00
include_sgof.txt Avoid use of include/ directory in test data 2019-10-14 15:46:02 +02:00
include_swof.txt Avoid use of include/ directory in test data 2019-10-14 15:46:02 +02:00
LGR_TESTMOD.EGRID Updating class EGrid 2020-12-01 20:14:37 +01:00
LGR_TESTMOD.INIT Adding new class EInit 2020-12-01 20:14:37 +01:00
LGR_TESTMOD.UNRST Updating class ERst 2020-12-01 23:06:44 +01:00
LGR_TESTMOD.X0002 Updating class ERst 2020-12-01 23:06:44 +01:00
MessageBuffer.cpp Extracted buffer test class to separate compilation unit for reuse 2021-10-01 14:14:05 +02:00
MOD4_TEST_IGRP-DATA.DATA Added output of IGRP[NWGMAX + 39] - node sequence number for groups in external network 2021-11-01 15:04:02 +01:00
MODEL1_IX.INIT Update of EclIO classes. 2020-11-10 22:02:38 +01:00
MODEL1_IX.SMSPEC Update of EclIO classes. 2020-11-10 22:02:38 +01:00
MODEL1_IX.UNSMRY Update of EclIO classes. 2020-11-10 22:02:38 +01:00
MODEL2_RESTART.DATA Add testdeck for the situation with SKIPREST and e.g VFP 2020-04-01 08:02:32 +02:00
MSW_2WELSEGS.DATA Allow for multiple WELSEGS keywords for the same well 2021-08-03 18:26:07 +02:00
MSW_RESTART.DATA Add testdata for MSW based restart testing 2020-03-14 09:15:31 +01:00
MSW.DATA Add testdata for MSW based restart testing 2020-03-14 09:15:31 +01:00
props_spe1case1b.inc add functionality to the parser for parsing selected sections of a data deck 2021-06-22 18:45:24 +02:00
PYACTION.DATA PYACTION: The actual python code is in an external file 2020-03-20 16:59:50 +01:00
RESTART_SIM.DATA Removed constructor from ScheduleGrid, added perm prop to tests 2021-11-04 11:29:12 +01:00
rst_test_driver2.sh Fix driver, as POSIX or BSD getopt() stops on first non-option argument. 2021-12-21 18:40:38 +01:00
rst_test_driver.sh Fix driver, as POSIX or BSD getopt() stops on first non-option argument. 2021-12-21 18:40:38 +01:00
rst_test.cpp Filesystem rename EclipseState/Schedule/ Schedule/ 2022-01-02 14:32:14 +01:00
SOFR_TEST.DATA Add Summary Output of Segment Level Fluid Densities 2023-07-07 16:26:58 +02:00
SPE1_TESTCASE.F0025 Modified class ERst, added 1 new test to test_ERst 2019-06-19 22:35:49 +02:00
SPE1_TESTCASE.FUNRST added: ERst class for reading restart simulation data from ECL files 2019-04-08 11:36:20 +02:00
SPE1_TESTCASE.UNRST added: ERst class for reading restart simulation data from ECL files 2019-04-08 11:36:20 +02:00
SPE1_TESTCASE.X0025 Modified class ERst, added 1 new test to test_ERst 2019-06-19 22:35:49 +02:00
SPE1CASE1_RPTONLY.DATA Add Support for RPTONLY and RPTONLYO 2021-08-16 20:50:08 +02:00
SPE1CASE1_RST60.ESMRY fixing bug in Opm::EclIO::ESmry constructor 2021-09-07 22:49:48 +02:00
SPE1CASE1_RST60.SMSPEC added: ESmry class for reading summary data from ECL files 2019-04-08 11:36:20 +02:00
SPE1CASE1_RST60.UNSMRY added: ESmry class for reading summary data from ECL files 2019-04-08 11:36:20 +02:00
SPE1CASE1_SUMTHIN.DATA Check that SUMTHIN requirement is respected in summary writer 2021-08-03 14:04:18 +02:00
SPE1CASE1_WELTRAJ.DATA added test for calculation of CFs and IJK coordinates of intersected cells 2023-03-29 17:20:57 +02:00
SPE1CASE1.DATA Handle empty regions in summary region results 2021-03-08 16:29:56 +01:00
SPE1CASE1.EGRID added: EGrid class for reading GRID data from ECL files 2019-04-08 11:36:20 +02:00
SPE1CASE1.RFT added: ERft class for reading RFT simulation data from ECL files 2019-04-08 11:36:20 +02:00
SPE1CASE1.SMSPEC 1) Updated test for EclFile. 2019-02-15 18:01:38 +01:00
SPE1CASE1.UNSMRY added: ESmry class for reading summary data from ECL files 2019-04-08 11:36:20 +02:00
SPE1CASE1A.SMSPEC Added new option (report steps only) for compareECL for comparing summary results 2019-07-01 16:37:49 +02:00
SPE1CASE1A.UNSMRY Added new option (report steps only) for compareECL for comparing summary results 2019-07-01 16:37:49 +02:00
SPE1CASE1B.DATA add functionality to the parser for parsing selected sections of a data deck 2021-06-22 18:45:24 +02:00
SPE1CASE2_INCLUDE.DATA Add integration testing of rst_deck 2021-09-24 14:19:25 +02:00
SPE1CASE2_RESTART_SKIPREST.DATA Renamed test deck 2021-08-18 13:40:21 +02:00
SPE1CASE2_RESTART.DATA Fix bug for time-stepping when loading restart deck 2021-08-18 13:40:21 +02:00
SPE1CASE2.DATA Add testdata 2020-01-28 12:46:18 +01:00
SPE1CASE2.X0060 Update embedded testdata with more items in restart file 2020-03-09 17:55:50 +01:00
SPE9_CP_PACKED.DATA Add ParseContext behaviour to trimming of well/group names 2019-08-12 11:01:14 +02:00
summary_deck_non_constant_porosity.DATA Test Data: Add WELLDIMS for Restart Purposes 2018-09-19 16:02:13 +02:00
summary_deck.DATA Output C[OG]FRF and C[OG]FRS 2023-11-22 10:17:44 +01:00
SUMMARY_EFF_FAC.DATA Add Well and Group Level Efficiency Factor Summary Vectors 2022-06-22 11:52:58 +02:00
table_deck.DATA PV weight FPR 2017-05-10 10:03:31 +02:00
test_ActiveGridCells.cpp Connection: forward types to avoid includes 2021-04-27 12:55:45 +02:00
test_ActiveIndexByColumns.cpp Enumerate Columns According to Horizontal Model Dimensions 2023-03-08 17:57:10 +01:00
TEST_AGGREGATE_MSW.DATA changes in test-dataset and initial adaptions to the new data set, plus corrections for ScalingFactor 2021-03-09 15:49:58 +01:00
test_AggregateActionxData.cpp ScheduleState.hpp: forward Action::Actions 2023-01-11 13:51:28 +01:00
test_AggregateAquiferData.cpp Add Restart File Output Support for Constant Flux Aquifers 2023-03-16 10:32:43 +01:00
test_AggregateConnectionData.cpp Schedule.hpp: forward Well 2023-01-18 11:01:41 +01:00
test_AggregateGroupData.cpp Schedule.hpp: forward Well 2023-01-18 11:01:41 +01:00
test_AggregateMSWData.cpp Revise Branch Discovery Order for MSW Output 2023-11-24 16:01:46 +01:00
test_AggregateNetworkData.cpp Filesystem rename EclipseState/Schedule/ Schedule/ 2022-01-02 14:32:14 +01:00
test_AggregateUDQData.cpp added: put UDTs in UDQContext 2023-10-23 20:29:40 +02:00
test_AggregateWellData.cpp Schedule.hpp: forward Well 2023-01-18 11:01:41 +01:00
test_AggregateWListData.cpp Filesystem rename EclipseState/Schedule/ Schedule/ 2022-01-02 14:32:14 +01:00
test_ArrayDimChecker.cpp Test Dynamic Segment Dimensions Against WSEGDIMS Limits 2023-05-30 11:47:50 +02:00
test_calculateCellVol.cpp Remove Executable Bit From Source Files 2021-04-24 20:27:17 +02:00
test_cmp.cpp include config.h in all unit tests 2018-03-03 13:11:12 +01:00
test_compareSummary.cpp changed: rename the summary regression/integrationtest classes 2018-09-07 14:38:03 +02:00
test_ConditionalStorage.cpp replace Unused.hpp with [[maybe_unused]] or anonymous variables 2022-08-02 10:32:00 +02:00
test_CopyablePtr.cpp Add one more test 2022-09-21 15:47:41 +02:00
test_CSRGraphFromCoordinates.cpp Make Self Connection Behaviour Configurable 2023-11-16 15:10:59 +01:00
test_cubic.cpp Remove #include which is not needed 2020-04-30 10:23:44 +02:00
test_data_GuideRateValue.cpp Extracted buffer test class to separate compilation unit for reuse 2021-10-01 14:14:05 +02:00
test_data_InterRegFlow.cpp Add Protocol to Linearise Connection Flow Rates Into Subrange 2022-02-16 23:28:46 +01:00
test_data_InterRegFlowMap.cpp Add Accumulating Mapping Structure for Inter-Region Flows 2022-02-16 23:28:46 +01:00
test_densead.cpp test_densead: no reason to initialize MPI here 2022-12-23 08:49:44 +01:00
test_DoubHEAD.cpp Filesystem rename EclipseState/Schedule/ Schedule/ 2022-01-02 14:32:14 +01:00
test_EclFilesComparator.cpp Move ECLIPSE I/O Into Main OPM Common Library 2019-05-23 10:23:01 +02:00
test_EclIO.cpp Merge pull request #2933 from blattms/rename-workarea.cpp-to-workarea.hpp 2022-01-23 10:54:07 +01:00
test_EclipseIO.cpp reduce scope of variables to avoid dead store warnings 2023-06-01 09:38:45 +02:00
test_EclRegressionTest.cpp Fix typos: spesific -> specific 2022-10-29 00:09:12 +02:00
test_EGrid.cpp Updating class EGrid 2020-12-01 20:14:37 +01:00
test_EInit.cpp Adding new class EInit 2020-12-01 20:14:37 +01:00
test_ERft.cpp API change of class ERft and ERst 2022-06-10 14:27:48 +02:00
test_ERsm.cpp Renames header tests/WorkArea.cpp to tests/WorkArea.hpp 2022-01-21 10:18:56 +01:00
test_ERst.cpp API change of class ERft and ERst 2022-06-10 14:27:48 +02:00
test_ESmry.cpp ESmry and ExtESmry - Prevent loading data multiple times 2022-05-25 12:01:36 +02:00
test_EvaluationFormat.cpp Prefer BOOST_CHECK_EQUAL 2022-12-20 13:31:28 +01:00
test_ExtESmry.cpp Prevent data vector loading twice 2022-06-20 14:24:15 +02:00
test_GuideRate.cpp Filesystem rename EclipseState/Schedule/ Schedule/ 2022-01-02 14:32:14 +01:00
test_Inplace.cpp RHPV 2020-11-24 12:10:05 +01:00
test_InteHEAD.cpp Schedule: move more code to compile unit 2023-01-09 12:48:45 +01:00
test_LGOData.cpp Filesystem rename EclipseState/Schedule/ Schedule/ 2022-01-02 14:32:14 +01:00
test_LinearisedOutputTable.cpp Linearised Table: Add Constructor with User-Defined Fill Value 2019-04-04 14:11:07 +02:00
test_LogiHEAD.cpp Remove two tests for initalisation in conflict with more general model 2019-05-14 09:40:13 +02:00
test_messagelimiter.cpp include config.h in all unit tests 2018-03-03 13:11:12 +01:00
TEST_NETWORK_ALL.DATA some corrections and completed unit tests 2021-02-17 08:58:59 +01:00
test_nonuniformtablelinear.cpp fixed: adjust include path of float_point_comparison for earlier boost 2023-11-10 10:23:30 +01:00
test_OpmInputError_format.cpp Update tests for new behaviour. 2023-04-26 12:02:34 +02:00
test_OpmLog.cpp Adds type information to integer literals. 2020-09-29 13:54:21 +02:00
test_OutputStream.cpp changed: drop gcc7 compatibility 2021-11-01 12:36:42 +01:00
test_PaddedOutputString.cpp Moved string utilities to opm/common 2020-04-04 17:10:13 +02:00
test_param.cpp changed: let the build system handle the dynamic boost test defines 2018-02-15 07:21:35 +01:00
test_PAvgCalculator.cpp Implement support for keyword WDFAC and WDFACCOR 2023-10-31 14:10:45 +01:00
test_PAvgDynamicSourceData.cpp Add Container for Dynamic WBPn Source Values 2023-06-09 15:42:46 +02:00
test_regionCache.cpp Match Connection-to-Region in Terms of Global Cell Indices 2023-09-28 10:36:43 +02:00
test_Restart.cpp Implement support for keyword WDFAC and WDFACCOR 2023-10-31 14:10:45 +01:00
test_RestartFileView.cpp Promote RestartFileView to Public Access 2021-06-09 00:35:13 +02:00
test_restartwellinfo.cpp Schedule.hpp: forward Well 2023-01-18 11:01:41 +01:00
test_RFT.cpp Implement support for keyword WDFAC and WDFACCOR 2023-10-31 14:10:45 +01:00
test_RootFinders.cpp Add combined regula falsi + bisection method, and test. 2019-11-05 10:33:02 +01:00
test_rst_netbalan.cpp Resolve test failures 2023-11-14 18:05:40 +01:00
test_rst.cpp Schedule.hpp: forward Well 2023-01-18 11:01:41 +01:00
test_SegmentMatcher.cpp Add Facility For Identifying Specific Well Segments 2022-12-20 12:57:00 +01:00
test_Serialization.cpp Implement support for keyword WDFAC and WDFACCOR 2023-10-31 14:10:45 +01:00
test_Solution.cpp Add Constructors for CellData Objects 2023-03-16 12:15:44 +01:00
test_sparsevector.cpp changed: let the build system handle the dynamic boost test defines 2018-02-15 07:21:35 +01:00
test_Summary_Group.cpp Implement support for keyword WDFAC and WDFACCOR 2023-10-31 14:10:45 +01:00
test_Summary.cpp Output C[OG]FRF and C[OG]FRS 2023-11-22 10:17:44 +01:00
test_SummaryNode.cpp Add New Summary Node Category of Completion 2022-09-27 18:16:47 +02:00
test_Tables.cpp Filesystem rename parser/eclipse/ input/eclipse 2022-01-02 14:32:14 +01:00
test_uniformtablelinear.cpp fixed: adjust include path of float_point_comparison for earlier boost 2023-11-10 10:23:30 +01:00
test_Wells.cpp Implement support for keyword WDFAC and WDFACCOR 2023-10-31 14:10:45 +01:00
test_WindowedArray.cpp Add invalid size zero in WindowArray and WindowMatrix 2019-07-29 14:09:07 +02:00
TEST_WLIST.DATA first complete version that satisfies all unit tests 2021-05-25 10:37:45 +02:00
testblackoilstate3.DATA Removed constructor from ScheduleGrid, added perm prop to tests 2021-11-04 11:29:12 +01:00
testdata.param changed: remove XML support for ParameterGroup 2017-11-17 13:10:06 +01:00
testrft.DATA Removed constructor from ScheduleGrid, added perm prop to tests 2021-11-04 11:29:12 +01:00
UDQ_ACTIONX_RESTART.DATA Add testdata for restart load testing of ACTIONX 2021-09-13 10:33:32 +02:00
UDQ_ACTIONX_TEST1_U.DATA added tests/UDQ_ACTIONX_TEST1_U.DATA 2020-03-18 13:18:42 +01:00
UDQ_ACTIONX_TEST1.DATA removed comments from UDQ_ACTIONX_TEST1.DATA 2021-08-26 12:22:15 +02:00
UDQ_ACTIONX.DATA Add testdata for restart load testing of ACTIONX 2021-09-13 10:33:32 +02:00
UDQ_ACTIONX.X0007 Add testdata for restart load testing of ACTIONX 2021-09-13 10:33:32 +02:00
UDQ_BASE.DATA Recover UDQ values from restart file 2020-06-25 16:18:59 +02:00
UDQ_RESTART.DATA Recover UDQ values from restart file 2020-06-25 16:18:59 +02:00
UDQ_TEST_WCONPROD_IUAD-2.DATA Use unformatted IO in testcase 2021-06-18 15:02:02 +02:00
UDQ_WCONPROD_GRID.grdecl Reorganize test deck to use INCLUDE 2021-09-13 16:26:20 +02:00
UDQ_WCONPROD_RESTART.DATA Reorganize test deck to use INCLUDE 2021-09-13 16:26:20 +02:00
UDQ_WCONPROD.DATA Replace DATES -> TSTEP for restart testing 2021-10-20 11:28:34 +02:00
UDQ_WCONPROD.X0006 Add testdata for UDA restart testing 2021-08-31 11:20:12 +02:00
VFP_CASE.DATA Add member sim_step to ScheduleState 2021-03-10 08:08:43 +01:00
wclose.py Enable running normal ACTIONX keywords from PYACTION 2022-01-25 10:04:43 +01:00
WorkArea.hpp Renames header tests/WorkArea.cpp to tests/WorkArea.hpp 2022-01-21 10:18:56 +01:00