Commit Graph

21 Commits

Author SHA1 Message Date
Andreas Lauser
fcf7e58cb0 add the three-phase capillary pressure law Eclipse uses by default 2013-11-11 13:23:55 +01:00
Andreas Lauser
7c0ff8309f Refactor the twophase laws
They are now all generic capillary pressure laws, but with some
additional methods to make working with them easier. For this reason,
they have been moved up one directory to opm/material/fluidmatrixinteractions

Also, a unit test which ensures that all capillary pressure laws
conform to their respective APIs has been added.
2013-11-11 13:23:47 +01:00
Andreas Lauser
332c2f64b3 rename doxygen groups "fluidmatrixinteractions(laws|params)" to "FluidMatrixInteractions"
and improve the van Genuchten law
2013-11-05 13:13:16 +01:00
Andreas Lauser
720f51cee3 fix end of namespace comments
long live python ;)!
2013-11-04 14:15:53 +01:00
Andreas Lauser
79689e467e blackoil fluid system: rename gasFormationFactor to gasDissolutionFactor
that was a thinko/reado of mine...
2013-11-04 14:07:53 +01:00
Andreas Lauser
7b49b64eb7 capillary pressure laws: move the M-phase laws one directory up
since they are also generic in the sense that they can depend on
arbitrary quanities expressed by the fluid state, not just
saturations...
2013-11-03 17:03:36 +01:00
Andreas Lauser
2ff952494b H2O: remove too expensive range checks
when they worked, they were only used in debug mode anyway...
2013-11-03 15:38:00 +01:00
Andreas Lauser
f8f64e66d1 Valgrind: fix a small issue that only appears with multiple compile units
this were forgotten 'inline' statements for some client request functions.
2013-10-29 12:23:13 +01:00
Andreas Lauser
5e8232d2f3 change API version to 3.0 2013-10-12 16:17:50 +02:00
Andreas Lauser
8e2e9d4ef0 tabulated component: don't catch NumericalProblem anymore
this lead to a compiler warning on gcc 4.8 that this case was already
covered by catching std::exception. Since we did the same in both
branches anyway, these statements were not required...
2013-09-25 16:14:24 +02:00
Andreas Lauser
6c3fe32feb use monotonic splines for the black-oil curves 2013-09-24 19:21:33 +02:00
Andreas Lauser
132955c2e7 use the spline class correctly
(i.e., remove a template argument. This only fell through the cracks
because Somerton.hpp is not yet used by a unit test...)
2013-09-24 11:37:07 +02:00
Andreas Lauser
fed47784ff remove some lonely usages of Dune::NotImplemented 2013-09-24 11:37:07 +02:00
Andreas Lauser
9ac7f92cf7 the big rename
make all file names confirm to the OPM conventions. (hopefully)
2013-09-24 11:37:07 +02:00
Andreas Lauser
7bd1622709 use OPM instead of dune infrastructure wherever possible
basically the only Dune thing which is still used are the FieldVector
and FieldMatrix classes used by some constraint solvers. Until
something similar goes into opm-core, opm-material must depend on
dune-common...
2013-09-20 15:04:27 +02:00
Andreas Lauser
594b3dd15b add version.h header file and adapt version number in dune.module 2013-09-10 13:42:43 +02:00
Andreas Lauser
dc30243dae include the unused.hh header in valgrind.hh
the dune/common/{unused,deprecated}.hh headers do not get implicitly
included by the OPM build system. Since the test for valgrind is has
been added recently, this file produced a compiler error if
HAVE_VALGRIND is 1.
2013-08-14 12:21:08 +02:00
Andreas Lauser
e4169106cf fix compileo 2013-06-06 11:30:08 +02:00
Andreas Lauser
c66ee6de33 eliminate 'constexpr'
use 'const' instead to make old compilers happy. the disadvantage is
that you cannot use the normal methods for template specialization,
but this currently should not be a major drawback.
2013-06-06 11:21:02 +02:00
Andreas Lauser
d6e18d6038 make the tests compile using OPM's shiny new CMake based build system 2013-05-30 19:17:00 +02:00
Andreas Lauser
83f255651d change namespace from 'Ewoms' to 'Opm' 2013-05-30 15:45:31 +02:00