Commit Graph

12 Commits

Author SHA1 Message Date
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