Commit Graph

4541 Commits

Author SHA1 Message Date
Andreas Lauser
044244c4b0 EclipseWriter: rename some variables and functions to make the naming scheme consistent 2014-07-16 10:41:25 +02:00
Andreas Lauser
750af9bf73 EclipseWriter: avoid "using namespace Foo" in compile-unit scope 2014-07-16 10:41:25 +02:00
Andreas Lauser
26dbfb78c2 EclipseWriter: Remove the non-ERT codepaths
ERT has been a requirement for opm-parser for a while now and
opm-parser is a prerequisite of opm-core, so ERT is always
available. Thus remove the stub code to avoid bitrot...
2014-07-16 10:41:25 +02:00
Andreas Lauser
47a6aac24f Build system: mark ERT as REQUIRED
de facto, this does not change anything because opm-parser is required
and it has a hard dependency on ERT. It is good style to declare all
prerequisites explicitly in each module, though. Thanks to [at]bska
for the catch.
2014-07-16 10:41:24 +02:00
Andreas Lauser
e142094443 remove the "Eclipse" prefix from all classes in namespace "EclipseWriterDetails"
this have become become superfluous by the namespace...
2014-07-14 13:58:53 +02:00
Andreas Lauser
d71c2a0fa6 EclipseWriter: introduce namespace EclipseWriterDetails
it is for -- well -- the implementation details of EclipseWriter...
2014-07-14 13:58:53 +02:00
Andreas Lauser
15ff31f307 EclipseWriter: stop making UnstructuredGrid think it is special
instead, the same interface as for Dune::CpGrid is now
used. (i.e. pass all relevant information as separate arguments.)
2014-07-14 13:58:50 +02:00
Andreas Lauser
6ac1196859 EclipseWriter: use opm-parser's EclipseGrid class
this unifies the grid creation code paths with the one used by the
simulators and simplfies things.
2014-07-14 13:58:35 +02:00
Alf Birger Rustad
3511812a52 Merge pull request #617 from bska/disable-equil-test
Disable "test_equil" test
2014-07-09 10:12:52 +02:00
Bård Skaflestad
427e53b69b Disable "test_equil" test
This test breaks the Continuous Integration system (Jenkins).  While
we investigate the underlying causes it is better to restore the
build to pristine order.
2014-07-08 22:30:49 +02:00
Bård Skaflestad
98523baca5 Merge pull request #616 from andlaus/test_for_extended_std__regex
use extended regular expressions in the test for std::regex
2014-07-08 13:40:11 +02:00
Andreas Lauser
dabe50d77d use extended regular expressions in the test for std::regex
for some compilers (e.g., GCC < 4.9) the default is buggy and
opm-parser thus uses extended expressions...

thanks to [at]bska for digging this up!
2014-07-08 13:24:34 +02:00
Bård Skaflestad
8e4b9e1f6a Merge pull request #615 from andlaus/use_std__regex_if_available
FindCXX11Features: check for a usable std::regex
2014-07-07 23:02:22 +02:00
Andreas Lauser
c764c89da9 FindCXX11Features: check for a usable std::regex
and add a config.h variable in the opm-parser test.
2014-07-07 17:41:19 +02:00
Atgeirr Flø Rasmussen
6947423b97 Merge pull request #613 from andlaus/PvtLiveOil_fix_argument_ordering
PvtLiveOil: fix ordering of arguments
2014-07-07 14:23:54 +02:00
Atgeirr Flø Rasmussen
0ff5fff701 Merge pull request #611 from andlaus/update_ewoms_prereqs
Find-ewoms.cmake: update prerequisites
2014-07-07 14:12:23 +02:00
Atgeirr Flø Rasmussen
ace1e3306a Merge pull request #607 from osae/swatinit
Scaling of capillary pressure / initialisation from kw SWATINIT.
2014-07-07 14:10:02 +02:00
Andreas Lauser
db3a616a2f PvtLiveOil: fix ordering of arguments
the strange thing is that this worked as-is. The only explaination
which I have for this is that these code paths are unused...
2014-07-07 11:58:54 +02:00
Atgeirr Flø Rasmussen
ec205ace37 Merge pull request #612 from bska/resv-support
Implement deep copy operation for struct WellControls
2014-07-04 16:09:13 +02:00
Bård Skaflestad
24524e0137 Reimplement clone_wells() in terms of well_controls_clone() 2014-07-03 16:09:56 +02:00
Bård Skaflestad
841192c605 wells.h: Document several function
This commit adds Doxygen-style documentation to functions

  - clear_well_controls()
  - set_current_control()
  - wells_equal()

No functional changes.
2014-07-03 16:09:56 +02:00
Bård Skaflestad
83b1cc7438 well_controls: Add deep-copy (clone) support
New function well_controls_clone(), implemented in terms of the
public API only, mirrors the objective of function clone_wells(),
only for well control sets.  Add a basic test to demonstrate the
function too.
2014-07-03 16:09:56 +02:00
Bård Skaflestad
001834ccab clone_wells(): Assert result equal to input
This adds a debug-mode safety belt that cloning wells produces a
comparable set of wells to the input.
2014-07-03 16:09:56 +02:00
Bård Skaflestad
7f5ee5abf3 well_controls_equal(): Don't compare set capacities
The 'cpty' field is for internal memory management purposes only.
No client can know of its existence, let alone inspect or directly
change the value, so it should not be used to adjudicate control set
equality.  This was useful during the refactoring work to introduce
the opm-parser support, but its utility has since ceased.

Okay'ed by: [at] atgeirr and [at] joakim-hove
2014-07-03 16:09:56 +02:00
Atgeirr Flø Rasmussen
81c47c07db Merge pull request #605 from atgeirr/fix_mdu
Fixes for tof and tracer solvers
2014-07-03 16:03:40 +02:00
Andreas Lauser
15b53895e5 Find-ewoms.cmake: update prerequisites 2014-07-02 16:49:07 +02:00
Andreas Lauser
d2cd2509eb Merge pull request #608 from andlaus/Findopm-parser_require_boost__regex
add the boost::regex library as a prerequisite
2014-06-30 14:43:14 +02:00
Andreas Lauser
5e369ac31e add the boost::regex library as a prerequisite
this is required for regex-matching keywords. Once GCC 4.9 is the
minimum compiler version to be supported, this can be dropped in favor
of std::regex ...
2014-06-29 14:40:30 +02:00
osae
80463a2e40 Included inititalisation of surface volumes. 2014-06-26 15:06:47 +02:00
osae
89137e8cd0 Make use of EclipseState for EQLNUM and SWATINIT. 2014-06-26 14:46:57 +02:00
osae
e3b06569e9 Adjustments for vanishing oil phase. 2014-06-25 18:03:17 +02:00
osae
d3ee5dc20a SWATINIT: Initialisation and capillary pressure scaling. 2014-06-25 18:03:17 +02:00
osae
6e00befef6 Scaling of capillary pressure. 2014-06-25 18:03:17 +02:00
Atgeirr Flø Rasmussen
e8db63dfb0 Fix initialization of tracer heads, and output ordering. 2014-06-25 09:56:37 +02:00
Atgeirr Flø Rasmussen
59d0ae185f Refactor tracer computations.
Current version executes reordered solve once for each tracer. The benefit
is a simpler code and the ability to use MDU with tracers. The cost is
potentially higher runtime, compared to doing a single sweep for all
tracers (and tof).
2014-06-24 09:43:26 +02:00
Atgeirr Flø Rasmussen
11bea99bef Remove unused data member. 2014-06-23 14:18:01 +02:00
Atgeirr Flø Rasmussen
4d2043a3ba Clean up dead code for MDU, update comment. 2014-06-23 14:05:51 +02:00
Atgeirr Flø Rasmussen
cf36cbe6d1 Add tracers_ensure_unity parameter.
When this boolean parameter is true (the default), tracer solutions
will be normalized so that the tracer averages will sum to one in each cell.
This behaviour is the same as before, the change is that it can now be
turned off.
2014-06-23 14:03:49 +02:00
Atgeirr Flø Rasmussen
8dceb4b08c Activate MDU option, making SMU method its default. 2014-06-23 11:29:14 +02:00
Atgeirr Flø Rasmussen
b3454a03b8 Fix bugs in MDU. 2014-06-23 11:23:16 +02:00
Atgeirr Flø Rasmussen
d498143488 Add computation of face tofs parts.
This must be done after the cell tof has been computed since they
depend on it.
2014-06-23 11:22:14 +02:00
Bård Skaflestad
e06fb0e5d4 Merge pull request #604 from akva2/build_tutorials
Build tutorials
2014-06-23 10:51:51 +02:00
Arne Morten Kvarving
d2b47b2ec2 added: build system for tutorials 2014-06-23 10:48:32 +02:00
Arne Morten Kvarving
e137eb3d16 fixed: tutorials should include config.h conditionally 2014-06-23 09:53:52 +02:00
Bård Skaflestad
076f9b1ae9 Merge pull request #601 from andlaus/fix_Findopm-parser.cmake_next_try
Findopm-parser.cmake: Fix it up, next try
2014-06-21 00:26:49 +02:00
Andreas Lauser
1ef41b2733 Findopm-parser.cmake: Fix it up, next try
thanks to Arne Morten Kvarving, Bård Skaflestad and Roland Kaufmann
for the discussion.
2014-06-20 12:34:37 +02:00
Atgeirr Flø Rasmussen
57cb41217f First compiling version of fixed MDU method. 2014-06-19 15:11:32 +02:00
Bård Skaflestad
f5823d2ea2 Merge pull request #603 from akva2/fix_cp_prereqs
fixed: dune-cornerpoint (now) needs the dune-common version information
2014-06-18 15:47:24 +02:00
Arne Morten Kvarving
1d506e49eb fixed: dune-cornerpoint (now) needs the dune-common version information 2014-06-18 15:36:31 +02:00
Bård Skaflestad
eb7c0eb75a Merge pull request #602 from akva2/add_files_hook
added: hook for conditionally compiled files
2014-06-16 14:53:20 +02:00