Giter Site home page Giter Site logo

How to handle non-standard keywords about opm-common HOT 2 OPEN

opm avatar opm commented on August 27, 2024
How to handle non-standard keywords

from opm-common.

Comments (2)

rolk avatar rolk commented on August 27, 2024

I would suggest that all non-Eclipse keywords starts with OPM$ (or some other combination of OPM/FLOW and a special character). Schlumberger is very little likely to introduce something now with that prefix. I don't know about the design of the parser, but I reckon that it could be modified to scan for that exact prefix, and if found, lift the eight character restriction and just scan for whitespace as delimiter.

from opm-common.

OPMUSER avatar OPMUSER commented on August 27, 2024

ECLIPSE is on maintenance release cycle so it is highly unlikely that additional features (and keywords) will be added in the future. I concur that we need to identify non-Eclipse keywords and I don't think the nomenclature for this is terribly important, except that we will have to live with it forever and ever, so we need to choose carefully. So we could just go with a $ sign in front of the keyword and keep or relax the eight character limit.

As I mentioned previously, we could define two new keywords that defined and terminate OPM Flow keywords, similar to the ECHO and NOECHO keywords. So for example,

OPMSTART
SKPRWAT
.........
SKPRPOLY
.........
PINTDIMS
.........
OPMEND

With the OPMSTART/OPMEND keywords being usable in any ECLIPSE section. This has the advantage that we can have a separate section in the manual that defines all the non-standard keywords, instead of mixing them together. However, I would document the $SKPRPOLY option in the same manner.

I don't code in C++ so I don't which is the easier option to implement.

from opm-common.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.