Commit Graph

20 Commits

Author SHA1 Message Date
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
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
71bb454e50 Use new include paths. 2016-03-31 17:22:13 +02:00
Atgeirr Flø Rasmussen
886c463d9f Convert all upscaling programs to new pinch behaviour.
This means that PINCH must be used in the input deck,
whereas before, z_tolerance was available as a program
parameter (but only for some programs). A benefit is that
all programs will now uniformly accept PINCH in the input
decks.
2014-08-20 14:15:17 +02:00
Andreas Lauser
e138bd461d convert the module away from EclipseGridParser to opm-parser 2014-05-19 12:03:11 +02:00
Arne Morten Kvarving
24e2dff7c4 fixed: MPI handling across all apps
we need to call mpi_init when compiled against mpi (in particular mpich)
even if running with a single node.

this fixes this across all apps in a uniform way (the dune-intended approach)
2013-10-08 13:44:56 +02:00
Andreas Lauser
1908e1bf8f Add exception handlers to all unit tests, tutorials and examples 2013-09-03 14:59:13 +02:00
Bård Skaflestad
a486d15a6e 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:24:33 +02:00
Atgeirr Flø Rasmussen
976706487d Adapted some include paths to changes in opm-core. 2013-03-12 12:15:28 +01:00
Andreas Lauser
c4f0bb5680 change namespace from 'Dune' to 'Opm'
everything still compiles.
2013-02-05 16:05:02 +01:00
Bård Skaflestad
70a908c0fa Override Dune-ISTL's HAVE_BOOST symbol.
Use OPM-Core's `have_boost_redef.hpp' facility to effect the symbol
overriding.  Using Boost in OPM-Uscaling is non-optional.
2012-07-12 15:38:20 +02:00
Bjørn Spjelkavik
f49c249b35 Use common files from Opm instead of Dune. #3 2012-02-07 12:20:50 +01:00
Håvard Berland
393d6884df avoid warnings and fix one probable bug, zstart_2 was an int, should be double 2011-05-26 10:55:40 +02:00
Håvard Berland
6837de1595 warn user if there are unused parameters 2011-05-20 18:02:24 +02:00
Atgeirr Flø Rasmussen
929d06f524 Modified programs to account for parser changes. A summary:
- Code using the ...Upscaler classes must supply an SI-converted parser.
 - Code manipulating arrays of PERMX values (for example) must take care
   to use the non-converted values, as it is usually written with millidarcies.
2011-02-04 11:18:12 +01:00
Håvard Berland
240cff0403 fix bug: convert minperm from Darcy to SI 2010-11-20 09:18:20 +01:00
Håvard Berland
7c8635d292 support minperm in cpchop and exp_variogram
If not, permeability upscaling will not converge for grids with
cells with zero permeability
2010-11-20 08:59:56 +01:00
Håvard Berland
8558ba8107 reinstate two copyright lines
not to be considered as full shared copyright of the entire file
2010-11-09 14:01:10 +01:00
Håvard Berland
2e465a5f7b remove copyright-line, as copyright is distributed 2010-11-08 18:19:25 +01:00
Håvard Berland
c202ce4507 first version of code for experimental variogram 2010-11-07 21:08:34 +01:00