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
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
864cce5f5e
Adapt to moved opm-core headers.
2013-03-14 13:59:31 +01:00
Atgeirr Flø Rasmussen
e6de9b5352
Merge pull request #13 from atgeirr/make-io-subdir
...
Adapt to changed include paths for some opm-core headers.
2013-03-13 05:46:17 -07:00
Atgeirr Flø Rasmussen
23cef788fc
Adapt to changed include paths for some opm-core headers.
2013-03-12 11:08:33 +01:00
Atgeirr Flø Rasmussen
6c00d98a9e
Merge pull request #12 from rolk/012_cmakeupd
...
Update CMake scripts to commit f6d44238 from opm-core
2013-03-12 03:01:24 -07:00
Atgeirr Flø Rasmussen
97857b6b2b
Merge pull request #11 from rolk/011_cmakeupd
...
Update CMake scripts to commit e75d69ef from opm-core
2013-03-06 02:22:32 -08:00
Roland Kaufmann
7e3a81f1a6
Remove make execution wrapper
2013-03-06 11:01:17 +01:00
Roland Kaufmann
f5e19e9b87
Remove remnants of the Autotools build system
2013-02-22 23:34:21 +01:00
Roland Kaufmann
4e34a967cb
Ignore output from CMake build
2013-02-22 23:34:21 +01:00
Roland Kaufmann
7925901380
Import cmake/ from commit 5f82198c in opm-core
2013-02-22 23:31:13 +01:00
Atgeirr Flø Rasmussen
661357d403
Merge pull request #6 from atgeirr/master
...
Improved output facilities
2013-01-17 05:50:36 -08:00
Atgeirr Flø Rasmussen
b4d5e03c61
Add eclipse output to simulator.
...
Note: so far only for incompressible fluid simulator.
2012-11-26 11:01:23 +01:00
Atgeirr Flø Rasmussen
b6b59918e1
Suppress output of multi-cell-block sizes and #iterations.
2012-11-26 11:00:20 +01:00