Commit Graph

2493 Commits

Author SHA1 Message Date
Roland Kaufmann
e8444f91e0 Replace deprecated AC_TRY_COMPILE with AC_COMPILE_IFELSE 2012-10-24 12:01:38 +02:00
Roland Kaufmann
bb96a2e269 Refrain from using reserved names ac_* for variables 2012-10-24 11:39:51 +02:00
Roland Kaufmann
9063a47051 Disable checks for C++11 if C++0x is disabled
By adding an extra test we can avoid the somehow illogical possibility
of building with '--enable-gxx11check --disable-gxx0xcheck'.
2012-10-24 11:25:28 +02:00
Roland Kaufmann
6d2f7e1f7c Compile with C++0x support if possible
Since DUNE does this, it might a good idea to track the same ABI.
2012-10-24 10:32:23 +02:00
Roland Kaufmann
056bce2128 Distinguish between C++0x and C++11 in conf. opts.
Surely this must have been a copy&paste error.
2012-10-24 10:28:48 +02:00
Roland Kaufmann
2a43bd305a Add macros for testing C++0x/11 support in compiler
These files are shamelessly ripped from dune-common/m4 (e28ca3)
2012-10-24 10:23:51 +02:00
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
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
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
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
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
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
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
Atgeirr Flø Rasmussen
ab910f3778 Finished VelocityInterpolationECVI constructor.
Untested so far.
2012-10-16 20:19:17 +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
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
rustad
143da5a929 Added dependency for server edition and reference to ppa in build instructions. 2012-10-14 12:04:57 +02:00
Roland Kaufmann
3521a0bdc6 Use round parenthesis for Make variables 2012-10-14 10:19:35 +02:00
Roland Kaufmann
97e176f021 Add missing line continuation character
When this is missing, any macros later defined for the SuperLU library
will "fall off" the list.
2012-10-14 10:18:52 +02:00
Atgeirr Flø Rasmussen
81f8a9895d Merge pull request #67 from bska/master
Merge ERT Branch
2012-10-12 10:38:51 -07:00
Bård Skaflestad
3e95330e25 Merge branch 'ert' 2012-10-12 14:50:23 +02:00
Bård Skaflestad
b348a21833 Merge pull request #66 from atgeirr/implement_import
Implement IMPORT keyword in EclipseGridParser
2012-10-12 05:38:15 -07:00
Atgeirr Flø Rasmussen
863eae3368 Hook IMPORT keyword to function reading binary input.
Make sure it compiles and links both with and without ert.
2012-10-12 14:25:53 +02:00
Atgeirr Flø Rasmussen
0f549358a9 Squash warnings. 2012-10-12 14:23:55 +02:00