Commit Graph

19 Commits

Author SHA1 Message Date
Andreas Lauser
0012aac5bd ebos: avoid potential division by zero in transmissibility calculation
in practice this could happen if the NTG value for a cell is set to zero.
2016-02-25 12:50:59 +01:00
Andreas Lauser
704389d14f ebos: use the Opm::TransMult class to determine the transmissibility multipliers
this takes care of atrocities like the MULTFLT keyword...
2016-02-25 11:55:27 +01:00
Andreas Lauser
b3359206b5 ebos: fix a active vs cartesian cell index in the transmissibility code
ouch, that was a major fauxpas!
2016-02-24 16:11:14 +01:00
Andreas Lauser
016768febc once more fix the build after opm-parser changes
this time, opm-parser#661 was the guilty guy...
2016-01-29 19:24:44 +01:00
Andreas Lauser
4d5d3491c0 fix the headercheck 2016-01-21 13:24:24 +01:00
Andreas Lauser
2b43f5bb12 fix the headercheck 2016-01-17 21:15:27 +01:00
Andreas Lauser
242a500f52 ebos: replace the macro mess to select the grid type by specialized grid manager classes
i.e., there is now a base class for the EclGridManagers and one class
for each type of grid (Dune::ALUGrid, Dune::PolyhedralGrid and
Dune::CpGrid). Selecting the concrete grid type is now done by
deriving the EclProblem's type tag from the type tag of the respective
grid manager.
2016-01-05 19:32:36 +01:00
Andreas Lauser
a63a4f2bdc make most indices unsigned
(instead of using 'int'.) This triggered quite a few compiler warnings
which are also dealt-with by this patch.
2015-11-18 18:09:56 +01:00
Robert Kloefkorn
f6b3bbc386 CartesianIndexMapper: use the CartesianIndexMapper to applied the mapping from the
Cartesian coordinate to the flat index and vice versa.
2015-09-10 16:01:53 +02:00
Andreas Lauser
b974549f05 re-add the emacs and vim modelines to all source files
this makes things easier and IMHO these two lines do not cause any
disturbance.
2015-06-18 13:43:59 +02:00
Andreas Lauser
aab270e5b5 ebos: get rid of some Dune 2.4 deprecation warnings
they haven't been noticed yet because CpGrid does not feature them.
2015-06-14 21:35:02 +02:00
Andreas Lauser
2428ff41ae make ebos AD aware 2015-05-21 16:18:45 +02:00
Andreas Lauser
0e973f7108 ECL transmissibility: implement region multipliers
a.k.a. support the MULTREGT keyword. This has not really been tested
and may contain bugs...
2015-01-27 13:17:01 +01:00
Andreas Lauser
440a2f9496 some bikeshedding to make the new code more consistent with the existing one
i.e., where to put spaces, where to put new lines and using identation
width 4.
2015-01-21 15:56:08 +01:00
Andreas Lauser
a8b093e372 cache the remaining element iterator dereferences
they were forgotten in a place or two. With this, ebos' performance
using ALUGrid is comparable to its performance using a "raw"
Dune::CpGrid.

(also, make the naming of the local variable for the element more
consistent, i.e., replace 'entity' by 'elem' for the few places where
'entity' was used.)
2015-01-21 15:56:07 +01:00
Robert K
779e7736d1 EclSimulator: make compile with dune-alugrid. For that reason the Cartesian cell id has
been moved to the grid manager class.
2015-01-20 12:20:26 +01:00
Andreas Lauser
83f335077a make the ECL transmissibility flux module work on GCC 4.4
dejavu! (Also, fix a sign comparison warning on GCC 4.4.)
2015-01-06 12:40:30 +01:00
Andreas Lauser
c5869df53a remove unused typedefs and enums 2015-01-05 15:25:55 +01:00
Andreas Lauser
f95f0cc407 add option to use different flux modules and add one for ECL-transmissibilities to ebos
the ebos module implemenents what Eclipse calls 'NEWTRAN'
transmissibilities. Also, this commit required a few cleanups in the
velocity module infrastructure.
2015-01-05 15:25:16 +01:00