Commit Graph
13 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
Arne Morten Kvarving b2d29b7209 adjust for changed ParameterGroup namespacing 2017-04-28 15:35:33 +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
Arne Morten Kvarving d339b2a772 fixed: quell deprecation warnings when compiling with dune >= 2.3 2014-06-18 15:20:52 +02:00
Andreas Lauser 5a7be85662 explicitly include <iostream> in files that use std::cout or std::cerr 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
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
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
Atgeirr Flø Rasmussen 4204fe99fb Moved more programs to examples/. 2010-11-01 10:19:17 +01:00