Commit Graph

26 Commits

Author SHA1 Message Date
Andreas Lauser
e138bd461d convert the module away from EclipseGridParser to opm-parser 2014-05-19 12:03:11 +02:00
arnem
c541ffd296 fix build breakage after 24e2dff7 2013-09-13 19:25:23 +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
0854692caa Replace the ASSERT and ASSERT2 macros by assert 2013-09-03 13:55:37 +02:00
Lars Vingli Odsæter
f21b43879b Set default number of smoothing steps for linear solver to 1
The default solver fastAMG use only one smoothing step anyway
2013-07-15 11:51:33 +02:00
Lars Vingli Odsæter
4222e9407d Update documentation of options for linsolver_type 2013-07-04 14:18:49 +02:00
Lars Vingli Odsæter
d1e27c0ffa Merge branch 'master' of https://github.com/OPM/opm-upscaling 2013-07-04 14:12:51 +02:00
Lars Vingli Odsæter
44b88faee3 Set fast AMG solver to default for upscaling applications
Change default value of linsolver_type to 3 (fast AMG) and
linsolver_prolongate_factor to 1.0.
2013-07-04 14:08:05 +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
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
Roland Kaufmann
c4d99e3ea1 Specify namespace of math functions to avoid name clashes
In the 4.6.x range of GNU compilers, the cmath header include math.h, adding
isinf() and isnan() to the global namespace as well as std. When used in if
statements, there is then an ambiguity between the std version which returns
bool and the global function which returns int; for more details see:
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48891>

If we qualify the functions explicitly with their namespace, this error goes
away.
2012-06-27 15:04:41 +02:00
Bjørn Spjelkavik
f49c249b35 Use common files from Opm instead of Dune. #3 2012-02-07 12:20:50 +01:00
Kari B. Skjerve
2f31cfa8d0 changed linsolver_tolerance to 1e-12, added check on swir/swor 2012-01-24 13:07:04 +01:00
Kari B. Skjerve
42229bd78b Fixed problem with saturation endpoints being up to machie precsion
outside accepted limits
2012-01-23 15:16:24 +01:00
Kari B. Skjerve
91510ba38a Fixed bug in output print 2011-10-27 10:43:40 +02:00
Håvard Berland
51d764b93e cleanup in version strings that has not been updated since svn-times 2011-06-24 14:13:40 +02:00
Håvard Berland
b295463797 cleanup: avoid compiler warnings in upscale_cond 2011-05-12 21:25:26 +02:00
Håvard Berland
a15662db2a Port minPoro-functionality from upscale_relperm to upscale_cond 2011-04-28 12:54:40 +02:00
Håvard Berland
003f85c515 include a default value for waterresistivity 2011-02-23 18:51:41 +01:00
Håvard Berland
bb7d0904b0 fix bug when only one Jfunction-file were provided for all rocktypes
also remove subversion keyword substitution id's
2011-02-23 18:44:58 +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
Atgeirr Flø Rasmussen
e8c4755527 Fixed uint->size_t issues, added ignore for executables. 2010-11-05 13:03:29 +01:00
Håvard Berland
680d5fb32c fix compile errors and some warnings 2010-11-04 21:59:27 +01:00
Håvard Berland
4b538aeeb4 Add Statoils facade code for singlephase upscaling
Extends singlephase upscaling code to relative permeability
in capillary limit, and to conductivity upscaling based on Archie's law
2010-11-04 13:19:47 +01:00