Commit Graph

805 Commits

Author SHA1 Message Date
Bård Skaflestad
65ee11ea69 Check for ranlib utility and strtod function.
Suggested by: autoscan.
2012-01-03 20:38:31 +01:00
Bård Skaflestad
b48a4d6f27 There is (currently) no need to invoke 'AM_PROG_CC_C_O'.
Specifically, we don't (currently) use per-target compilation or
linking flags, and therefore do not need a portability aid in our
current build process.
2012-01-03 20:31:51 +01:00
Bård Skaflestad
d23f325e9b Prefer to initialise Libtool using the 'LT_INIT' macro.
Fall back to 'AC_PROG_LIBTOOL' if 'LT_INIT' is not available.
2012-01-03 20:24:19 +01:00
Bård Skaflestad
93556dc60d Provide diagnostic message when failing to locate UMFPACK library.
Not all processors support the 'AM_COND_IF' macro (introduced in
Automake 1.11), so only call the macro if it is available in the
processor.
2012-01-03 20:20:16 +01:00
Bård Skaflestad
eb991cefab Restore UMFPACK header check to its original position.
We should check for existence of all headers before inspecting their
contents, e.g., to establish types or particular functions.
2012-01-03 10:02:06 +01:00
Bård Skaflestad
47659519d8 Distribute TinyXML's tinystr.h and tinyxml.h headers. 2011-12-21 13:56:30 +01:00
Bård Skaflestad
a98386f5aa Don't shadow name() method with a 'name' variable in read(). 2011-12-20 17:37:21 +01:00
Bård Skaflestad
1f1b58c56c Don't shadow field iterator 'i' with an index into that particular field. 2011-12-20 17:36:08 +01:00
Bård Skaflestad
617b160534 Compute perforation fluxes (no gravity adjustments).
Requires additional parameter 'pmobc' (phase mobilities per cell) in
public function cfs_tpfa_res_flux().
2011-12-20 02:13:50 +01:00
Bård Skaflestad
a10273ea18 Eliminate duplicate 'readvector.hpp' listing amongst _HEADERS . 2011-12-20 01:20:19 +01:00
Bård Skaflestad
6eb6054290 Make $(LIBS) and $(FLIBS) the final libraries on link line. 2011-12-19 18:31:57 +01:00
Halvor M. Nilsen
81d804ca31 Fixed makefiles. 2011-12-19 17:18:57 +01:00
Atgeirr Flø Rasmussen
bf24a90d2b Added headers to install target. 2011-12-19 16:08:43 +01:00
Atgeirr Flø Rasmussen
bd4236eda9 Now compiles parameter testcase, removed extraneous imported makefiles. 2011-12-19 16:02:51 +01:00
Atgeirr Flø Rasmussen
8f7bbddced Merged. 2011-12-19 15:31:24 +01:00
Atgeirr Flø Rasmussen
81a72be23b Now detects boost and compiles some tests. 2011-12-19 15:26:26 +01:00
Bård Skaflestad
940ec1a996 Merge from upstream. 2011-12-19 14:59:28 +01:00
Bård Skaflestad
959c694e2d Impose outflow sign convention when assembling w->c contributions. 2011-12-19 14:09:27 +01:00
Bård Skaflestad
7eed98118b Only perform incompressible adjustment if there are no BHP wells. 2011-12-19 14:07:57 +01:00
Bård Skaflestad
18d33a3859 Don't immediately clear the freshly allocated geometry storage... 2011-12-19 13:27:54 +01:00
Atgeirr Flø Rasmussen
81b58a0acf Now library contents build. Headers and tests not done yet. 2011-12-19 12:36:56 +01:00
Atgeirr Flø Rasmussen
7e90e732d9 Imported items from dune-cornerpoint/dune/common. 2011-12-19 11:34:50 +01:00
Atgeirr Flø Rasmussen
38fe05cb27 Moved GridAdapter to opm/core. Fixes include paths. 2011-12-16 10:17:40 +01:00
Bård Skaflestad
5610898bc9 Allocate storage for geometry in preprocess().
This allows recomputing the geometric primitives if (e.g.) we change
some of the node coordinates after constructing the grid.
2011-12-14 10:48:23 +01:00
Bård Skaflestad
c84e9dc53c Initialise 'Nx' and 'nxf' before use in fill_cart_topology_2d(). 2011-12-14 10:23:34 +01:00
Bård Skaflestad
1ccd7971e3 Remove unused variables. 2011-12-14 10:20:31 +01:00
Bård Skaflestad
f770effb3f Don't re-declare destroy_cart_grid(). It's already in cart_grid.h . 2011-12-14 10:18:24 +01:00
Jostein R. Natvig
04f9d46c10 Add tensor grid constructors. 2011-12-14 09:30:25 +01:00
Jostein R. Natvig
d25ce5c002 Restructure code to prepare for reuse in future tensor_grid_* constructors. 2011-12-14 09:17:07 +01:00
Jostein R. Natvig
35a1070a5b Merge from upstream. 2011-12-14 07:02:47 +01:00
Jostein R. Natvig
369a438f13 Add function create_cart_grid_2d. Preliminary implementation. 2011-12-14 06:58:02 +01:00
Bård Skaflestad
9b50c604e4 Merge from upstream. 2011-12-13 17:07:47 +01:00
Atgeirr Flø Rasmussen
8b2fee4774 Minor bugfix: avoid accessing empty (but non-zero capacity) vector. 2011-12-13 11:18:38 +01:00
Atgeirr Flø Rasmussen
5e509537c4 Minor fix, dimens are ints, not doubles. 2011-12-13 10:36:44 +01:00
Atgeirr Flø Rasmussen
ff91c6dbc5 Ignore executables conditionally created with UMFPACK available. 2011-12-13 10:33:01 +01:00
Atgeirr Flø Rasmussen
3ddf930b42 Now works with suitesparse on CentOS 5.7. 2011-12-13 10:26:31 +01:00
Bård Skaflestad
c4f986316c Add field for specifying which surface volume fraction is injected. 2011-12-12 18:43:11 +01:00
Atgeirr Flø Rasmussen
beb1bca80b Added 'compile' wrapper generated by AM_PROG_CC_C_O to ignore list. 2011-12-12 15:01:05 +01:00
Atgeirr Flø Rasmussen
2366dc4445 Now configuration succeeds for CentOS 5.7. 2011-12-12 14:57:09 +01:00
Atgeirr Flø Rasmussen
5b8238c489 Ignores executables and other generated files. 2011-12-12 11:38:15 +01:00
Atgeirr Flø Rasmussen
8f8a925f5a Updated for changed paths. 2011-12-12 11:29:14 +01:00
Atgeirr Flø Rasmussen
23a61cb167 Changed code to use new include path: <opm/core/...> 2011-12-12 11:28:09 +01:00
Atgeirr Flø Rasmussen
4655108f98 Moved code from opmcore/ to opm/core/ 2011-12-12 11:13:54 +01:00
Atgeirr Flø Rasmussen
14dad62014 Moved umfpack-dependent programs into conditional block. 2011-12-12 10:30:40 +01:00
Atgeirr Flø Rasmussen
0e84c3de31 Replaces std::array with std::tr1::array for improved compatibility (not requiring c++11). 2011-12-12 10:29:40 +01:00
Bård Skaflestad
108fcfc11b Build UMFPACK support only if UMFPACK is available. 2011-12-09 16:32:53 +01:00
Atgeirr Flø Rasmussen
255264afe0 Applied patch submitted by Robert Kloefkorn. 2011-12-09 16:23:33 +01:00
Atgeirr Flø Rasmussen
3e1360b570 Made configuration work with autoconf 2.62 and automake 1.11.1. 2011-12-09 16:11:30 +01:00
Atgeirr Flø Rasmussen
8ba7ae9ab9 Using tr1::shared_ptr instead of boost. 2011-12-09 12:50:32 +01:00
Atgeirr Flø Rasmussen
60deae5095 Include syntax "..." -> <dune/...>, changed boost::shared_ptr to std::tr1. 2011-12-09 09:58:07 +01:00