Commit Graph

28 Commits

Author SHA1 Message Date
Arne Morten Kvarving
e41517a68e bump required dune version to 2.6
remove compatiblity code for older versions
2020-02-06 16:29:35 +01:00
Atgeirr Flø Rasmussen
ce4e24b302 Adapt to moved headers in opm-grid. 2018-02-08 12:11:15 +01:00
Arne Morten Kvarving
e1490588d8 changed: opm/[core -> common]/utility/parameters 2018-01-30 13:25:45 +01:00
Arne Morten Kvarving
b2d29b7209 adjust for changed ParameterGroup namespacing 2017-04-28 15:35:33 +02:00
Andreas Lauser
8af1929965 adapt to the removal of the unit system of opm-core
the one which is in opm-parser is now a drop-in replacement.
2016-10-10 17:31:02 +02:00
Joakim Hove
063de95365 Changed grid initialisation.
The routines invoking EclipseGrids parsing are implemented here in
opm-upscaling.
2016-05-08 07:17:56 +02:00
Bård Skaflestad
17fe369853 Upscaling Examples: Spring cleaning
Mostly:
  - Sort headers
  - Re-indent to fix white-space
  - Remove long-disabled code
2016-04-19 17:51:08 +02:00
Atgeirr Flø Rasmussen
c02108a3f7 Disable more warnings from third-party headers. 2016-04-04 12:55:37 +02:00
Atgeirr Flø Rasmussen
792908b428 Dodge Dune changes by using CpGrid for this test.
YaspGrid requires changes to the GridInterfaceEuler class, which is not
prioritized.
2016-03-31 17:19:35 +02:00
Arne Morten Kvarving
5097162755 quell warning related to constructor argument changes in dune 2.3 2014-06-18 14:51:58 +02:00
Arne Morten Kvarving
ac3db9850f quell warnings related to the mpi helper with dune 2.3 2014-06-18 14:51:58 +02:00
Arne Morten Kvarving
aaa06d10f3 fix compile with dune 2.3 2014-06-18 14:51:58 +02:00
Andreas Lauser
fc5a22a8c7 convert the module to the new parser 2014-05-06 15:56:52 +02:00
Andreas Lauser
391b31d415 Replace BOOST_STATIC_ASSERT by static_assert 2013-09-05 12:49:24 +02:00
Andreas Lauser
a3d696781c Replace the ASSERT and ASSERT2 macros by assert 2013-09-05 12:49:24 +02:00
Andreas Lauser
4b841fa9ec Add exception handlers to all tutorials and examples 2013-09-05 12:49:15 +02:00
Roland Kaufmann
9dd34f6ada Hack to support bugs in dune-grid 2.2.0
This particular version of dune-grid tested the define ENABLE_ALUGRID
instead of HAVE_ALUGRID, which was the intention. Our build system
doesn't set this define, so we do it here before including in case we
have that version.

It should otherwise be harmless, since HAVE_ALUGRID should only be
defined in DUNE if ENABLE_ALUGRID is true (1) anyway.
2013-08-21 17:56:30 +02:00
Andreas Lauser
86993f9fb0 make it compile on what will become DUNE 2.3
for this module some deprecation warnings are produced, but it
compiles. these warnings can be avoided once the DUNE_VERSION* macros
are available.
2013-08-08 18:01:45 +02:00
Andreas Lauser
3656e7b263 replace Dune and boost classes by their C++-2011 equivalents
that is, provided that they are available in GCC 4.4. This basically boils
down to Dune::array and boost::array.
2013-07-30 21:04:00 +02:00
Bård Skaflestad
bfe21d8bd3 Merge pull request #54 from andlaus/use-opm-material
Use the new opm material module

A practical fall-out from merging this change is that GCC 4.4 becomes 
the minimum supported target platform for OPM-Porsol and its downstream
modules such as OPM-Upscaling.
2013-07-30 05:05:35 -07:00
Bård Skaflestad
a787d89f34 Disable build kluge that is no longer pertinent
The <have_boost_redef.hpp> header was introduced (commit
OPM/opm-core@82369f9) as a work-around for a particular interaction
in the Autotools-based setup of OPM-Core and the Dune core modules.
Notably, Dune's "Enable" trick for Boost failed on some older
Autoconf systems.  Now that we're using CMake, however, that kluge
is no longer needed because OPM-Core always

  #define HAVE_BOOST 1

i.e., as an explict true/false value.

Therefore, we need no longer include <have_boost_redef.hpp> .  The
header will be removed at a later time.
2013-06-20 23:22:20 +02:00
Andreas Lauser
da868678f9 fix some config.h inclusion issues
- It seems like HAVE_CONFIG_H is not defined by the cmake build
  system, so config.h was not included in the files which used it.
- use quotes instead of pointy brackets to include config.h. That
  was inconsistent and I think that quotes better indicate the fact
  that the config.h is a project-local file.
2013-06-05 14:21:46 +02:00
Atgeirr Flø Rasmussen
0858aa7a95 Adapt to some changed include paths in opm-core. 2013-03-12 12:03:39 +01:00
Andreas Lauser
ce9f0ec990 change namespace from Dune to Opm 2013-02-04 11:42:10 +01:00
Bård Skaflestad
abe5ed6805 Redefine `HAVE_BOOST' to support using ISTL solvers.
Use the `have_boost_redef.hpp' facility from OPM-Core to effect the
symbol overriding.  Using Boost in OPM-Porsol is non-optional.
2012-07-12 15:34:53 +02:00
Bjørn Spjelkavik
fc7f779d25 Use common files from Opm instead of Dune. #3 2012-02-07 12:20:50 +01:00
Bjørn Spjelkavik
e79d1d5d20 Use common files from Opm instead of Dune 2012-02-06 09:58:57 +01:00
Atgeirr Flø Rasmussen
5341e667bc Moved programs to examples and added AbstractLinearSolver class. 2010-11-01 10:01:23 +01:00