Daniel
90ce7bc6cb
Replaced call to Deck::getKeyword(kw, index) with deck[kw][index]
2021-11-23 14:00:38 +01:00
Daniel
b0f757eb50
Replace Deck::getKeyword(std::string) with operator[std::string]
2021-11-23 14:00:38 +01:00
Daniel
fe24c0717c
Replace Deck::getKeyword(size_t) with operator[size_t]
2021-11-16 18:36:27 +01:00
Joakim Hove
3d17cee393
Rename EclipseState::apply_geo_keywords -> apply_schedule_keywords
2021-11-07 19:55:09 +01:00
Arne Morten Kvarving
6465cfe1ea
changed: drop gcc7 compatibility
...
this means getting rid of the Opm::filesystem namespace
and directly using std::filesystem, as well as dropping
some of the compat code for the tr filesystem.
we still need the FileSystem.hpp/cpp files though as unique_path
is not part of std::filesystem.
2021-11-01 12:36:42 +01:00
Joakim Hove
1216b4f638
Remove restart schedule testing of possibly dubious quality
2021-09-13 09:10:53 +02:00
Joakim Hove
946fcca4fd
Add min_size setting ParserKeywords
2021-07-23 10:42:47 +02:00
Joakim Hove
48a0d91e49
Extract all data related to keyword size in class KeywordSize
2021-07-23 10:42:47 +02:00
OPMUSER
0e693e68e3
BOOST_AUTO_TEST_CASE( WCHONHIST )
...
Change number of entries from 11 to 12.
2021-07-09 16:00:54 +08:00
Bård Skaflestad
ed5a9db25b
Use Previous Output Time to Decide Next Output Time
...
This commit switches the criterion for BASIC=4 and BASIC=5 to using
the difference between the previous and the next output time instead
of "just" the next output time. The original criteria
year % freq == 0
month % freq == 0
don't do what we want. BASIC=4 and BASIC=5 should output every
'freq' year (=4) or 'freq' month (=5) of simulated time.
2021-07-07 15:06:10 +02:00
Bård Skaflestad
1c49dcc3db
Whitespace Adjustments
...
In preparation of fixing restart output times.
2021-07-07 14:37:21 +02:00
Joakim Hove
6ad1d4020c
Remove superfluos test
2021-07-05 16:01:31 +02:00
Joakim Hove
37f07a1b18
Remove stale class TimeMap
2021-06-10 14:12:12 +02:00
Arne Morten Kvarving
b063fcd089
remove some unnecessary includes
...
from tests and a few schedule classes
2021-04-27 12:55:45 +02:00
Arne Morten Kvarving
1ff9cf93aa
Connection: forward types to avoid includes
2021-04-27 12:55:45 +02:00
Arne Morten Kvarving
9876a73a53
Well: forward types to avoid includes
2021-04-27 12:45:24 +02:00
Arne Morten Kvarving
c407618375
Schedule: forward types to avoid includes
...
move constructor definition to compile unit
to avoid symbol usage in header
2021-04-27 12:45:24 +02:00
Arne Morten Kvarving
72ede7df50
changed: remove unnecessary boost includes
2021-04-23 11:27:38 +02:00
Joakim Hove
d14cd52a5e
Remove stale functionality RestartConfig / DynamicState
2021-03-27 07:51:41 +01:00
Joakim Hove
546523e229
Add new class RSTConfig for configuration of restart.
2021-03-27 07:51:41 +01:00
Joakim Hove
cfc552f39c
Remove unused function first_rst_step()
2021-03-25 08:28:30 +01:00
Joakim Hove
e2ef6bc662
Simplify test fixture
2021-03-24 09:40:04 +01:00
Joakim Hove
18dca82a8b
Handle empty regions in summary region results
2021-03-08 16:29:56 +01:00
Joakim Hove
8a901f2700
Merge pull request #2326 from joakim-hove/summary-add-fp
...
Add fieldprops argument to SummaryConfig constructor
2021-03-08 12:25:13 +01:00
Joakim Hove
48b366b1f9
Add fieldprops argument to SummaryConfig constructor
2021-03-08 08:23:01 +01:00
Joakim Hove
b5183b1d76
Hide RestartConfig as private member of Schedule class
2021-03-07 11:27:09 +01:00
Joakim Hove
7b896359f6
Part 2: Use Opm::time_point
2021-03-03 15:13:34 +01:00
Joakim Hove
37e29266ea
Remove timemap member from Schedule class
2021-03-03 15:09:29 +01:00
Joakim Hove
4e57436773
Use ScheduleState to configure RFT
2021-02-18 19:54:18 +01:00
Joakim Hove
bcffaefa7a
Use ScheduleState for wells++
...
Use SchedueleState for wells, in addition to the members UDQConfig, GasLiftOpt
and GuideRateConfig.
2021-02-10 07:22:46 +01:00
Joakim Hove
e016d357d8
Use ScheduleState to manage groups
2021-02-02 07:25:16 +01:00
Joakim Hove
888a646716
Remove member to track create time from Group
2021-01-18 12:19:54 +01:00
Joakim Hove
e445bf738c
Manage events with the ScheduleState machinery
2021-01-11 20:05:46 +01:00
Bård Skaflestad
5816d2dbd2
Push Compatibility Check To Parser Level
...
Leverage the 'prohibits'/'requires' support to enforce earlier
keyword compatibility checks. This plays better with parallel runs.
2020-12-17 21:33:11 +01:00
Joakim Hove
37b71e8be5
Skip NNCEDIT with multiplier = 1
2020-11-11 19:57:06 +01:00
Joakim Hove
e61e7afcc8
Refactor the NNC input class
...
- The NNC and EDITNNC keywords are internalized in the same class.
- The EDITNNC keyword operations are applied directly to the NNC keywords.
- The nnc vectors are ordered with cell1 < cell2 and ascending order.
- An api has been added to get the KeywordLocation from an NCC
- NNC/EDITNNC which is connected to inactive cell is ignored
2020-11-11 19:57:06 +01:00
Bård Skaflestad
33d09936c3
Merge pull request #1719 from GitPaean/aquifer_keywords
...
adding aquifer summary keywords
2020-10-05 22:49:32 +02:00
Williham Williham Totland
c43600337b
Throws exception with nesting, and generalises tests to account for same.
2020-10-05 11:06:19 +02:00
Kai Bao
6093a80dff
fixing the compilation due to interface change
2020-10-02 14:09:01 +02:00
Joakim Hove
0512ab88b4
ParseContext will throw OpmInputError
2020-09-29 15:37:14 +02:00
Joakim Hove
5444eade2f
Use std::shared_ptr<Python> for Python argument in Schedule
2020-03-31 10:26:55 +02:00
Joakim Hove
50fb51d56e
Add Python arg to Schedule constructor
2020-03-27 12:43:18 +01:00
Joakim Hove
562136772a
Merge pull request #1638 from joakim-hove/remove-stale-boost-include
...
Remove stale boost includes
2020-03-27 10:49:52 +01:00
Joakim Hove
39eb327551
Remove stale boost includes
2020-03-25 18:18:25 +01:00
Williham Williham Totland
6970158f7f
Makes the return value of Opm::Group::flow_group/::control_group optional.
2020-03-20 14:08:03 +01:00
Williham Totland
13e838d171
Separates Opm::Group::parent() for the extended network model
...
In order to support the extended network model going forwards, the method Opm::Group::parent() is split in the API into two new methods, Opm::Group::control_group() and Opm::Group::flow_group(). These methods give the names of the parent node in the group control hierarchy and network structure, respectively.
While for the standard network model these two values will be the same (and the same as ::parent()), code that presently calls ::parent() should be revisited with an eye to the question of which parent group is desired.
2020-03-06 14:38:38 +01:00
Joakim Hove
aed8c78af5
Move RestartConfig from EclipseState to Schedule
2020-02-19 12:35:07 +01:00
Arne Morten Kvarving
83a7cd04c3
remove unused boost includes
...
and deal with missing include fallout
2020-02-19 09:51:46 +01:00
Atgeirr Flø Rasmussen
4516b23a14
Merge pull request #1410 from joakim-hove/group-multiple-phases
...
Support multiple phases in group injection
2020-02-14 11:10:37 +01:00
Joakim Hove
0b2dbf7fc2
GroupInjection is a map over phases + implement topup_phase
2020-02-14 09:30:58 +01:00