jokva
1fc4fa633b
Merge pull request #931 from joakim-hove/unit-system-vector-overlaod
...
Added vector overload of unit onversion methods.
2016-10-06 13:10:39 +02:00
Pål Grønås Drange
f73d7f66ae
Merge pull request #930 from jokva/remove-shared-ptrs-from-schedule
...
Remove shared ptrs from schedule
2016-10-06 13:01:08 +02:00
Joakim Hove
0d4bfdea2d
Added vector overload of unit onversion methods.
2016-10-06 11:47:49 +02:00
Jørgen Kvalsvik
b932b0d2c2
fixup! Make Schedule.oilvaporization auto, not shared_ptr
2016-10-05 14:46:56 +02:00
Jørgen Kvalsvik
d5251d97e6
Make Schedule.groups auto, not a shared_ptr
2016-10-05 14:39:01 +02:00
Jørgen Kvalsvik
1638341a90
Default construction for OilVaporizationProperties
...
OilVaporizationProperties can now be default constructed, and its
storage has been changed from shared_ptr to value (which mandates the
support for default construction and equality/unequality).
The default constructed Property is considered unspecified and
operations on it will not make sense.
2016-10-05 14:11:57 +02:00
Jørgen Kvalsvik
a97890bce2
Make Schedule.grouptree auto, not a shared_ptr
...
Also makes the *contents* of the vector values, not shared_ptrs.
This introduces the copy constructor (as an alternative to deepcopy())
and comparison operators, mandated by DynamicState.
2016-10-05 10:36:35 +02:00
Jørgen Kvalsvik
fd26e24049
Make Schedule.oilvaporization auto, not shared_ptr
2016-10-05 10:36:21 +02:00
Jørgen Kvalsvik
5202c4ee6b
Make Schedule.modifierDeck auto, not a shared_ptr
2016-10-05 10:12:46 +02:00
Jørgen Kvalsvik
81cbe53109
Make Schedule.events auto, not a shared_ptr
2016-10-05 10:09:45 +02:00
Jørgen Kvalsvik
f72b784a7e
Make Schedule.tuning auto, not a shared_ptr
2016-10-05 10:04:36 +02:00
Jørgen Kvalsvik
6a0afc8a80
DynamicState::get returns const reference
...
dynamicstate.get returns a const reference rather than a by-value copy,
in order to be consistent with other container classes.
This introduces a problem for std::vector<bool> with its specialisation,
so all DynamicState<bool> instances has been replaced by
DynamicState<int> and explicit bool conversions.
2016-10-05 09:57:42 +02:00
Pål Grønås Drange
e7c2ebd915
Removed ERT_PYTHON_PATH, we only need cwrap path
2016-10-04 15:27:39 +02:00
Pål Grønås Drange
aa09373f18
added find cwrap from opm-common
2016-10-04 12:49:05 +02:00
Pål Grønås Drange
7ef665994b
Use cwrap library from ert
2016-10-04 11:50:57 +02:00
Pål Grønås Drange
5a0e4c191d
Merge pull request #929 from joakim-hove/python-test
...
Python test: locate testdata + add declarations.
2016-09-29 12:16:36 +02:00
Tor Harald Sandve
5d7d5be679
Add support for control mode in WHISTCTL
...
-- Control mode given by WHISTCTL overwrites control mode given in
WCONHIST
-- option for termination of run if changed to BHP control in not
implemented. But ParseContext is used to inform the user and make
throwing optional.
2016-09-29 08:29:57 +02:00
Joakim Hove
44f7d023b7
Added forward declaration.
2016-09-28 19:14:20 +02:00
Joakim Hove
36b5f8d0f5
Changed code to find testdata for Python tests.
2016-09-28 18:52:05 +02:00
Pål Grønås Drange
9fe350e094
Made production group and injection group pure values
2016-09-28 07:39:24 +02:00
Kai Bao
7f49f5e53d
fixing the group test.
2016-09-23 13:17:26 +02:00
Kai Bao
a70b1799c7
A well group can be both injection and production group.
2016-09-23 12:55:44 +02:00
Pål Grønås Drange
36ab19bc73
Merge pull request #923 from joakim-hove/summary-config-query
...
Added simple test for hasKeyword.
2016-09-21 14:37:08 +02:00
Kai Bao
a4c2c5bec3
adding FLD to the ControlEnum of GroupProduction
2016-09-20 13:37:07 +02:00
Joakim Hove
09499a7c79
Merge pull request #916 from joakim-hove/python-schedule
...
Remove Grid from Schedule object + Python wrap Schedule and EclipseGrid
2016-09-20 09:22:16 +02:00
Joakim Hove
c42d2a7022
Added simple test for hasKeyword.
2016-09-19 20:18:51 +02:00
Arne Morten Kvarving
afedca7b18
quell signed/unsigned comparison warning
...
switch to using std::iota
2016-09-14 11:04:23 +02:00
Joakim Hove
7c0b4733d5
Added Python wrapper for Schedule class.
2016-09-12 21:42:34 +02:00
Joakim Hove
ae31249245
Added micro Python wrapper of EclipseGrid.
2016-09-12 21:42:34 +02:00
Joakim Hove
8100b6cb0d
Completed rename parse_mode -> parse_context.
2016-09-12 21:42:34 +02:00
Joakim Hove
5636fd8aa1
Fixed to self bugs in Python bindings.
2016-09-12 21:42:34 +02:00
Joakim Hove
55756f944e
Moved some python tests.
2016-09-12 21:42:34 +02:00
Joakim Hove
8ee057eca5
Added method Schedule::posixEndTime()
2016-09-12 21:42:34 +02:00
Joakim Hove
81b71d5d08
Removed EclipseGrid member from Schedule class.
2016-09-12 21:42:34 +02:00
Joakim Hove
8f3ebe23ee
Removed grid argument from Well construction.
2016-09-12 21:42:34 +02:00
Joakim Hove
b47e7579d0
Completion: Internalize cell depth immediately.
2016-09-12 21:42:34 +02:00
Joakim Hove
9a1a1e2f00
Removed EclipseGrid dependency from CompletionSet.
2016-09-12 21:42:34 +02:00
Jørgen Kvalsvik
9aee6e7708
Return identity when compressing active-only cells.
2016-09-12 21:14:07 +02:00
Joakim Hove
74e1aff9dc
Compress std::vector<T> and GridPropery.
2016-09-08 09:14:30 +02:00
Joakim Hove
56077998e0
Added EclipseGrid::getGlobalIndex( activeIndex )
2016-09-08 09:14:29 +02:00
Joakim Hove
15588fe7ca
Added EclipseGrid::allActive() convenience method.
2016-09-08 09:14:28 +02:00
Joakim Hove
489602c51c
EclipseGrid: default copy and move constructors.
2016-09-08 09:14:27 +02:00
Joakim Hove
516f0927da
Merge pull request #905 from joakim-hove/eclipsgrid-processed-copy
...
WIP: Added EclipseGrid processed copy.
2016-09-07 11:10:52 +02:00
Joakim Hove
c2b4ee687f
Added class ZcornMapper.
2016-09-07 11:08:31 +02:00
Joakim Hove
4af4c40dc6
Added EclipseGrid processed copy.
2016-09-07 11:07:51 +02:00
babrodtk
4d9bd066a3
Added inverse formation volume factors
2016-09-06 14:17:46 +02:00
babrodtk
863ce30a94
Merge branch 'master' of github.com:OPM/opm-parser into output_writer_celldata
2016-09-06 10:34:54 +02:00
Joakim Hove
c8d77dff99
Expand ALLPROPS in SOLUTION section RPTRST.
2016-09-06 00:25:07 +02:00
Joakim Hove
ba6e2a0eb1
Merge pull request #909 from andlaus/implement_multregp
...
Implement support for MULTREGP
2016-09-05 18:11:18 +02:00
Joakim Hove
2fa5ee628b
Merge pull request #910 from joakim-hove/store-mapaxes
...
Do not apply the MAPAXES transform.
2016-09-05 17:31:39 +02:00