Commit Graph

3384 Commits

Author SHA1 Message Date
Roland Kaufmann
0e814274d4 Provide instructions for installing ERT on SuSE
We just reuse the RedHat-repo containing precompiled libraries.
2013-06-06 10:03:50 +02:00
Roland Kaufmann
056e98716e Recommend ERT also on Debian
Using ERT will give a more full-featured toolkit, and we already
recommend adding the PPA repository.
2013-06-06 09:17:29 +02:00
Roland Kaufmann
f853d8ad0a Get all SuSE packages from repo if necessary
For older OpenSuSE versions (12.1 comes to mind), the packages mentioned
here are only available in the repository and not the base distro, so we
should start out by adding it instead of doing it later in the process.
2013-06-06 09:06:10 +02:00
Bård Skaflestad
f5d67fafc8 Favour std::vector<> over variably-sized arrays.
Variably-sized arrays of the form

   int n = 6;
   double a[n];

are an extension to the language that will illicit a suitably
persnickety diagnostic from GCC when invoked with "-pedantic".
2013-06-05 17:14:33 +02:00
Bård Skaflestad
61caec19d4 Merge pull request #248 from rolk/248_m4
Replace remnants of original autotools config with m4 that imports the CMake config
2013-06-05 07:43:13 -07:00
Bård Skaflestad
f16b9f10e7 Mark deck as FIELD units.
The numbers in the deck are more indicative of FIELD unit conventions
than METRIC unit conventions, so allow the input parser to interpret
the data in that manner.
2013-06-05 12:24:23 +02:00
Bård Skaflestad
fdf8a0ddcb Indent lists using <tab> rather than <space>.
This is the convention used throughout the .cmake files of OPM-Core.
2013-06-05 12:18:21 +02:00
Tor Harald Sandve
a89b081ac0 A test that compares the blackoil fluid based on the [p,r] interface
with the blackoil fluid based on the [p,z] interface
2013-06-05 11:21:47 +02:00
Atgeirr Flø Rasmussen
4a3ba3f7d6 Merge pull request #252 from bska/dont-run-non-unit-tests
Dont run non unit tests
2013-06-03 08:19:28 -07:00
Bård Skaflestad
278a054019 Don't build/run "test_newfluidinterface.cpp" during "make test"
The executable is not written as a unit test (e.g., using Boost.Test)
and furthermore requires external data (in a very specific location).
This makes it inappropriate for use during "make test", but it could
(and should) be cleaned up and incorporated into the test portfolio at
a later time.
2013-06-03 17:07:53 +02:00
Bård Skaflestad
f4588ff7b4 Merge remote-tracking branch 'upstream/master' 2013-06-03 17:05:04 +02:00
Bård Skaflestad
32091a5fc7 Merge pull request #251 from atgeirr/rockcomp
Add transMult(), poroMultDeriv() and transMultDeriv() to RockCompressibility.
2013-06-03 07:58:14 -07:00
Atgeirr Flø Rasmussen
eac83e6fd2 Add transMult(), poroMultDeriv() and transMultDeriv(). 2013-06-03 14:33:18 +02:00
Bård Skaflestad
7a7787f05c Merge remote-tracking branch 'upstream/master' 2013-06-03 09:59:19 +02:00
Bård Skaflestad
481c3a4e00 Merge pull request #250 from atgeirr/combined
A collection of various updates
2013-06-03 00:58:50 -07:00
Bård Skaflestad
cadd324192 Merge remote-tracking branch 'upstream/master' 2013-06-03 09:33:58 +02:00
Atgeirr Flø Rasmussen
a8535b1653 Merge pull request #249 from rolk/249_suse
Depend on development version of packages
2013-06-02 23:48:09 -07:00
Roland Kaufmann
82e4a129cd Depend on development version of packages
Using this combination of packages, I am able to compile opm-core on a
minimal installation of OpenSuSE.
2013-06-03 00:19:53 +02:00
Atgeirr Flø Rasmussen
21771218b9 Ensures well rate initialization actually happens.
Do not use the well's comp_frac member, only rely on the control's distr
member for initialization. This forced a change to WellsManager's
initialization of the distr member.
2013-06-02 23:30:43 +02:00
Atgeirr Flø Rasmussen
9c890bc19a Bugfix in well rate init.
Do not always try to initialize, also initialize proper phase rates.
2013-06-02 22:19:43 +02:00
Atgeirr Flø Rasmussen
b3acdbb8de Refined well state initialization.
For SURFACE_RATE controlled wells, initialize wellRates() to match.
2013-06-02 21:58:30 +02:00
Atgeirr Flø Rasmussen
d42bccaa8e Unit conversion factor of RS is not 1 for FIELD units. 2013-05-30 14:37:48 +02:00
Atgeirr Flø Rasmussen
31dd4f707c Initialize rate-controlled well bhp with safety factor.
Safety factor is 1.01 (INJECTOR) or 0.99 (PRODUCER), similar to
mrst's ad-fi/utils/initWellSolLocal.m > initialize().
2013-05-30 11:03:08 +02:00
Atgeirr Flø Rasmussen
8f722702c6 Fix SatGwseg* to handle no-gas situation gracefully. 2013-05-29 00:30:50 +02:00
Atgeirr Flø Rasmussen
7bad081eb4 Merge remote-tracking branch 'totto82/newfluid2' into combined 2013-05-27 15:45:18 +02:00
Atgeirr Flø Rasmussen
af675fcc9d Created new initialization routine, using RS from deck. 2013-05-27 15:44:07 +02:00
Atgeirr Flø Rasmussen
3b69bef702 Added gasoilratio() to BlackoilState. 2013-05-27 12:53:06 +02:00
Tor Harald Sandve
01bb02f4cd Adds the new interface to SinglePvtLivGas 2013-05-27 11:14:39 +02:00
Roland Kaufmann
19780beef9 Compatibility module for dunecontrol-driven clients
If a client generated with duneproject/built with dunecontrol has a
dependency to opm-core, the macros defined in this file is expected
to exist and will be called to search for the opm-core library.

All that is done here is to use the pkg-config helper module and
import the configuration that was written by the CMake system (which
even may have been called earlier in the same dunecontrol "session")
2013-05-24 11:41:05 +02:00
Roland Kaufmann
e33ba0d45f Library to pick up configuration from pkg-config files
Pkg-config files are written as part of the CMake configuration, and
these can be imported into AutoTools-driven projects to get the correct
compiler and linker options that has been probed.
2013-05-24 11:39:52 +02:00
Roland Kaufmann
4d57ea718f Remove AutoTools files that searches for libraries
These are now superceded by CMake equivalents, and will over time
diverge from the main tree as they are no longer maintained.
2013-05-24 11:37:42 +02:00
Atgeirr Flø Rasmussen
ddfbda7419 Added assert to guard against wrong usage. 2013-05-24 09:21:41 +02:00
Atgeirr Flø Rasmussen
897ec0e909 Fix bug in upwinding code.
Accidental usage of std::vector's operator< discovered.
2013-05-24 09:20:46 +02:00
Bård Skaflestad
894bb5e072 Merge remote-tracking branch 'upstream/master' 2013-05-24 00:44:01 +02:00
Bård Skaflestad
628c162574 Merge from upstream 2013-05-23 09:50:46 +02:00
Atgeirr Flø Rasmussen
729d17785b Merge pull request #246 from rolk/246_bind
Use boost::bind instead of std::bind to compile with C++03
2013-05-23 00:19:34 -07:00
Roland Kaufmann
eefb7a0431 Use boost::bind instead of std::bind to compile with C++03 2013-05-22 21:25:29 +02:00
Roland Kaufmann
d6c2e52d63 Demote consequence of not having C++11 support
This module sets individual flags for each feature; there is not one
"CXX11Features_FOUND" flags which is set. Thus, when putting the
module as REQUIRED, the only consequence is that we cannot disable
searching for it.

Instead, we make it optional, meaning that the flags won't get set if
it isn't included and the dependent modules will adjust accordingly.
2013-05-22 20:50:59 +02:00
totto82
1c904aa451 Add new fluid interface
- in progress
2013-05-22 12:57:18 +02:00
Atgeirr Flø Rasmussen
7ee481a601 Merge pull request #242 from rolk/242_callback
Let external objects observe individual timesteps in a simulation
2013-05-22 03:46:02 -07:00
Atgeirr Flø Rasmussen
221bc7a468 Added wellRates() member. 2013-05-21 23:54:30 +02:00
Atgeirr Flø Rasmussen
cfb4cf459d Merge pull request #243 from rolk/243_single
Try singular name if plural not defined
2013-05-16 05:21:48 -07:00
Roland Kaufmann
56ff7975f0 Include possibility that uppercase is used 2013-05-16 13:26:33 +02:00
Tor Harald Sandve
268a810eb3 Merge branch 'master' of git://github.com/OPM/opm-core 2013-05-16 12:11:02 +02:00
Bård Skaflestad
9401a482d6 Merge pull request #244 from atgeirr/add-phaseusage-to-interface
Add phaseUsage() to BlackoilPropertiesInterface
2013-05-16 02:21:11 -07:00
Roland Kaufmann
26475f448b Try singular name if plural not defined
In CMake "canon" (i.e. tutorial on Kitware's website) it is stated that
the _DIR suffix should be used for the directory of the library alone,
whereas _DIRS are entire list of paths necessary to compile (i.e.
dependencies are included).

Eigen3 only uses the singular form (since it doesn't have any
dependencies); it should really be copied to the plural form, but it may
be advantageous to have the find-module included unchanged, so we put in
an extra effort to find it here.
2013-05-16 10:58:24 +02:00
Roland Kaufmann
5644611dfd Provide template functions in separate header
Template functions must be defined in the header since the library
cannot contain generic code. To keep only the interface in the main
header, all such function bodies are put in a separate _impl file.
2013-05-15 21:32:32 +02:00
Atgeirr Flø Rasmussen
18a3c7fc91 Merge remote-tracking branch 'upstream/master' into add-phaseusage-to-interface 2013-05-15 10:10:18 +02:00
Roland Kaufmann
05636c70c7 Subtract time spend in callbacks from total
Since this is not time spent on the simulation itself, it is "unfair"
that this is accounted on the simulator.
2013-05-14 11:38:09 +02:00
Roland Kaufmann
1ae1405c21 Notify callbacks when a timestep has completed
Client code can do additional processing for the output of each
timestep.
2013-05-14 11:36:13 +02:00