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
Andreas Lauser
a2065b4101
make config.h the first header to be included in any compile unit
...
this is required for consistency amongst the compile units which are
linked into the same library and seems to be forgotten quite
frequently.
2013-04-10 12:56:14 +02: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
f3ec8e1634
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
bfa9997dd2
Renamed newwells.h -> wells.h.
...
Also moved implementation file to subdir.
2013-03-18 10:33:34 +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
5fc63031ed
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
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
Atgeirr Flø Rasmussen
b8ed52d89e
Removed unused rock compressibilty objects from interface.
2013-03-15 11:45:53 +01:00
Atgeirr Flø Rasmussen
8a6e8fd8fa
Remove unused well objects from TransportSolverTwophaseImplicit.
2013-03-15 11:38:37 +01:00
Atgeirr Flø Rasmussen
6579abb853
Fixed implicit transport solver interface.
...
There were significant lifetime issues, now handled by moving
objects inside the class. Work in progress.
2013-03-15 11:15:17 +01:00
Atgeirr Flø Rasmussen
fb09c4b7a1
Modify solve() interface, fix source term bug in implicit solver.
2013-03-15 08:21:55 +01:00
Atgeirr Flø Rasmussen
3b1346173e
Minor adjustments.
2013-03-15 08:05:23 +01:00
Atgeirr Flø Rasmussen
1868285f23
Modified TransportSolverTwophaseInterface::solve(), general cleanup.
...
Move output arguments last in argument list.
2013-03-14 22:51:44 +01:00