Commit Graph

45 Commits

Author SHA1 Message Date
Roland Kaufmann
e542fd6104 Graduate these tests to unit tests
Although they don't use Boost::UnitTest, they can at least pass, so we
can use them to detect simple compilation and runtime errors, although
we miss the semantic check.

(If you have time, please make them proper unit tests)
2013-08-01 10:40:55 +02:00
Bård Skaflestad
ba2df2d25b Disable build kluge that is no longer pertinent
The <have_boost_redef.hpp> header was introduced (commit 82369f9) as
a work-around for a particular interaction in the Autotools-based
setup of OPM-Core and the Dune core modules.  Notably, Dune's
"Enable" trick for Boost failed on some older Autoconf systems.  Now
that we're using CMake, however, that kluge is no longer needed
because we (OPM-Core) always

  #define HAVE_BOOST 1

i.e., as an explict true/false value.

Therefore, we need no longer include <have_boost_redef.hpp> .  The
header will be removed at a later time.
2013-06-20 23:14:39 +02:00
Atgeirr Flø Rasmussen
b6db8534d8 Whitespace cleanup. 2013-03-23 23:46:05 +01:00
Atgeirr Flø Rasmussen
4e9e2f0438 Added test for class UniformTableLinear.
Moved from opm-porsol.
2013-03-22 21:39:32 +01:00
Roland Kaufmann
a23267a62f Restructure tests directory to unit tests
Every program that relies on manual inspection has been moved to a new
(hopefully short-lived) directory called not-unit/; every remaining
file has been given the prefix test_ to indicate that this is the
executable test to be run.
2013-02-11 22:38:01 +01:00
Atgeirr Flø Rasmussen
731f984c87 Formatting fixes. 2012-09-03 15:07:03 +02:00
Halvor Møll Nilsen
2a21bf4a75 Introduced posibility to change number of sample points for pvt.
Did change the PVTW calculation so derivatives are exact.
Extended the test functions for pvt and relperm
2012-08-31 17:01:07 +02:00
Atgeirr Flø Rasmussen
292772b140 Reinject UniformTableLinear into utils subnamespace for backwards compatibility. 2012-04-19 14:11:00 +02:00
Atgeirr Flø Rasmussen
ca046f9827 Moved UniformTableLinear and related func out of subnamespace utils. 2012-04-19 11:45:52 +02:00
Xavier Raynaud
4ffda4a95e Added general linear lapack solver. Updated test for band matrices. 2012-03-23 15:44:32 +01:00
Xavier Raynaud
b7bd56ab6a Added solver for band matrix and a test example. 2012-03-15 16:17:16 +01:00
Bård Skaflestad
f9b6a024ee Untabify. 2012-03-01 15:22:26 +01:00
Atgeirr Flø Rasmussen
d2404762fe Added interface and test for lapack tridiagonal solver. 2012-03-01 14:36:10 +01:00
Jostein R. Natvig
e54e818639 Remove unnecessary include statement. 2012-01-25 10:44:37 +01:00
Bjørn Spjelkavik
43a542ed02 Changed namespace Dune -> namespace Opm. 2012-01-19 13:50:57 +01:00
Atgeirr Flø Rasmussen
65b3515933 Merged in some black-oil fluid tests. 2011-12-22 10:40:14 +01:00
Atgeirr Flø Rasmussen
f475a14f9d Now fluid cpp files compile successfully. 2011-12-21 13:29:15 +01:00
Atgeirr Flø Rasmussen
161a6769bf Merged in UniformTableLinear.hpp and friends. 2011-12-21 13:22:57 +01:00
Atgeirr Flø Rasmussen
8a0f862874 Merged in blackoil fluid subsystem. 2011-12-21 13:06:23 +01:00
Atgeirr Flø Rasmussen
1bab67b57c Imported items from dune-cornerpoint/dune/common. 2011-12-19 11:34:50 +01:00
Atgeirr Flø Rasmussen
9682593496 Moved code from opmcore/ to opm/core/ 2011-12-12 11:13:54 +01:00
Bård Skaflestad
1d087efc3c Import OPMTransport into OPM core libraries. 2011-12-08 13:35:54 +01:00
Bård Skaflestad
6a21bc7ecf Move opmpressure/src into core library directory structure. 2011-12-08 12:52:57 +01:00
Bård Skaflestad
3fc5221458 Merge OPMPressure into OPM core library. Unmodified. 2011-12-08 12:25:56 +01:00
Bård Skaflestad
63656013cc Delete trailing whitespace. 2011-10-18 20:41:13 +02:00
Halvor M. Nilsen
b42bd08154 Move 'common' directory into 'dune'. 2011-10-07 10:54:25 +02:00
Atgeirr Flø Rasmussen
afc31d3b08 Added output operator for easy dumping of tables. 2011-02-01 12:40:05 +01:00
Atgeirr Flø Rasmussen
5b7052eb11 A large number of additions to start testing compressible tpfa-solver. 2010-11-22 15:00:26 +01:00
Atgeirr Flø Rasmussen
fc06ce232d Added lots of stuff originally from the samcode repository. 2010-11-12 13:18:27 +01:00
Atgeirr Flø Rasmussen
7bae4aa4d3 Implemented FluidMatrixInteractionBlackoil init(), kr() and a test prog. 2010-11-10 13:31:32 +01:00
Atgeirr Flø Rasmussen
b8b9581ae4 Implemented FluidMatrixInteractionBlackoil init(), kr() and a test prog. 2010-11-10 13:31:32 +01:00
Atgeirr Flø Rasmussen
09e234c68c Created a new utility class, UniformTableLinear. 2010-11-08 14:12:10 +01:00
Jostein R. Natvig
7459c5988e Add bare-bones explicit mobility-weighted upwind solver for two-phase
incompressible flow.
2010-11-02 09:10:36 +01:00
Bård Skaflestad
146402119b Move source files to sub-dir 'src'. 2010-10-29 15:08:09 +02:00
Bård Skaflestad
dc58bb8ffc Declare DGETRF and DGETRS for compressible support. 2010-10-28 10:51:59 +02:00
Bård Skaflestad
933fb4229f Use canonical include guards.
Suggested by atgeirr.  Template:

   OPM_<FILENAME>_HEADER_INCLUDED
2010-10-13 18:35:15 +02:00
Atgeirr Flø Rasmussen
e0b68dded2 Made all C headers includeable from C++. 2010-10-12 07:44:02 +00:00
Atgeirr Flø Rasmussen
877ede21eb Added copyright block to all source code files. 2010-10-12 07:25:46 +00:00
Bård Skaflestad
0bf40b266d Add local definition of MAT_SIZE_T, contingent upon preprocessor
symbol 'MATLAB_MEX_FILE' that is automatically defined by MATLAB's
  MEX function.

  Add declarations for factorisation, lin-sys solution, and matrix
  inversion for (symmetric) positive definite full matrices in full
  and packed formats.  Will be used in the coarse-system assembly
  process.
2010-09-02 16:25:29 +00:00
Bård Skaflestad
2bced196f6 Move solvers/common solvers/euler and solvers/mimetic to dune-porsol 2010-08-23 09:23:09 +00:00
Bård Skaflestad
f4e9a3ed2f Initial implementation of hybrid system infrastructure. Actual
assembly and system solve not currently implemented.  This is untested.
2010-08-03 17:01:33 +00:00
Bård Skaflestad
4cb92b1e16 The LAPACK and BLAS operators do not modify their (char*)
parameters.  Declare these operators as taking (const char*)s.
2010-07-03 11:07:56 +00:00
Bård Skaflestad
a586f5040f Appease the -pedantic -ansi gods. 2010-06-29 15:32:03 +00:00
Bård Skaflestad
0e306b45ef For kicks and giggles, add an (untested) C+BLAS/LAPACK
implementation of the 'ip_simple' mimetic inner product.

  Suggested by: jrn.
2010-06-28 22:47:55 +00:00
Jostein R. Natvig
a3c93003ee Initial checkin of cornerpoint processing code.
Current status
--------------
Given vectors ZCORN, COORD and ACTNUM as well as the Cartesian
dimensions these vectors implicitly refer to, the code is
currently capable of

 * Identify unique points along each pillar
 * Assign point numbers for each point specified in ZCORN
 * Compute face topology, i.e., the corners that define the geometry
   of the faces as well as the cells that are connected through the face.
 * Identify and compute intesections that occur in the processing of
   face topology.

What remains is

 * Handle the face geometry of boundary faces. (simple)
 * Compute point coordinates of the final point list.
 * Put all pieces together in a tidy manner.
2009-06-11 07:33:50 +00:00