Kai Bao
8236a32aee
sliencing a few shadowing warnings.
2016-05-06 17:59:00 +02:00
Robert Kloefkorn
bc71458d44
AutoDiffMatrix: added braces in operator += and -=.
2016-02-17 14:24:55 +01:00
Robert Kloefkorn
4df4c9147a
fastSparseProduct.hpp --> fastSparseOperations.hpp
2016-02-16 10:25:57 +01:00
Robert Kloefkorn
d5b6566e06
AutoDiffMatrix: use fastSparse{Add,Substract} when sparsisty patterns match.
2016-02-16 10:25:56 +01:00
Andreas Lauser
72b0cb2c3e
use the error macros from opm-common
2015-10-08 12:08:28 +02:00
Joakim Hove
76f674b16b
Updated path to warning suppression header.
2015-10-06 12:11:49 +02:00
babrodtk
654e4a81bf
Fixed errors from rebasing
2015-10-02 10:33:55 +02:00
babrodtk
7f9175e046
Created named constructor for identity matrices
2015-10-02 10:22:05 +02:00
babrodtk
4073abeafb
Added documentation for AutoDiffMatrix
2015-10-02 10:21:28 +02:00
babrodtk
a58dcce654
Minor changes to how the interleaved system is built
2015-09-17 16:00:44 +02:00
Atgeirr Flø Rasmussen
1f6d957cd4
Change the way the interleaved matrix is built.
...
Note that this implementation may not be robust since the getSparse()
method throws if the AutoDiffMatrix is not of general sparse type (S),
2015-09-17 15:59:56 +02:00
Atgeirr Flø Rasmussen
85993f4eb0
Silence some more warnings.
2015-09-14 17:23:20 +02:00
babrodtk
83c3d51ae0
Removed need for delegating constructors
2015-09-07 15:33:46 +02:00
babrodtk
4c82e9abc7
Fixed bug in diagonal*vector product
2015-09-07 13:01:31 +02:00
babrodtk
395c12a2d5
Refactoring to more readable names
2015-09-07 13:00:41 +02:00
babrodtk
0a2b898b33
Minor reformulations
2015-09-07 13:00:41 +02:00
babrodtk
2f83f9268e
Found the culprit
2015-09-07 13:00:41 +02:00
babrodtk
3a3e9d9e4a
Reverted more changes
2015-09-07 13:00:41 +02:00
babrodtk
8d82d9f89e
Reverted some changes
2015-09-07 13:00:41 +02:00
babrodtk
d57adc6ed4
Removed use of static memory
2015-09-07 13:00:41 +02:00
babrodtk
36f0e7531f
Minor changes
2015-09-07 13:00:41 +02:00
babrodtk
a30d6586a3
Made fastSparseProduct std::move-friendly
2015-09-07 13:00:41 +02:00
babrodtk
0b1f993588
Implemented statically allocated memory for SparseMatrix
2015-09-07 13:00:41 +02:00
babrodtk
df1d0f795d
Added the use of boost::any
2015-09-07 13:00:41 +02:00
babrodtk
c713a8bebc
Renamed functions
2015-09-07 13:00:41 +02:00
babrodtk
acd58f5272
Fixed commented out functions and some warnings
2015-09-07 13:00:41 +02:00
babrodtk
6a6a1d5280
Fixed warnings
2015-09-07 13:00:41 +02:00
Atgeirr Flø Rasmussen
73170c4281
Add forgotten constructor delegation.
2015-09-07 13:00:41 +02:00
babrodtk
51b85276ec
Fixed TransportSolverThophaseAd.cpp
2015-09-07 13:00:41 +02:00
babrodtk
6deb3e2c4a
Fixed IpmesTPFAAD.cpp
2015-09-07 13:00:41 +02:00
babrodtk
3a9a153c22
Fixed test_block
2015-09-07 13:00:41 +02:00
Atgeirr Flø Rasmussen
61c352ca3b
Add move constructor and assignment to AutoDiffMatrix.
...
This is necessary, and done using swap(), since (current version)
Eigen::SparseMatrix does not support move semantics.
2015-09-07 13:00:41 +02:00
Atgeirr Flø Rasmussen
3c905845f9
Use std::vector instead of DiagonalMatrix.
...
This is because DiagonalMatrix lacks a swap() method.
2015-09-07 13:00:02 +02:00
Atgeirr Flø Rasmussen
11a33b3017
Experiment with fast diagonal-sparse products.
2015-09-07 13:00:02 +02:00
Atgeirr Flø Rasmussen
1f32594f79
Fix bug in prodDD(), add test.
2015-09-07 13:00:02 +02:00
Atgeirr Flø Rasmussen
c712d0070d
Bugfixes for AutoDiffMatrix.
2015-09-07 12:58:51 +02:00
Atgeirr Flø Rasmussen
ffeaa5143d
Add more ops and methods to AutoDiffMatrix.
...
To make it possible to use it instead of Eigen::SparseMatrix in
a range of cases.
2015-09-07 12:58:51 +02:00
Atgeirr Flø Rasmussen
47e7dbe943
New implementation of AutoDiffMatrix, some tests.
...
Compiles and tests successfully, but test coverage very
limited. New approach based on relatively primitive
run-time switching instead of trying to use inheritance.
2015-09-07 12:58:51 +02:00
Atgeirr Flø Rasmussen
6a5a48e728
Work in progress on AutoDiffMatrix (not compiling).
2015-09-07 12:58:51 +02:00