Commit Graph

33 Commits

Author SHA1 Message Date
Jørgen Kvalsvik
4c13f6ad06 Use public parseFile in cparser.cc 2016-10-19 20:38:28 +02:00
Arne Morten Kvarving
6433059067 changed: rename function getType
typeof is a semi-reserved symbol in gcc (gcc extension to get typeid)
2016-10-17 10:48:29 +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
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
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
c4ce3b16d2 Check that HAVE_ERT_PYTHON before building Python. 2016-07-01 15:36:38 +02:00
Jørgen Kvalsvik
41fc16ad92 Keep ParserKeyword instances; internalName removed
Internal names are deprecated, and instead added ParserKeyword instances
are maintained and kept for the lifetime of the ParserKeyword instance.
Querying keyword existence from python picks up on Deck names, expected
to always be the intended case, instead of internal names.
2016-05-03 12:59:57 +02:00
Liu Ming
5720192314 remove log from cmake files. 2016-04-25 10:04:40 +08:00
Liu Ming
960e362c66 delete opmlog fro python directory. 2016-04-25 09:48:22 +08:00
Joakim Hove
d1e603f17c Added basic Python doc. 2016-04-18 06:51:36 +02:00
Joakim Hove
85f6cd1781 Using bound Python prototype. 2016-04-02 21:35:54 +02:00
chflo
f2ed1ba7ea Moved OpmLog from opm-parser to opm-common 2016-03-21 22:07:49 +01:00
Liu Ming
33da3caa6e should be parse_context 2016-03-17 15:36:12 +08:00
Liu Ming
a164776b12 should be parse_context. 2016-03-17 15:22:36 +08:00
Liu Ming
fd4451a215 change sub folder name. 2016-03-17 15:00:11 +08:00
Liu Ming
15b818de24 fix renaming issue. 2016-03-17 14:50:00 +08:00
Liu Ming
1fe83c9a78 rename ParseMode as ParseContext in python folder. 2016-03-17 08:34:48 +08:00
Jørgen Kvalsvik
f0ae5db131 opm-parser adoption of Deck automatic ownership
Since the Deck* family of classes have changed their interfaces to no
longer use shared_ptr, a lot of code broke. This patch fixes all
problems in tests, other signatures and accesses to now use the new Deck
interfaces.
2016-02-18 13:27:24 +01:00
Joakim Hove
cd0336c679 Fixup: fix install path 2016-01-25 12:42:10 +01:00
Joakim Hove
07d3837c01 Added the ability to configure a site module. 2016-01-24 21:40:56 +01:00
Joakim Hove
bd325e7060 Parser python updates:
1 - Add keywords dynamically from Python dictionary.
 2 - Parser.parseFile() can be used both bound and unbound.
2016-01-24 21:40:56 +01:00
Joakim Hove
35b6ab8ec1 Parser python updates:
1 - Add keywords dynamically from Python dictionary.
 2 - Parser.parseFile() can be used both bound and unbound.
2016-01-19 16:01:51 +01:00
Joakim Hove
b73f117f41 Python wrapper for (simple)Table. 2016-01-18 10:41:41 +01:00
Joakim Hove
f9d708157e Improvements to table wrapping:
- Added new sub packages ecl_state.tables.
 - Added table class warpping SimpleTable C++ class
 - Added more methods to table_manager.
2016-01-17 09:14:17 +01:00
Joakim Hove
3a426cb4c9 Added simple python wrapper for Parser and Deck.
- Create a new shared library libcopmparser with small files cxxxx
   which wrap general Cxx classes with C linkage.

 - Added Python packages & modules, based on Python ctypes and the
   ert.cwrap package.
2016-01-15 16:35:09 +01:00
Joakim Hove
45c3ffbe15 Added find_package: python_interp and ERTPython. 2016-01-15 16:35:07 +01:00