Commit Graph

71 Commits

Author SHA1 Message Date
Bård Skaflestad
b5da41a8f5 Provide indexing support and 'const'ify the norm(). 2011-10-01 11:12:11 +02:00
Bård Skaflestad
150d8b49b5 Add a trivial set of containment classes defining a Jacobian system. 2011-09-30 22:54:47 +02:00
Bård Skaflestad
166ec7bdab Add a simple test fluid conforming to SinglePoint* interface.
Accompanied by demonstration programme.  Not integrated into build
system.
2011-09-30 16:39:14 +02:00
Bård Skaflestad
d586edeecc Implement Newton-Raphson hooks. 2011-09-30 11:37:14 +02:00
Bård Skaflestad
ec5555be36 Conform to file head conventions. 2011-09-30 11:35:38 +02:00
Bård Skaflestad
a197c43cd7 Conform to convention regarding file head. 2011-09-30 10:14:01 +02:00
Bård Skaflestad
a4e5374c91 Add a trivial top-level implicit solver (NR iteration). 2011-09-29 20:47:06 +02:00
Bård Skaflestad
33f1fe344e Switch to design based on deriving from 'Model'. 2011-09-29 20:46:40 +02:00
Bård Skaflestad
a30a9c0941 Derive from 'Model' in stead of partially reading from it. 2011-09-29 20:46:14 +02:00
Bård Skaflestad
43c6e00109 Add trivial, partial implementation of an implicit solver. 2011-09-28 21:03:17 +02:00
Bård Skaflestad
3094159bd6 Expand 'ignore' list with a few more auto-generated files. 2011-09-28 14:28:40 +02:00
Bård Skaflestad
f8f6bba0cd Enable silent build rules if available in Automake.
Automake 1.11 introduced the concept of "silent build rules" wherein the
build commands are reported as

  CC     spu_explicit.lo

rather than something along the lines of

  /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../opmtransport/src -I..     -O3 -DNDEBUG -Wall -Wextra -std=c99 -pedantic -march=native -mtune=native -MT spu_explicit.lo -MD -MP -MF .deps/spu_explicit.Tpo -c -o spu_explicit.lo ../../../../../opmtransport/src/spu_explicit.c
  libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../../opmtransport/src -I.. -O3 -DNDEBUG -Wall -Wextra -std=c99 -pedantic -march=native -mtune=native -MT spu_explicit.lo -MD -MP -MF .deps/spu_explicit.Tpo -c ../../../../../opmtransport/src/spu_explicit.c  -fPIC -DPIC -o .libs/spu_explicit.o
  libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../../opmtransport/src -I.. -O3 -DNDEBUG -Wall -Wextra -std=c99 -pedantic -march=native -mtune=native -MT spu_explicit.lo -MD -MP -MF .deps/spu_explicit.Tpo -c ../../../../../opmtransport/src/spu_explicit.c -o spu_explicit.o >/dev/null 2>&1

The former is much easier to read and, consequently, more conducive to
visually noticing diagnostics from the toolset (compiler, linker &c).

On the other hand, only fairly recent editions of Automake have the
"silent rule" capability, so enable silent rules only if available.  In
particular, Automake 1.10.x (the default Automake version in MacOS X
10.6) does not support the capability.  Neither does the default
Automake in CentOS 5.6.

Further details on silent build rules can be found at

  http://sources.redhat.com/automake/automake.html#Options
  http://www.flameeyes.eu/autotools-mythbuster/automake/silent.html

Thanks to Arne Morten Kvarving in Dune Flyspray issue #922
(http://www.dune-project.org/flyspray/index.php?do=details&task_id=922)
for the tip on how to preserve "configure.ac" backwards compatibility
with Automake < 1.11 .
2011-05-27 15:05:02 +02:00
Bård Skaflestad
0dc0be4cad Use more traditional spelling of static function declaration. 2010-12-05 13:52:03 +01:00
Jostein R. Natvig
9e3bf5ebe2 Implement simple Newton iteration. 2010-11-19 13:32:36 +01:00
Bård Skaflestad
98a26c5322 Terminate struct member definition. 2010-11-19 10:39:21 +01:00
Jostein R. Natvig
ec27ae5707 Remove bindings to mex/matlab/mrst... 2010-11-19 10:13:27 +01:00
Jostein R. Natvig
1c86849ffc Add basic code needed for an implicit upwind mobility-weighted solver
for incompressible twophase flow.
2010-11-18 18:37:00 +01:00
Bård Skaflestad
15dee31a1e Ignore Autotools output. 2010-11-10 15:28:51 +01:00
Jostein R. Natvig
3513df0975 Add m4 directory with BLAS and LAPACK checks. 2010-11-10 10:39:48 +01:00
Jostein R. Natvig
ac71f1092f * Move source code to src directory.
* Add autotools build system for opmtransport library.
2010-11-10 10:29:41 +01:00
Jostein R. Natvig
f59e4c437a Add bare-bones explicit mobility-weighted upwind solver for two-phase
incompressible flow.
2010-11-02 09:10:36 +01:00