Bård Skaflestad
14a6a5a4c3
Generate Units of Measurements for WELTARG UDAs
...
In preparation of loading such UDAs from the restart file.
2022-05-09 11:33:07 +02:00
Joakim Hove
c50eb01bb0
Implement fnmatch() in Opm::shmatch() with std::regex
2022-01-11 11:14:11 +01:00
Joakim Hove
aede532b9a
Filesystem rename parser/eclipse/ input/eclipse
2022-01-02 14:32:14 +01:00
Joakim Hove
ee105b7bbf
Remove base class DeckViewInternal and create new class DeckView
2021-11-12 08:09:29 +01:00
Joakim Hove
6f94580ff1
Add class DeckTree to mange include file hierarchy
2021-09-23 14:24:35 +02:00
Joakim Hove
d6aa829197
Avoid spurious dependencies if Python is not enabled
2021-03-10 15:44:43 +01:00
Joakim Hove
f8fb46ed84
Source generator should only optionally generate Python binding code
2021-03-10 15:44:18 +01:00
Joakim Hove
84d5dbde0e
Make the Builtin class available from Python
2021-03-09 12:22:39 +01:00
Joakim Hove
8c351440e8
Mkae sure fmtlib is not a dependency in the public api
2020-09-30 18:17:57 +02:00
Joakim Hove
3e1411bf87
Replace opm implementation of string_view with std::string_view
2020-08-04 11:40:41 +02:00
Arne Morten Kvarving
fb75bcd4e2
changed: use std::filesystem instead of boost::filesystem
...
since we still support g++-7, where filesystem is marked experimental,
we introduce a wrapper header and expose the namespace to use
as Opm::filesystem.
for gcc we unconditionally link with libstdc++fs in the python bindings.
the setup.py stuff links as c code, not c++ code, so it is not
automatically added on any gcc version. this might prove unportable
later.
2020-02-13 12:34:19 +01:00
Arne Morten Kvarving
7876f530a1
changed: use std::regex instead of boost::regex
2020-02-11 08:49:08 +01:00
Joakim Hove
b72fd84e24
Fixup: leftover from code generation refactor
2020-01-06 16:20:16 +01:00
Joakim Hove
087aec6e01
Refactored generated keyword test to reduce compilation time
2020-01-02 15:27:54 +01:00
Joakim Hove
3c6a60c4a9
Code genereator will create many source files
2020-01-02 15:27:54 +01:00
Joakim Hove
c3a038c2b6
Refactor code generation to facilitate multiple source files
2020-01-02 15:27:54 +01:00
Arne Morten Kvarving
247b5685cc
remove libecl from buildsystem, jenkins and packaging
2019-10-16 20:03:08 -05:00
Steinar Foss
7199e1ede4
DeckValueTests: added test for DeckKeyword constructor taking DeckValue vectors.
...
DeckKeyword: new constructor takes recordlist.
DeckKeyword: invalid arg for wrong nr. of records.
DeckValue: type_tag replaces DeckValueEnum.
DeckValue: added as source for genkw.
DeckValue: default is unknown type.
DeckKeyword cosntr w/ record-lists works, but not for defaults.
DeckKeyword: added function add_deckvalue.
.. xx --
...
...
...
...
...
...
...
DeckValue: is<double> true also if integer.
...
...
last commit .m
2019-10-04 10:13:56 +02:00
Joakim Hove
e5013125f1
Refactor initial parsing stage
...
- Reduced the amount of state in the RawKeyword and ParserState classes.
- RawKeyword class has normal constructor - remove init method.
- The Rawxxx symbols are module private and the header files are not installed.
- Removed several unused static methods from Rawxxx and ParserKeyword.
2019-08-22 09:32:11 +02:00
Joakim Hove
b148769cc6
Internalize UDA values in the deck
2019-04-28 16:08:02 +02:00
Joakim Hove
cf42146d84
Add error mode DELAYED_EXIT1 to collect all errors
2019-01-07 12:38:05 +01:00
Arne Morten Kvarving
5dba20496a
changed: use a two-tiered process for code gen
...
to avoid some unwanted rebuilds
2018-06-18 10:07:52 +02:00
Steinar Foss
d9ffb579e1
Removed MessageContainer. OpmLog used instead.
...
...
...
...
GenerateKeywords.cmake changed.
ParserContext.handleerror takes only two args.
Schedule: removed all MessageContainer.
...
...
...
GridProperties: removed MessageContiner.
...
Eclipse3DProperties: removed MessageContainer.
...
TabelManager:removed MessageContainer.
...
.nnn.
...
...
...
...
...
...
...
...
...
...
...
...
...
2018-03-26 10:15:18 +02:00
Arne Morten Kvarving
932cece7d3
add imported parser/output sources to build system
...
use -DENABLE_ECL_INPUT=0 to disable input (and output) support
use -DENABLE_ECL_OUTPUT=0 to disable output support
both default to on
2018-03-06 11:18:03 +01:00
Arne Morten Kvarving
4b49e934e4
changed: drop opmjson library
2018-02-28 09:57:21 +01:00
Arne Morten Kvarving
f7c288a3f4
changed: switch to the shared opm build system
2018-02-12 13:36:49 +01:00