Commit Graph

143 Commits

Author SHA1 Message Date
Steinar Foss
11d1c7d634 python: DeckKeyword constructor, w/ ParserKeyword arg.
parserkeyword can create deckkeyword.

python parserkeyword: removed create_deckkeyword.

DeckKeyword: member parser_keyword is shared_ptr.

python DeckKeyword constructor.

python: no exposure of ParserKeyword.

DeckKeyword: shared_ptr<ParserKeyword> -> ParskerKeyword.

python/cxx/deck_keyword.cpp: cosntructor takes arg const ParskerKeyword&.

test_parser.py: simplified test_pyinut.

...
2019-09-23 23:27:03 +02:00
Joakim Hove
69ddffc966 Expose C++ objects to Python runtime 2019-09-23 21:31:45 +02:00
Joakim Hove
230c4494ed Add Python wrapping for OpmLog 2019-09-23 14:35:25 +02:00
Joakim Hove
883fb1a337 Merge pull request #1034 from stefoss23/python_replace_schedule
Python replace schedule
2019-09-23 14:22:35 +02:00
Steinar Foss
dd4cce4e9a python: removed group_tree. 2019-09-21 11:52:44 +02:00
Steinar Foss
0bc150794d python: Schedule bound directly by pybind11.
python: exposes Schedule.

python: added constructor for Schedule.

test_schedule: reintroduced most tests.

python test_schedule: all test works.

python test_wells. opened up some tests.

test_wells: opened up most.

test_wells.py ok.
2019-09-21 11:53:29 +02:00
Joakim Hove
f7a434f274 Do not import ParserKeyword in Python 2019-09-21 07:31:03 +02:00
Steinar Foss
b1974db82c setup.py: package_data: readjusted target and origin of libopmcommon_python.so. 2019-09-19 14:14:55 +02:00
Arne Morten Kvarving
8c874bf741 fixed: move file into correct directory 2019-09-18 13:21:00 +02:00
Joakim Hove
b7459231d2 Check CC environment variable 2019-09-17 14:18:36 +02:00
Steinar Foss
b957ca6a69 opm.io.ecl_state: unexposes constructor free classes. 2019-09-13 16:17:35 +02:00
Steinar Foss
b68fe2e63a test_state2: added test_config. 2019-09-13 16:17:35 +02:00
Steinar Foss
c826e24607 test_props: uncommented tests. 2019-09-13 16:17:35 +02:00
Steinar Foss
41a05a7a98 test_state.py: uncommented test_summary. 2019-09-13 16:17:35 +02:00
Steinar Foss
4504b8812f test_state2. added function test_jfunc. 2019-09-13 16:17:35 +02:00
Steinar Foss
365fbd355b test_state2: added test_faults. 2019-09-13 16:17:35 +02:00
Steinar Foss
78ab86e2a3 test_state2.py: added test_tables. 2019-09-13 16:17:35 +02:00
Steinar Foss
0ae8c4b235 python grid: properties as small cap. 2019-09-13 16:17:35 +02:00
Steinar Foss
3ecb446c20 test_state2: added test_simulation. 2019-09-13 16:17:35 +02:00
Steinar Foss
97728e9fda test_state2.py: added test_grid. 2019-09-13 16:17:35 +02:00
Steinar Foss
af096fddf9 test_state2: added test_state_nnc. 2019-09-13 16:17:35 +02:00
Steinar Foss
0257528ea9 test_state2: added test_repr_title. 2019-09-13 16:17:35 +02:00
Steinar Foss
fcca1fa823 python EclipseState: added constructor. 2019-09-13 16:17:35 +02:00
Steinar Foss
7fc7a8f0ba python class Sunbeamstate: remove state. 2019-09-13 16:17:35 +02:00
Steinar Foss
15d70c446f properties.py: removed class EclipseState. 2019-09-13 16:17:35 +02:00
Steinar Foss
b97503d34d exposed class TableManager as Tables. 2019-09-13 16:17:35 +02:00
Steinar Foss
c01d3b0139 propertes.py: removed Tables. 2019-09-13 16:17:35 +02:00
Steinar Foss
7811054029 properties.py: EclipeState: removed faults. 2019-09-13 16:17:35 +02:00
Steinar Foss
e1bffe7b3d python: exposed class Eclipse3DProperties. 2019-09-13 16:17:35 +02:00
Steinar Foss
525dfdcd69 properties.py: removed Eclipse3DProperties. 2019-09-13 16:17:35 +02:00
Steinar Foss
369a99a64a python: exposed class EclipseGrid. 2019-09-13 16:17:35 +02:00
Steinar Foss
d5e0d72f0f properties.py: removed class EclipseGrid. 2019-09-13 16:17:35 +02:00
Joakim Hove
d2ff536cf3 Renamed python/cxx/common -> python/cxx/export 2019-09-13 09:40:13 +02:00
Joakim Hove
f264c358e7 Placed the Python cxx wrapping in namespace python::common 2019-09-13 09:22:49 +02:00
Joakim Hove
49d61cb4f6 Merge pull request #999 from stefoss23/PYINPUT
Can extract parserkw's in python.
2019-09-06 23:22:26 +02:00
Steinar Foss
318d396adc Parserkeyword property -> name/ ParserKW -> ParserKeyword. 2019-09-06 22:50:25 +02:00
Steinar Foss
ff79a404be Can extract parserkw's in python.
added keyword PYINPUT.

added pythonclass ParserKW.

python acces to ParserKW.

removed wrong kw PYINPUT.

...
2019-09-06 15:40:31 +02:00
Arne Morten Kvarving
1c988dc721 fixed: quell exception if PYTHONPATH env var is nonexistent 2019-09-06 14:57:52 +02:00
Steinar Foss
132fc1ff1b moved pyclass EclipseConfig to ecl_state. 2019-09-06 09:42:46 +02:00
Steinar Foss
6dfab9c621 added new python test state2. 2019-09-06 09:13:30 +02:00
Steinar Foss
dedc74f299 exposed cxx class EclipseConfig to python dir. via pybind11. 2019-09-06 09:05:02 +02:00
Steinar Foss
ad50a22ed7 removed python class EclipseConfig. 2019-09-05 21:05:19 +02:00
Joakim Hove
7984d2a0f4 Expose the Parser class properly to Python 2019-09-05 08:44:47 +02:00
Joakim Hove
1d8f07fe62 Rename parser/parser.py -> parser/parser_module.py 2019-09-05 08:44:47 +02:00
Joakim Hove
723113b3b9 Add small shell script templates to simplify Python development 2019-09-05 08:44:47 +02:00
Joakim Hove
a2fc480e16 Move enum CompletionOrder to Connection class 2019-09-04 14:46:58 +02:00
Joakim Hove
dcf4347aee Moved connection state enum to Connection class 2019-09-04 14:46:58 +02:00
Joakim Hove
a7c5483b0f Move Well status enum to Well2 class 2019-09-04 14:46:58 +02:00
Joakim Hove
c516f868e4 Slight reorganizing of Python tree 2019-08-23 19:15:51 +02:00
Joakim Hove
8e8abee556 Renamed opm.parser -> opm.io 2019-08-23 11:24:15 +02:00