Commit Graph

37 Commits

Author SHA1 Message Date
Atgeirr Flø Rasmussen
d8bc458631 Minor cleanup. 2012-09-04 13:08:30 +02:00
Halvor Møll Nilsen
ea09af47f4 Added programs to test test fluids. 2012-08-27 12:21:25 +02:00
Bård Skaflestad
6c35b9679b Don't clobber LDFLAGS user variable
Fix a misunderstanding that's been present since the inception.  The
LDFLAGS variable is entirely at the builder's disposal.  Flags needed
for system-internal settings must go in the AM_* equivalents.
2012-07-10 13:46:30 +02:00
Bård Skaflestad
31788277f9 Don't link in Fortran support libraries
This is an experiment, not strictly sanctioned by the AX_LAPACK macro
documentation, to avoid linker errors related to missing symbol MAIN__
in the (GFortran) run-time support libraries.  Strictly speaking, we
should be using the method outlined in the Autoconf manual, but we'll
try the easier way for now.

This commit is more or less equivalent to forward-porting commits
dd6e0fd3, c437eba2, and 9e885dc7 from the "ert" branch.
2012-07-10 13:38:33 +02:00
Bård Skaflestad
6b57a00b17 Avoid Clobbering Dune's Boost Support.
When OPM-Core is used as a Dune module (e.g., as enabled by commit
789bc5ca7), we stand the risk of creating multiple, conflicting
defintions of crucial <config.h> symbols (e.g. `HAVE_BOOST') and
build variables (e.g., `BOOST_CPPFLAGS' and `BOOST_LDFLAG').

Avoid this situation by prefixing these symbols with an `OPM_'
string such that Dune's `ENABLE_BOOST' solution works as intendend
in modules that are derived in the OPM context.
2012-07-09 17:42:56 +02:00
Bård Skaflestad
9005e4353c Build the library in a lib/ sub-directory of $(builddir)
Suggested by: Andreas Lauser
2012-07-03 16:44:03 +02:00
Bård Skaflestad
7d7f62ebc3 Merge branch 'preprocess-svn-reintegrate'
Conflicts:
	Makefile.am
	opm/core/grid/cpgpreprocess/facetopology.c
	opm/core/grid/cpgpreprocess/mxgrdecl.c
	opm/core/grid/cpgpreprocess/preprocess.c
	opm/core/grid/cpgpreprocess/sparsetable.c
	opm/core/grid/cpgpreprocess/sparsetable.h
	opm/core/grid/cpgpreprocess/uniquepoints.c

This merge brings a new, more resilient and feature-complete
corner-point processing.  In particular, the new code features
exact, in-plane vertex coordinates for face nodes that arise as a
result of fault processing and which are not located on pillars.
Secondly, the resulting grid's cells are ordered lexicographically
with the I index cycling the most rapidly, followed by J and
finally K.

Finally, this merge also brings automatic handling of left-handed
coordinate systems which, until now, have produced negative cell
volumes as a result of face vertices being ordered such that
interface normals point from cell 2 to cell 1 in this case.
Left-handed coordinate systems are recognised using a simplistic
triple-product characterisation akin to the implementation of
function "processGRDECL" of MRST.

This code is now an (almost) exact replica of revision 1001 of
https://public.ict.sintef.no/viewvc/openrs/trunk/dune-cornerpoint/grid/preprocess/

The merge also removes opm/core/grid/cpgpreprocess/readvector*, so
remove tests/test_readvector.cpp (and accompanying Make rule) to
maintain a buildable tree.
2012-06-26 19:52:21 +02:00
Bård Skaflestad
2a1561a246 Insert a few blank lines for grouping purposes. 2012-06-12 23:10:38 +02:00
Bård Skaflestad
37b49e31ed Use canonical library set for LAPACK. 2012-06-12 23:09:55 +02:00
Bård Skaflestad
91fb55af2c Libraries must follow the pertinent "-L" flags. 2012-06-12 23:08:59 +02:00
Bård Skaflestad
833268a33f Remove a per-target LDADD that's automatically satisfied. 2012-06-12 23:05:33 +02:00
Bård Skaflestad
ed24f7d43d Sort list of test executables (and _SOURCES). 2012-06-12 23:05:04 +02:00
Halvor M. Nilsen
bde8b53a7d Add support for reading vag/(unstructured format) 2012-06-08 15:34:00 +02:00
Bård Skaflestad
17ebf48f34 Add simple demonstration/regression test of AGMG solver. 2012-06-06 11:49:07 +02:00
Bård Skaflestad
4b47096368 tests/Makefile.am: Sort individual tests alphabetically. 2012-03-28 15:10:04 +02:00
Atgeirr Flø Rasmussen
b966369c73 Moved small cartesian grid test to tests/test_cartgrid.cpp. 2012-03-28 15:02:27 +02:00
Kjetil Olsen Lye
ef93d66d96 Added lapack linking for test_lapack 2012-03-01 16:20:11 +01:00
Bård Skaflestad
f6470f3319 Put _SOURCES ahead of per-target _LDADD.
Forgotten in change-set 5eaff819c9e4.
2012-03-01 15:31:46 +01:00
Bård Skaflestad
ea73002a0d Sort executables and per-target _SOURCES. 2012-03-01 15:24:37 +01:00
Atgeirr Flø Rasmussen
f02e1e9ff7 Added interface and test for lapack tridiagonal solver. 2012-03-01 14:36:10 +01:00
Kjetil Olsen Lye
83f8155271 added unit test for column extraction 2012-03-01 14:24:02 +01:00
Bård Skaflestad
acc2f42df3 Sort executables and per-target variables. 2012-02-27 14:50:20 +01:00
Bjørn Spjelkavik
8aaa5f6257 Added test program for reading polymer keywords 2012-02-27 13:26:36 +01:00
Atgeirr Flø Rasmussen
0395d7725e Moved writeVtkData() functions to utility/, added a test program. 2012-02-19 21:24:59 +01:00
Atgeirr Flø Rasmussen
11e5f76813 Removed legacy blackoil fluid code. Further information:
- These classes were imported (copied) from the dune-porsol repository,
   and copies remain there for the time being.
 - Some of the black oil fluid classes that are in opm-core, such as the
   SinglePvt* classes, are direct descendants of the Miscibility* classes
   that have been removed.
 - At some point, we may modify dune-porsol to use the new fluid interfaces
   from opm-core, but for now we keep using the existing code as-is.
2012-02-10 09:28:05 +01:00
Bård Skaflestad
1b7a2fa9ac Add appropriate Boost libraries needed in specific executables. 2012-01-26 21:34:16 +01:00
Atgeirr Flø Rasmussen
dd4c0c2b1b Adding class BlackoilPropertiesFromDeck and test program. 2012-01-04 14:44:55 +01:00
Atgeirr Flø Rasmussen
9729768794 Now the libtool library will reference its dependencies. 2011-12-23 12:49:06 +01:00
Atgeirr Flø Rasmussen
9b2bfe40d3 Blackoil fluid test programs now compile. 2011-12-22 12:59:42 +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
bd4236eda9 Now compiles parameter testcase, removed extraneous imported makefiles. 2011-12-19 16:02:51 +01:00
Atgeirr Flø Rasmussen
81a72be23b Now detects boost and compiles some tests. 2011-12-19 15:26:26 +01:00
Atgeirr Flø Rasmussen
14dad62014 Moved umfpack-dependent programs into conditional block. 2011-12-12 10:30:40 +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
0d17659040 Remove blank lines at EOF 2011-12-08 15:08:54 +01:00
Bård Skaflestad
465f23ac7a Add build system, move tests to tests/ 2011-12-08 14:48:40 +01:00