Fredrik Gundersen
bb97d3f7bb
Fix parameter name
2015-05-22 22:58:39 +02:00
Fredrik Gundersen
48699b569a
OPM-203 Added supoort for converting of Metric grid values
2015-05-21 12:35:32 +02:00
Joakim Hove
08a7132db8
Merge pull request #398 from joakim-hove/singleton-example
...
Singleton Logger
2015-03-09 08:08:12 +01:00
Joakim Hove
9fb229ccd7
Replaced references to logger with OpmLog::addMessage()
2015-03-04 22:14:31 +01:00
Joakim Hove
25bff6480d
Renamed MessageCounter -> CounterLog
2015-03-04 22:12:52 +01:00
Joakim Hove
d3277543ec
Renamed existing Logger -> MessageCounter
2015-03-04 22:09:54 +01:00
chflo
f3b427121e
OPM-157: Added method getGlobalIndex to EclipseGrid, needed from opm-core EclipseWriter
2015-03-04 14:09:43 +01:00
Liu Ming
8f61bcd59a
Add MinpvMode namespace and remove the whitespace.
2015-02-12 16:00:31 +08:00
Liu Ming
1dfb337a76
Remove isMinpvActive() function, use getMinpvMode() instead.
2015-02-10 16:45:48 +08:00
Liu Ming
785fa97c80
Merge remote-tracking branch 'remotes/opm/master' into add_minpvf
2015-02-09 09:52:40 +08:00
Liu Ming
15164b0e7f
Add keyword MINPVF.
2015-02-09 09:52:11 +08:00
Atgeirr Flø Rasmussen
ff80db33ba
Improved cartesian convenience constructor.
...
It now can take cell size arguments, and it always creates a complete grid.
2015-01-27 09:54:10 +01:00
Joakim Hove
e432a1c75a
Added getCellDepth() method to EclipseGrid
2015-01-26 12:26:23 +01:00
Joakim Hove
b585655a5c
Changes in the log class:
...
1. Moved to from eclipse/Parser -> eclipse/Log
2. Renamed ParserLog -> OpmLog
2014-12-15 17:36:10 +01:00
Andreas Lauser
ea38a25af4
remove all trailing white space
...
this is just the result of
```
find -iname "*.[ch]pp" | xargs sed -i "s/ *$//"
find opm/parser/share/keywords -type f | xargs sed -i "s/ *$//"
```
so if it causes conflicts with other patches, the others should get
priority. The rationale behind this patch is that some people tell
their editor to remove white space which leads to larger than
necessary patches...
2014-12-08 16:34:28 +01:00
Joakim Hove
b2fbbfc8a7
Added small method to check if cell is active.
2014-11-16 20:07:03 +01:00
Joakim Hove
24cb9944c6
EclipseGrid - check content of c_ptr before use
...
This commit contains quite large changes to the EclipseGrid. The main
functional change is that the access to the ecl_grid_type pointer is
protected. In addition there are 'white space' changes due to methods
moving around and some methods have been marked static.
2014-11-10 00:14:55 +01:00
Joakim Hove
39bca17ce0
Split EclipseGrid in dimensions and cell info.
...
In many cases the only required information in an EclipseGrid instance
is the cartesian dimensions. To facilitate simpler testing - and not
have to create a full dummy grid the dimensions have been internalized
as a separate nx,ny,nz triplet. With this commit it is possible to
instantiate a grid with only dimensions, and no underlying ecl_grid_type
pointer.
2014-11-09 23:31:53 +01:00
Andreas Lauser
f51016db57
EclipseState: significantly extend usage of the new logging facility
...
in the process quite a few exceptions have been converted into log
messages.
2014-10-07 15:39:15 +02:00
Joakim Hove
f88fd65937
Implemented PINCH and MINPV as Value<double>
2014-09-04 22:10:16 +02:00
Atgeirr Flø Rasmussen
da50b320fa
Add MINPV features to EclipseGrid class.
2014-08-25 11:15:39 +02:00
Atgeirr Flø Rasmussen
52c7a4bc3f
Remove section-using EclipseGrid constructors.
...
Also:
- Simplify implementation (no templates).
- Update tests.
2014-08-22 12:12:37 +02:00
Atgeirr Flø Rasmussen
d3a2db6867
Add new constructor taking a Deck.
...
The new constructor allows us to create EclipseGrid objects from decks
that do not have a strict sectioned structure.
Also modify some implementation details. Many methods are now templates,
and can take Deck or Section objects (they have the same
hasKeyword/getKeyword interface).
2014-08-21 10:30:47 +02:00
Atgeirr Flø Rasmussen
f831637a5f
Follow opm-parser naming conventions for data members.
2014-08-20 13:05:21 +02:00
Atgeirr Flø Rasmussen
4529cbe468
Add isPinchActive() and getPinchThresholdThickness() members.
...
Now reading the optional PINCH keyword from the GRID section.
2014-08-20 09:23:32 +02:00
Joakim Hove
c06e1bebbf
Added new EclipseGrid constructor
...
The new EclipseGrid constructor EclipseGrid(nx,ny,nz , GridSection)
allows the construction of a GRID without the RUNSPEC section.
2014-08-19 08:25:10 +02:00
Joakim Hove
8ff5a91a4f
Added constructor based on existing ecl_grid_type pointer
2014-07-17 21:20:09 +02:00
Joakim Hove
e041cf337c
Added c_ptr() method to EclipseGrid
2014-07-16 12:29:31 +02:00
Joakim Hove
7a52e0c2ce
Added EclipseGrid::fwriteEGRID
...
In addition an new constructor based on an existing binary GRID/EGRID
file.
2014-07-16 09:35:06 +02:00
Joakim Hove
040107d215
Added method EclipseGrid::resetACTNUM()
2014-07-16 09:21:05 +02:00
Joakim Hove
5a13369b6d
Added EclipseGrid::getCellVolume() and getCellCenter()
2014-06-11 16:42:37 +02:00
Joakim Hove
3da0c228b9
Using size_t instead of int for EclipseGrid::getN?
2014-06-03 22:42:23 +02:00
Joakim Hove
0728dbe76a
Added grid method getCartesianSize()
2014-05-16 13:14:16 +02:00
Joakim Hove
7bf588a166
Added DEPTHZ as alternative to TOPS.
2014-04-29 21:30:45 +02:00
Joakim Hove
3718df3972
Added assert of the size of the vectors used to create a CornerPoint grid.
2014-04-27 23:51:43 +02:00
Joakim Hove
b2d99fb387
Added functionality to export MAPAXES data.
2014-04-22 01:14:34 +02:00
Joakim Hove
af6f18b5aa
Added methods to export the ZCORN, COORD and ACTNUM keywords from the EclipseGrid.
2014-04-22 00:20:03 +02:00
Joakim Hove
9c29c00c2b
Added ability to create EclipseGrid from cornerpoint keywords.
2014-04-01 09:06:43 +02:00
Joakim Hove
8b0acc2242
Added class EclipseGrid with constructor for cartesian grid from deck.
2014-03-31 14:19:34 +02:00