Joakim Hove
c1f42aee64
Moved OrderMap to EclipseState/Util
2014-09-04 14:09:33 +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
eaea25772e
Create pointer-to-const objects.
...
Older gcc (4.4) does not allow conversion of shared_ptr<Foo> to
shared_ptr<const Foo>. Pointed out by @bska.
2014-08-21 15:13:50 +02:00
Atgeirr Flø Rasmussen
193e3d7012
Added test case for construction from deck with no sections.
2014-08-21 13:19:34 +02:00
Atgeirr Flø Rasmussen
4253fb151b
Allow DIMENS to be used as well as SPECGRID when no sections are found.
...
Also refactor DIMENS/SPECGRID to dimension code as a function.
2014-08-21 13:14:03 +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
577f8a7088
Name magic constant (invalidThickness).
2014-08-20 13:38:46 +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
26d57d7ec1
More tests for proper pinch-related behaviour.
...
Now also check behaviour for no-pinch case.
2014-08-20 09:35:21 +02:00
Atgeirr Flø Rasmussen
03a74ade2d
Make getPinchThresholdThickness() throw if isPinchActive() is false.
2014-08-20 09:34:44 +02:00
Atgeirr Flø Rasmussen
9d22253166
Add test for pinch features of EclipseGrid.
2014-08-20 09:25:16 +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
Andreas Lauser
466a18da98
fix some harmless compiler warnings
...
this comes with a minor API change as well, as the FaultCollection
class did not use the Cartesian size of the grid at all, so I decided
to remove the attributes and the arguments to the constructor...
2014-08-06 21:47:50 +02:00
Joakim Hove
8ff5a91a4f
Added constructor based on existing ecl_grid_type pointer
2014-07-17 21:20:09 +02:00
Joakim Hove
1737afb823
Added bool flag to ert function ecl_grid_compare()
2014-07-17 21:19:30 +02:00
Joakim Hove
e041cf337c
Added c_ptr() method to EclipseGrid
2014-07-16 12:29:31 +02:00
Joakim Hove
b41e66594e
Merge pull request #268 from joakim-hove/EclipseGrid-reset-actnum
...
Eclipse grid reset actnum
2014-07-16 09:48:01 +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
Andreas Lauser
abb49aead6
TransMult: implement non-fault transmissibility multipliers
...
i.e., the MULT[XYZ]-? keywords.
2014-07-15 16:47:31 +02:00
Andreas Lauser
9eda5bad44
GridProperty: mark getData() as const
...
it returns a const reference to a vector which does not allow
manipulation of its members. the getData() can thus be safely called
on constant GridProperty objects.
2014-07-15 16:47:31 +02:00
Joakim Hove
d6594c587f
Added method GridProperty<T>::multiplyValueAtIndex
2014-07-10 12:00:30 +02:00
Joakim Hove
5411f9ec74
Added internal MULTXYZ fields to TransMult
2014-07-08 17:26:44 +02:00
Joakim Hove
61c4e677c5
ERT-700: Added FaultCollection class
2014-07-08 17:26:37 +02:00
Joakim Hove
e319aefacb
Added Fault class
2014-07-08 17:16:02 +02:00
Joakim Hove
c2e06ad7a8
Added FaultFace class
2014-07-08 17:16:02 +02:00
Joakim Hove
7a448752f4
Removed const from getData()
2014-07-08 17:16:02 +02:00
Joakim Hove
bcb84c7e57
Trivial whitespace change
2014-07-08 17:16:02 +02:00
Joakim Hove
a0ab4d4ecb
Added transMult container - which only returns 1.0
2014-06-25 12:01:07 +02:00
Joakim Hove
afc83767d7
Added new enum to enumerate the different face directions.
2014-06-25 11:58:22 +02:00
Joakim Hove
5a13369b6d
Added EclipseGrid::getCellVolume() and getCellCenter()
2014-06-11 16:42:37 +02:00
Joakim Hove
db2cbf9e87
Fixed bug in extending TOPS vector.
2014-06-11 16:42:36 +02:00
Andreas Lauser
6f290a750d
Grid properties: get rid of the dimension string for integer properties
...
this uses a small amount of template magic, to automatically change
the API of the GridProperty class depending on wheter it is
instantiated for double or for int.
2014-06-05 10:12:23 +02:00
Andreas Lauser
52c5d3fbcb
make GCC 4.4 happy
...
there was a "typename" outside of a template, but because the
syntactic sugar is created by the Boost unit testing framework, it was
not clear wheter it was a template or not.
Also, some harmless warnings have been fixed. These only appeared
because a few variables have recently been converted from int to
size_t...
2014-06-03 22:51:03 +02:00
Andreas Lauser
7c53febf57
fix the ADD and EQUALS grid property modifiers
2014-06-03 22:42:23 +02:00
Joakim Hove
491ccd9a8d
Added #include <cstddef> to Box.hpp
2014-06-03 22:42:23 +02:00
Joakim Hove
3da0c228b9
Using size_t instead of int for EclipseGrid::getN?
2014-06-03 22:42:23 +02:00
Joakim Hove
b52ffe5a4a
Avoid use of {} in init to satisfy clang.
2014-06-03 22:42:23 +02:00
Joakim Hove
73d88280a5
Renamed getXXXProperty -> getXXXGridProperty
2014-06-03 22:42:23 +02:00
Joakim Hove
5e56f16369
Added double properties for e.g. PERM and PORO to the EclipseState
2014-06-03 22:42:23 +02:00
Joakim Hove
6b29eb5176
Supporting the ADD and EQUALS keywords.
2014-06-03 22:42:23 +02:00
Joakim Hove
eb9e11849e
Added support for MULTIPLY keyword.
2014-06-03 22:42:23 +02:00
Joakim Hove
bd1c756e30
Added copyFrom() property to GridProperty
2014-06-03 22:42:23 +02:00
Joakim Hove
5c04cd4540
Basic BOX support when reading integer properties.
2014-06-03 22:42:23 +02:00
Joakim Hove
f5c5722508
ERT-656: Changed GridProperty to take (nx,ny,nz) instead of volume.
2014-06-03 22:42:23 +02:00
Joakim Hove
1d0e3c9772
Added BoxManager() to keep track of the currently active input box.
2014-06-03 22:42:23 +02:00
Joakim Hove
2a5ec9aac9
Added Box::equal() comparison function.
2014-06-03 22:42:23 +02:00
Joakim Hove
74f66a5f3c
Added constructor for sub box.
2014-06-03 22:42:23 +02:00