Commit Graph

2651 Commits

Author SHA1 Message Date
Bård Skaflestad
29ccdb7513 Merge pull request #81 from rolk/pair0x
Make opm-core compilable in C++0x mode on Ubuntu Precise
2012-10-24 00:59:02 -07:00
Roland Kaufmann
359fdb1428 Make GCC 4.6.3 happy in C++0x mode
It complains about not finding a match for the pair<> template class,
because the first parameter (this) is allegedly const. However, this
isn't a const method, so I suspect it is a compiler bug.

In order to move on, I slap on a harmless cast which will make this
particular compiler happy, and which should have no effects elsewhere,
but put it in a #if..#else..#endif macro to avoid warnings on others;
hopefully this also makes it easier to spot and remove in the future.
2012-10-24 09:57:12 +02:00
Bård Skaflestad
ff8665017c Merge branch 'master' into gravity-in-wells 2012-10-23 16:39:18 +02:00
Bård Skaflestad
58def2a9e3 Merge pull request #80 from rolk/add_boost
Add Boost unit test framework to test case linking
2012-10-23 06:40:08 -07:00
Roland Kaufmann
14818d49b4 Add Boost unit test framework to test case linking 2012-10-23 15:36:48 +02:00
Atgeirr Flø Rasmussen
6c6c5fe893 Merge pull request #78 from bska/ert-fix-warnings
Ert fix warnings
2012-10-23 06:13:28 -07:00
Bård Skaflestad
b1f61d93c4 Merge branch 'master' into gravity-in-wells 2012-10-23 14:47:39 +02:00
Bård Skaflestad
f8a11ef7e1 Staticise a file-local function.
It is not needed outside this function.  We should, arguably, be using
an anonymous namespace in this case.
2012-10-23 14:36:13 +02:00
Bård Skaflestad
b334dbcdd8 Remove a shadowed variable.
This variable (ecl_kw) was only needed in an inner scope and re-declared
there.
2012-10-23 14:33:30 +02:00
Bård Skaflestad
0efcf9e806 Merge pull request #77 from joakim-hove/IMPORT
Small utility examples/import_rewrite to update ECLIPSE deck to use IMPORT keywords
2012-10-23 05:21:56 -07:00
Joakim Hove
0c0ee4b4a8 Added some comments + error checking 2012-10-23 13:02:48 +02:00
Joakim Hove
cab0872048 Added HAVE_ERT compile guard in examples/Makefile.am 2012-10-23 09:43:02 +02:00
Joakim Hove
9db7ce3647 examples/import_rewrite now recursively follows INCLUDE files 2012-10-23 09:42:28 +02:00
Joakim Hove
ac48c44712 Fixed name in examples/Makefile.am 2012-10-22 17:31:32 +02:00
Joakim Hove
00dc06f074 Added example/import_rewrite 2012-10-22 17:17:16 +02:00
Joakim Hove
564ba1c3aa Changed functions readKeyword and classifyKeyword to become static methods in class EclipseGridParser. 2012-10-21 21:51:13 +02:00
Bård Skaflestad
285b356755 Merge branch 'master' into gravity-in-wells 2012-10-19 16:06:26 +02:00
Bård Skaflestad
7cf40d51e4 Merge pull request #76 from rolk/cmake-compat
Provide CMake config mode files for custom builds
2012-10-19 06:52:23 -07:00
Roland Kaufmann
14b6812cb2 Provide CMake config mode files for custom builds
Client programs/libraries that uses CMake as their build system should
be able to point at the directory of a OPM-core build tree and have its
library picked up from there.
2012-10-19 14:14:15 +02:00
Bård Skaflestad
37d54be703 Merge branch 'master' into gravity-in-wells 2012-10-18 10:58:28 +02:00
Bård Skaflestad
17643c0fad Merge pull request #75 from atgeirr/velocity_interpolation
Reinstate disabled test. Assert more.
2012-10-18 01:56:59 -07:00
Atgeirr Flø Rasmussen
3a61778066 Reinstate disabled test. Assert more. 2012-10-18 10:51:12 +02:00
Bård Skaflestad
011fe02f59 Merge branch 'master' into gravity-in-wells 2012-10-17 22:10:14 +02:00
Bård Skaflestad
476888cec8 Merge pull request #74 from atgeirr/velocity_interpolation
Add unit tests for velocity interpolation classes
2012-10-17 13:02:02 -07:00
Atgeirr Flø Rasmussen
4741d52577 Merge branch 'master' into velocity_interpolation 2012-10-17 21:36:04 +02:00
Atgeirr Flø Rasmussen
aec8029e85 Added unit test for velocity interpolation. 2012-10-17 21:33:09 +02:00
Atgeirr Flø Rasmussen
dcee95ec96 Fix support for velocity interpolation in 2d. 2012-10-17 21:30:53 +02:00
Bård Skaflestad
a593efb1ea Merge branch 'master' into gravity-in-wells 2012-10-17 13:30:37 +02:00
Bård Skaflestad
73a836de8f Merge pull request #73 from atgeirr/velocity_interpolation
Fix output in case of LAPACK error.
2012-10-17 03:53:27 -07:00
Atgeirr Flø Rasmussen
f9efd72ecc Fix output in case of LAPACK error.
Make copy of matrix before calling dgesv, since it will overwrite it.
2012-10-17 12:40:43 +02:00
Bård Skaflestad
a98be4e592 Merge pull request #72 from atgeirr/velocity_interpolation
Velocity interpolation for DG methods
2012-10-17 03:36:41 -07:00
Atgeirr Flø Rasmussen
30797cae1d Implement setupFlux() method.
Also fix bug related to face orientation in cartToBaryWachspress().
2012-10-17 11:16:42 +02:00
Bård Skaflestad
beae475787 Don't compare floating point numbers for equality. 2012-10-16 21:48:38 +02:00
Atgeirr Flø Rasmussen
ab910f3778 Finished VelocityInterpolationECVI constructor.
Untested so far.
2012-10-16 20:19:17 +02:00
Bård Skaflestad
b400397389 Update documentation accompanying CompletionData structure.
Specifically, the 'wdp' member is a scalar value at each well
connection.  Phase behaviour is incorporated through other means.
2012-10-16 14:05:33 +02:00
Bård Skaflestad
1b63e27899 Rename CompletionData::gpot -> wdp .
This is in preparation of implementing actual gravity support in
(compressible) well-pressure solution.
2012-10-16 13:55:07 +02:00
Atgeirr Flø Rasmussen
7cf412340b Use new velocity interpolation interface.
The class TransportModelTracerTofDiscGal now uses
VelocityInterpolationInterface, and acts as a factory
internally, choosing an interpolation method depending on
the parameter 'use_cvi'.
2012-10-16 11:11:33 +02:00
Atgeirr Flø Rasmussen
121bb79f91 New abstract class VelocityInterpolationInterface.
Also, two initial subclasses: VelocityInterpolationConstant
and VelocityInterpolationECVI. The latter is still a work in
progress.
2012-10-16 11:07:05 +02:00
Bård Skaflestad
7b793f98c6 Document public interface of compr_source module.
This is Doxygen-style reference documentation only.
2012-10-15 19:49:23 +02:00
Bård Skaflestad
efb381a9a1 Reformat to add Doxygen markup where appropriate 2012-10-15 19:15:31 +02:00
Bård Skaflestad
c414ddad5d Document public interface of compr_quant_general module
This is Doxygen-style reference documentation only.
2012-10-15 16:08:17 +02:00
Bård Skaflestad
e2a7d65c94 Merge branch 'master' into gravity-in-wells 2012-10-15 15:22:13 +02:00
Bård Skaflestad
601d5f3999 Document public interface of cfs_tpfa_residual module
This is Doxygen-style reference documentation only.
2012-10-15 15:21:27 +02:00
Atgeirr Flø Rasmussen
b7a4f95716 Merge pull request #71 from bska/parser-suppress-warning
Suppress warning about unused variable in !HAVE_ERT case.
2012-10-15 03:54:00 -07:00
Bård Skaflestad
fde3565f63 Merge pull request #70 from rolk/expl-blas
Make it harder to select wrong BLAS/LAPACK libraries
2012-10-14 14:25:16 -07:00
Roland Kaufmann
1689074d4f Abort build process if BLAS or LAPACK not found 2012-10-14 21:58:28 +02:00
Roland Kaufmann
c8a52177bf Honor explicit specification of BLAS/LAPACK libraries
Only probe for libraries on system if no library is specified. If there
is an error with the library that is specified as an argument, then
raise an error instead of continuing to look for other libraries with a
simple warning buried deep in the configuration log.
2012-10-14 21:58:27 +02:00
Bård Skaflestad
db77953c39 Suppress warning about unused variable in !HAVE_ERT case. 2012-10-14 17:55:51 +02:00
Atgeirr Flø Rasmussen
279fbb8267 Merge pull request #68 from rolk/am-fix
Very minor nitpicks in the build system
2012-10-14 03:40:55 -07:00
Atgeirr Flø Rasmussen
efcec7aae5 Merge pull request #69 from alfbr/master
Minor clean-up of README
2012-10-14 03:40:39 -07:00