Commit Graph
21 Commits
Author SHA1 Message Date
Joakim Hove cc00c1444f Downstream of filesystem reorganisation in opm-common 2021-12-14 13:26:53 +01:00
Arne Morten Kvarving 30e9ab8169 quell boost deprecation warning with boost >= 1.71 2020-09-03 09:30:36 +02:00
Atgeirr Flø Rasmussen 0f63df590e Merge pull request #312 from atgeirr/silence-warning
Silence copying warning.
2020-03-23 10:25:55 +01:00
Atgeirr Flø Rasmussen 9cd0b13279 Silence copying warning. 2020-02-21 10:55:42 +01:00
Arne Morten Kvarving 957c0c6073 changed: use test_ as a prefix instead of a postfix
this so our cmake macros understands it is a test and can handle
them accordingly
2020-02-19 12:37:42 +01:00
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 0c4e9b7279 remove unused variable
quells warning
2019-06-18 08:53:02 +02:00
Joakim Hove c1f14f04dc Remove ParseContext argument 2019-01-07 15:56:15 +01:00
Arne Morten Kvarving 313263f55b changed: let the build system handle the dynamic boost test defines 2018-02-14 16:05:48 +01: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
Arne Morten Kvarving 59ab331fef fixed: instance a MPI helper in gravity pressure test
the #undef HAVE_MPI trick does not work because we are linking
against MPI code already compiled in a library.
2016-04-25 12:20:58 +02:00
Bård Skaflestad fbf1e122cb Add Unit Test for calculateCellPressureGradients()
This is an intrusive test that selectively makes the private member
'dP' of class 'RelPermUpscaleHelper' publicly accessible by defining
the pre-processor symbol

    UNITTEST_TRESPASS_PRIVATE_PROPERTY_DP

We compute the per-cell 'dP' values both with and without effective
gravity (g=0, g=10, g=9.80665) and compare to the expected values in
a 1-by-1-by-10 uniform discretisation of the unit cube.

Most of the contents of the test file is setup code that defines the
input deck, various options structures that abide by the conventions
of class 'RelPermUpscaleHelper', and compute expected pressure
drops.
2016-04-22 16:22:44 +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
Atgeirr Flø Rasmussen 87bc7136b4 Removed duplicate class NonuniformTableLinear and tests.
The tests have been moved to opm-core.
2013-03-22 21:43:45 +01:00
Atgeirr Flø Rasmussen 6f0410aaf9 Fixed the testing programs so that they compile.
They should be moved to opm-core, though, and the classes
[Nonu|U]niformTableLinear classes removed from opm/porsol/common
(they are already in opm/core/utility.
2013-02-27 14:47:50 +01:00
Roland Kaufmann f8d387ab29 Remove remnants of the Autotools build system 2013-02-23 02:38:39 +01:00
Roland Kaufmann 9fecef6a4d Move test programs out of the source tree 2013-02-23 02:38:38 +01:00