Commit Graph

1085 Commits

Author SHA1 Message Date
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
Bård Skaflestad
608dfd0a6e Synchronize OPMTransport contributions to cset 8560840f78bc . 2011-12-08 21:49:24 +01:00
Bård Skaflestad
7272463400 Synchronize OPMPressure contributions to cset d8dd1c45b598 . 2011-12-08 21:47:36 +01:00
Bård Skaflestad
62dcd1ddd2 Merge from upstream. 2011-12-08 21:42:22 +01:00
Bård Skaflestad
1a74e95ba5 Merge from upstream. 2011-12-08 21:41:19 +01:00
Bård Skaflestad
a1c3f22dc4 Don't use initializers that aren't computable at load time.
Remaining C90 incompatibility in this module: Missing floating-point
classification macros isnan() and isinf() (requires C99 or POSIX.1).
2011-12-08 17:14:48 +01:00
Bård Skaflestad
95c5712df6 Conform to C90 standard: Don't mix declaration and code. 2011-12-08 17:11:13 +01:00
Bård Skaflestad
062760a958 Don't needlessly discard qualifiers in pointer conversions. 2011-12-08 17:06:46 +01:00
Bård Skaflestad
0ec6174507 Conform to C90 standard: Don't mix declarations and code. 2011-12-08 17:04:08 +01:00
Bård Skaflestad
949326b549 Conform (mostly) to C90 standard: Don't mix declarations and code.
Remaining non-conformance are the isinf() and isnan() functions which
are not available in C90 mode.
2011-12-08 17:01:49 +01:00
Bård Skaflestad
70104f5aa8 Staticise 'compute_porevolume()' to avoid warning about missing prior declaration. 2011-12-08 16:41:27 +01:00
Bård Skaflestad
7bda6e5d53 Conform to C90 standard (don't mix declaration and code). 2011-12-08 16:40:43 +01:00
Bård Skaflestad
ad7c16cb61 Set initial 'facepos' member lest the contents be undefined.
Detected by: valgrind.
2011-12-08 16:31:47 +01:00
Bård Skaflestad
7fe3ac8e81 Conform to C90 standard (don't mix declaration and code). 2011-12-08 16:30:43 +01:00
Bård Skaflestad
600a22e5b0 Staticise internal function to avoid warnings about missing prior prototype. 2011-12-08 16:25:00 +01:00
Bård Skaflestad
74b8fe759a Reference headers using canonical (installed) paths. 2011-12-08 16:18:33 +01:00
Bård Skaflestad
953507907e Update include paths and link to OPM core library. 2011-12-08 16:17:13 +01:00
Bård Skaflestad
2c11056604 Don't build 'test_cfs_tpfa' unless UMFPACK is available. 2011-12-08 16:15:39 +01:00
Bård Skaflestad
7c00d2e144 Add preliminary detection of UMFPACK library (and headers). 2011-12-08 16:15:14 +01:00
Bård Skaflestad
0d17659040 Remove blank lines at EOF 2011-12-08 15:08:54 +01:00