Commit Graph

15 Commits

Author SHA1 Message Date
Jørgen Kvalsvik
2c30f9e534 Update to shared_ptr-less parser interface. 2018-01-02 14:28:06 +01:00
Joakim Hove
39647c6ad3 shared_ptr<EclipseGrid> -> const EclipseGrid& 2018-01-02 14:28:06 +01:00
Pål Grønås Drange
877bd70c54 transmult and initconfig are ref's, use ref for EclipseState constructor 2018-01-02 14:28:06 +01:00
Markus Blatt
9e4af968db Fix incomplete type error for std::ofstream in examples
On my system I got
```c++
error: variable ‘std::ofstream file’ has initializer but incomplete type
         std::ofstream file(fname.str().c_str());
```
This is fixed with this commit by including fstream. Previously,
this include might have happened implicitely.
2018-01-02 14:28:06 +01:00
Pål Grønås Drange
fac5dd017d Using getInputGrid API from Parser, changed GridManager to no longer accept Deck in constructor 2018-01-02 14:28:06 +01:00
Joakim Hove
12991490bd Replaced SimulatorState -> SimulationDatacontainer
Have removed the SimulatorState base class, and instead replaced with
the SimulationDatacontainer class from opm-common. The SimulatorState
objects were typcially created with a default constructor, and then
explicitly initialized with a SimulatorState::init() method. For the
SimulationDataContainer RAII is employed; the init( ) has been removed -
and there is no default constructor.
2018-01-02 14:28:06 +01:00
Liu Ming
7ce3151081 rename ParseMode in examples folder. 2018-01-02 14:28:06 +01:00
Andreas Lauser
b04db90cfe use the error macros from opm-common 2018-01-02 14:28:06 +01:00
Joakim Hove
94ea28a2a0 Updated to use ParseMode. 2018-01-02 14:28:06 +01:00
Atgeirr Flø Rasmussen
fa53925642 Make some programs stricter about parameter parsing.
This applies to programs which always require at least one parameter.
2018-01-02 14:28:06 +01:00
osae
9d9f5f003b Make use of EclipseState for EQLNUM and SWATINIT. 2018-01-02 14:28:06 +01:00
Andreas Lauser
9731539f6a Glue in support for the grid property modifier keywords
this basically means using Opm::EclipseState instead of the raw deck
for these keywords.

with this, property modifiers like ADD, MULT, COPY and friends are
supported for at least the PERM* keywords. If additional keywords are
required these can be added relatively easily as well.

no ctest regressions have been observed with this patch on my machine.
2018-01-02 14:28:06 +01:00
Andreas Lauser
7cf70894b0 convert the examples and the tests to opm-parser 2018-01-02 14:28:06 +01:00
osae
27579736dd New parser included. 2018-01-02 14:28:06 +01:00
Atgeirr Flø Rasmussen
0bfa30de7b Added simple program example for initialisation. 2018-01-02 14:28:06 +01:00