Hi! We have now started developing the <opm-parser> module for parsing of the Eclipse input data format. So far the parsing only consists of reading and tokenizing the input. Our plan is to use three class hierarchies named Parser, RawDeck and Deck:
Parser: This will be the main class driving the parser process; the list of supported keywords, behavior++ will be implemented in this class. The parser will not contain any state from the parsing process. RawDeck: In the pure-parsing step of the process the parser will populate the 'RawDeck' which will consist of a list of keywords, where each keyword is (essentially) a list of string tokens. Deck: When the pure string reading is complete the Parser will populate the 'real' Eclipse deck where the different keywords have the correct type (i.e. INT/BOOL/...), and most importantly the keyword-keyword dependencies are taken into account. The current code has a start of the Parser and the RawDeck classes, we have not yet started on the Deck at all. We must take a couple of weeks pause from this project now, but will pick it up again in the not-so-distant future. The code can be found under github.com/OPM/opm-parser - comments and opinions most welcome. We are using cmake, and ctest to build the module. Some of the test executables require data that are "Statoil internal", and are not on github. To skip the tests that are using the Statoil data, use ctest -LE "Statoil", to get the actual output of the tests printed, use -V (ctest -V -LE "Statoil") Regards Joakim and Kristian. ------------------------------------------------------------------- The information contained in this message may be CONFIDENTIAL and is intended for the addressee only. Any unauthorised use, dissemination of the information or copying of this message is prohibited. If you are not the addressee, please notify the sender immediately by return e-mail and delete this message. Thank you _______________________________________________ Opm mailing list [email protected] http://www.opm-project.org/mailman/listinfo/opm
