Bård Skaflestad
3c00b0528a
Sort list of ignored executables for easy reference
2013-05-02 00:35:40 +02:00
Atgeirr Flø Rasmussen
8e7ae33724
Fixed wrong assert() in operator*(sparse matrix, AD block).
...
Also removed unnecessary debug output (that was wrong anyway).
2013-05-01 21:25:50 +02:00
Atgeirr Flø Rasmussen
f85e74bcff
Added operator* that allows A*x for sparse A and x an AD object.
2013-05-01 09:05:53 +02:00
Atgeirr Flø Rasmussen
92f56f6d92
Removed variable index from ForwardBlock class.
...
Feature was in the way of having (for example) face variables depending on cell variables.
2013-05-01 09:03:56 +02:00
Bård Skaflestad
633de102c2
Fix misprint in operator*() chain rule.
2013-04-30 22:51:29 +02:00
Atgeirr Flø Rasmussen
30c8acfaf4
Updated ignore patterns.
2013-04-30 20:29:57 +02:00
Atgeirr Flø Rasmussen
d046b9e97a
Completed simple block AD class.
2013-04-30 20:28:32 +02:00
Atgeirr Flø Rasmussen
d518b5c787
Initial work in progress on block AD class.
2013-04-30 16:15:40 +02:00
Atgeirr Flø Rasmussen
069e878b0e
Completed basic version of AD vector class and test.
2013-04-30 16:15:00 +02:00
Bård Skaflestad
6ed2b129cb
Implement constant() and variable() in terms of function()
...
Specifically,
- A constant is a function with zero derivative
- A variable is a function with unit derivative with respect to
itself.
2013-04-30 13:41:13 +02:00
Bård Skaflestad
70996fb195
Remove two instances of EOL whitespace.
2013-04-30 13:35:34 +02:00
Bård Skaflestad
86eb29b4c3
variable(): Avoid memory overhead of identity constructor.
2013-04-30 12:48:02 +02:00
Bård Skaflestad
c276592ca5
Don't #include <iostream>. It's not needed.
2013-04-30 12:37:08 +02:00
Bård Skaflestad
06d2c078fa
Use documented include statements for Eigen
2013-04-30 12:36:43 +02:00
Bård Skaflestad
134b9b1a7f
Readjust whitespace to original conventions.
2013-04-30 11:52:03 +02:00
Atgeirr Flø Rasmussen
e2d8b77ec5
Initial vector AD type experimentation.
2013-04-30 11:48:04 +02:00
Atgeirr Flø Rasmussen
0bf693e8c0
Merge remote-tracking branch 'bska/master'
2013-04-30 11:07:13 +02:00
Atgeirr Flø Rasmussen
42cdfa27a0
Use named constructor pattern.
...
Made AutoDiff::Forward constructor private.
Added static methods constant(), variable(x) and function(x, dx).
2013-04-30 11:05:59 +02:00
Bård Skaflestad
6319c428a3
Don't return values from update operators.
...
Statements like
a = b += c
make no sense
2013-04-30 10:47:00 +02:00
Bård Skaflestad
0ff3b721ee
Rename members to better reflect purpose.
...
Specifically,
- x_ -> val_
- dx_ -> der_
2013-04-30 09:25:37 +02:00
Bård Skaflestad
e17447d6cd
Add further test cases
...
- Polynomials (including mixed mode arithmetic)
- Cosines (including mixed mode arithmethic)
- Square roots (including mixed mode arithmetic)
2013-04-30 00:08:02 +02:00
Bård Skaflestad
011ab5ee93
Operator *=(): Use correct derivative chain rule
...
Updating the derivative using '*=' is just plain wrong.
2013-04-29 23:53:31 +02:00
Bård Skaflestad
72d6d32095
Don't use updated values for computing derivatives
...
We must not overwrite the current evaluation point until all the
derivative values have been calculated. Otherwise, the derivatives
will differ from that of the actual values.
2013-04-29 23:28:49 +02:00
Bård Skaflestad
72e2b1f5ca
Ignore executables.
2013-04-29 15:01:03 +02:00
Bård Skaflestad
a4cdbdc049
Add test cases for multiplication and division
...
Helped uncover syntax error (misprint) fixed in commit 8105166
.
2013-04-29 14:52:38 +02:00
Bård Skaflestad
8105166c26
Fix misprint in Forward/Scalar case.
2013-04-29 14:51:28 +02:00
Bård Skaflestad
790f6a06b2
Add simple test cases
...
- Initialisation
- Addition (including mixed mode)
- Subtraction (including mixed mode)
2013-04-29 14:12:57 +02:00
Bård Skaflestad
b05f65ae70
Add simple library for automatic differentiation
...
No build system or automatic test cases at this point.
2013-04-29 13:39:57 +02:00
Bård Skaflestad
33f2623257
Ignore Emacs autosave files.
2013-04-29 13:39:26 +02:00
Bård Skaflestad
a3ae90635e
Initial commit
2013-04-29 01:31:45 -07:00
Atgeirr Flø Rasmussen
ccd5c8487d
Merge pull request #24 from rolk/024_cmake
...
CMake rollup
2013-04-09 06:37:34 -07:00
Atgeirr Flø Rasmussen
0bd761dd86
Merge pull request #23 from rolk/023_cmake
...
CMake rollup
2013-04-03 03:19:21 -07:00
Atgeirr Flø Rasmussen
92086864b2
Merge pull request #22 from akva2/debian_app_packaging
...
added: debian packaging for applications
2013-03-25 00:21:51 -07:00
Atgeirr Flø Rasmussen
ec5eec23b1
Merge pull request #19 from akva2/redhat_packaging
...
added: redhat packaging spec file
2013-03-22 03:51:26 -07:00
Atgeirr Flø Rasmussen
e07543afc5
Merge pull request #21 from atgeirr/install-programs
...
Add simulator programs to be installed.
2013-03-22 03:15:22 -07:00
Atgeirr Flø Rasmussen
acdb476311
Merge pull request #18 from akva2/debian_packaging
...
added: debian packaging control files
2013-03-20 03:31:46 -07:00
Bård Skaflestad
8200b5dff7
Merge pull request #17 from atgeirr/combined
...
Adapt to changes in OPM/opm-core#203
2013-03-18 12:14:46 -07:00
Atgeirr Flø Rasmussen
7d5d314fc0
Update to match opm-core changes.
2013-03-18 13:10:32 +01:00
Atgeirr Flø Rasmussen
4fc8f52fb2
Moved ColumnExtract and initState.
...
ColumnExtract -> opm/core/grid/ and initState -> opm/core/simulator/.
2013-03-18 12:47:23 +01:00
Atgeirr Flø Rasmussen
44fa7ec920
Further reorganising of opm-core.
...
Deleted some unused code (or moved to opm-porsol), moved all code dealing with
time-of-flight to opm/core/tof, moved code for implicit transport solver to
opm/core/transport/implicit, spu_[im|ex]plicit.[ch] to opm/core/transport/minimal.
2013-03-18 12:38:04 +01:00
Atgeirr Flø Rasmussen
e319fd1e38
Renamed newwells.h -> wells.h.
...
Also moved implementation file to subdir.
2013-03-18 10:33:34 +01:00
Atgeirr Flø Rasmussen
c7789d7e52
Move GridManager to grid subdir.
...
Also remove GridAdapter (moved to dune-cornerpoint), and
moved grid.c implementation file to grid subdir.
2013-03-18 10:16:46 +01:00
Atgeirr Flø Rasmussen
3d5bd7ef96
Merge remote-tracking branch 'upstream/release/2013.03' into combined
2013-03-18 08:37:54 +01:00
Atgeirr Flø Rasmussen
1f64098baf
Merge pull request #14 from rolk/014_cmakeupd
...
Update CMake scripts to commit 9c1da9f5 from opm-core
2013-03-17 13:17:27 -07:00
Atgeirr Flø Rasmussen
c16cb6987b
Renames classes in line with opm-core changes.
2013-03-15 18:33:41 +01:00
Atgeirr Flø Rasmussen
04abba4d5e
Adapt to changed opm-core header name.
2013-03-15 17:55:24 +01:00
Atgeirr Flø Rasmussen
e42cfc1303
Reinstate correct porevolume usage.
...
The porevolume at the start of the timestep should be provided to
the solver.
2013-03-15 15:10:16 +01:00
Atgeirr Flø Rasmussen
63c7380d04
Bugfix: check for null ptr before use.
2013-03-15 15:02:42 +01:00
Atgeirr Flø Rasmussen
3a063e22d9
Bugfix: order of arguments in function call.
2013-03-15 15:00:18 +01:00
Atgeirr Flø Rasmussen
25bacfd231
Make SimulatorIncompTwophase flexible w.r.t. transport solver.
...
It can now use the reordering or the full Newton-Raphson solvers.
2013-03-15 14:16:59 +01:00