Commit Graph
24 Commits
Author SHA1 Message Date
Jørgen Kvalsvik d3f08246b0 Get CornerpointChopper.hpp; remove shared_ptrs
opm-parser no longer exposes shared_ptr or shared_ptr aliases.
2016-10-20 15:35:20 +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
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
Bård Skaflestad 3a7573370a Chase ParseMode -> ParseContext Renaming in Examples 2016-03-17 10:34:59 +01:00
Joakim Hove bb18fe0208 Added ParseMode argument 2015-07-27 15:00:25 +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
Andreas Lauser 33e6552704 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:14:36 +02:00
Markus Blatt b9638d6f34 Changed std::tr1 occurences to boost.
std::tr1 might not be supported by all compilers and will eventually
be dropped by others. Using boost instead makes this more
portable.
2013-07-04 16:30:08 +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 6837de1595 warn user if there are unused parameters 2011-05-20 18:02:24 +02:00
Håvard Berland d5c4087c18 fix usage information for cp* binaries 2011-04-01 22:48:41 +02:00
Håvard Berland 9fedd8de88 allow for non-zero zmin in cpregularize
(allows for example grids with only negative numbers, with
zmax at zero instead)
2011-02-28 19:32:47 +01: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 ac474f52d8 cpregularize: change default for z_tolerance to more than zero
Tests show that this has a huge effect on helping
upscaling to converge for subsamples, while still being
small enough to be negligible in the grid dimensions.
2010-12-07 19:24:03 +01:00
Håvard Berland a8b1c6eddc fix bug: the code did not properly spread 20 cells onto 11 coarse cells 2010-12-07 15:19:36 +01:00
Håvard Berland 934188d6c5 first version of cpregularize that might work (also changed name) 2010-11-23 23:04:17 +01:00