Atgeirr Flø Rasmussen
cda742ab0e
Redo commit 6f55c862
after rebasing.
2014-12-05 13:10:33 +01:00
Atgeirr Flø Rasmussen
5b6765f9d8
Use fastSparseProduct() in place of Eigen's product.
2014-12-05 13:09:46 +01:00
Atgeirr Flø Rasmussen
c43b9f4a22
Use fastSparseProduct(), do not use hijacked Eigen header.
2014-12-05 13:09:46 +01:00
Atgeirr Flø Rasmussen
e8b3524ffa
Add Robert Kloefkorn's fast sparse product implementation.
2014-12-05 13:08:30 +01:00
Robert K
6f55c862ce
move Index query into if.
2014-12-04 17:55:29 +01:00
Robert K
cbfb4f0489
remove typename.
2014-12-04 14:01:06 +01:00
Robert K
855c278197
cleanup
2014-12-04 12:46:46 +01:00
Robert K
5583585063
Merge branch 'PR/performance-avoid-zero-matrix-entries' of ssh://github.com/dr-robertk/opm-autodiff into PR/performance-avoid-zero-matrix-entries
...
Conflicts:
opm/autodiff/ConservativeSparseSparseProduct.h
2014-12-03 15:50:41 +01:00
Robert K
0495aaae8f
if one of the matrices involved does not contain nonZeros, we can leave the product
...
routine.
Conflicts:
opm/autodiff/ConservativeSparseSparseProduct.h
2014-12-03 15:49:26 +01:00
Robert K
21a9a7c446
avoid multiplication with empty matrices.
2014-12-03 15:48:43 +01:00
Andreas Lauser
1b22d3ab6b
RateConverter: add missing call to averageTemperature()
...
thanks to [at] bska for noticing this!
2014-12-02 15:56:17 +01:00
Robert K
54feee5987
avoid the multiplication with zero matrix entries.
2014-12-02 14:57:00 +01:00
Robert K
054d4f4dcb
include vector to make compile on proprietary systems.
2014-12-02 14:15:17 +01:00
Robert K
efe8ee79f9
added collapseJacs method.
2014-12-02 12:39:21 +01:00
Robert K
2ac6a211b2
use correct types of SparseMatrices.
2014-12-02 12:39:21 +01:00
Robert K
a266e98bac
added some comment about sort.
2014-12-02 12:39:21 +01:00
Robert K
c51a794cac
overloaded ConservativeSparseSparseProduct to speed up matrix-matrix multiplication.
2014-12-02 12:39:17 +01:00
Robert K
3f821f1d5f
overloaded ConservativeSparseSparseProduct to speed up matrix-matrix multiplication.
2014-12-02 10:40:48 +01:00
Robert K
42d8a466ba
added ConservativeSparseSparseProduct.h
2014-12-02 10:40:45 +01:00
Atgeirr Flø Rasmussen
dacfbcc583
Merge pull request #246 from atgeirr/fix-test
...
Fix wrong resize() usage for Eigen::Array.
2014-12-02 09:26:25 +01:00
Atgeirr Flø Rasmussen
7b2334b758
Fix wrong resize() usage for Eigen::Array.
2014-12-02 09:24:03 +01:00
Atgeirr Flø Rasmussen
710297ecd6
Merge pull request #240 from andlaus/temperature_dependent_PVT
...
PVT properties: allow them to be temperature dependent
2014-12-02 08:49:00 +01:00
Andreas Lauser
4e3a69cc90
PVT properties: allow them to be temperature dependent
...
Note that this patch does not introduce any real temperature
dependence but only changes the APIs for the viscosity and for the
density related methods. Note that I also don't like the fact that
this requires so many changes to so many files, but with the current
design of the property classes I cannot see a way to avoid this...
2014-12-01 20:06:02 +01:00
Atgeirr Flø Rasmussen
0e3d319eac
Merge pull request #244 from bska/fix-build-gcc48
...
Include <config.h> to fix build on GCC 4.8
2014-11-27 21:13:26 +01:00
Bård Skaflestad
c69b2fd8ed
Include <config.h> to fix build on GCC 4.8
...
GCC 4.8 provides 'nullptr' in C++11 mode. That capability is
detected at configuration time and stored in <config.h> and we need
it when targeting Dune 2.2.1 to avoid diagnostics of the form
[...]/dune/common/nullptr.hh:27:1:
error: expected ‘;’ after class definition
} nullptr = {}; // and whose name is nullptr
^
[...]/dune/common/nullptr.hh:27:1:
error: qualifiers can only be specified for objects and functions
[...]/dune/common/nullptr.hh:27:3:
error: expected unqualified-id before ‘nullptr’
} nullptr = {}; // and whose name is nullptr
2014-11-27 15:12:56 +01:00
Atgeirr Flø Rasmussen
34f756cccb
Merge pull request #243 from joakim-hove/init-check
...
Init check
2014-11-27 11:18:08 +01:00
Joakim Hove
29a0c723ef
Python class TransGraph to load json from opm_init_check
2014-11-26 14:56:45 +01:00
Joakim Hove
ad92edab89
Added opm_init_check to compare OPM and Eclipse.
2014-11-26 14:56:45 +01:00
Joakim Hove
e0d39027d0
Added ignore to emacs per directory configuration file.
2014-11-26 14:56:45 +01:00
Andreas Lauser
9e93fa2298
register the transmissibilities at the EcliseWriter
...
missing: the simulator using dune-cornerpoint. Once again, this is
because there is no good way to convert an intersection to a unique
global index (yet).
2014-11-21 13:20:53 +01:00
Atgeirr Flø Rasmussen
8cd993b9d2
Merge pull request #238 from dr-robertk/PR/sparselu-when-no-umfpack
...
[bugfix] use SparseLU when UMFPack was not found.
2014-11-19 11:27:14 +01:00
Robert K
9cffb51543
[bugfix] use SparseLU when UMFPack was not found.
2014-11-19 11:22:57 +01:00
Atgeirr Flø Rasmussen
636cb3c52c
Merge pull request #236 from akva2/fix_opmparser
...
fix opm-parser find rule
2014-11-19 08:55:24 +01:00
Arne Morten Kvarving
68cbe6d0e9
fix opm-parser find rule
...
deals with the fallout of opm-parser #365 and #366
2014-11-18 13:33:33 +01:00
Bård Skaflestad
9e72ea50ad
Merge pull request #234 from akva2/debian_packaging
...
update debian packaging
2014-11-17 18:01:58 +01:00
Arne Morten Kvarving
4e84ffbf23
update debian packaging
2014-11-17 17:57:29 +01:00
Bård Skaflestad
7ac155531a
Merge pull request #233 from atgeirr/improve-cpr-performance
...
Improve performance of CPR preconditioner.
2014-11-14 08:47:05 +01:00
Atgeirr Flø Rasmussen
933cfaf666
Improve performance of CPR preconditioner.
...
This restores the performance to approximately the level it had before
the change to support non-diagonal well jacobians, for SPE9. All changes
are to the eliminateVariable() method.
- Explicitly compute and apply the inverse.
- Change loop ordering to apply inverse only num_eq - 1 times, instead
of (numeq - 1)^2.
- Use UmfPackLU instead of SparseLU.
2014-11-13 16:56:11 +01:00
Atgeirr Flø Rasmussen
f9b479a354
Merge pull request #232 from totto82/fix_output
...
BUGFIX. Correcting the scaling of the mass balance residual
2014-11-13 13:39:48 +01:00
Tor Harald Sandve
19605a7826
BUGFIX. Currect scale of the mass balance residual
...
The mass balance residual is now currectly scaled with the time
increment divided by the sum of the pore volumes. Not the opposite.
2014-11-13 11:12:52 +01:00
Bård Skaflestad
e4ad38ec31
Merge pull request #231 from atgeirr/modify-convergence-output
...
Improve convergence output.
2014-11-12 22:43:47 +01:00
Atgeirr Flø Rasmussen
5dcccaf568
Fix convergence output header (again).
2014-11-12 21:37:51 +01:00
Atgeirr Flø Rasmussen
e5aef85295
Merge pull request #230 from totto82/fixSchur
...
Solve sub matrix systems in the Schur complement
2014-11-12 14:25:12 +01:00
Atgeirr Flø Rasmussen
f17660cc37
Further output refinement.
2014-11-12 11:18:35 +01:00
Atgeirr Flø Rasmussen
7f2c649496
Fix: change a CNVO to CNVW in header printout.
2014-11-12 10:29:27 +01:00
Atgeirr Flø Rasmussen
4270d51683
Improve convergence output.
...
- Add CNV{W,O,G} to output.
- Make output a bit tighter.
- Avoid printing extra newline and header for each iteration.
2014-11-12 10:23:12 +01:00
Tor Harald Sandve
12b8e9f061
Adressing comments in the PR
...
1. The right hand side is solved only once
2. The solver is constructed directly with the matrix
3. const is added where it was missing
4. More commennts is added
5. Variable names are changed for clarification
2014-11-12 09:11:16 +01:00
Atgeirr Flø Rasmussen
2a032dec71
Merge pull request #228 from totto82/partial_copy2
...
Use well to name mapping when copying the old well state to the new
2014-11-11 20:06:09 +01:00
Tor Harald Sandve
b614aa5f90
Adressing comments in the PR
...
The following comments has been adressed
1. An array is used in stead of pair
2. is not empty is used instead of size>0 to check if the well has been
initialized before
3. const_iterator is used instead of iterator
4. partial copy is removed
5. WellMapType is no longer mutable
2014-11-11 07:33:15 +01:00
Atgeirr Flø Rasmussen
47fa31a69c
Merge pull request #229 from totto82/output_conv
...
Output the total mass balance residual
2014-11-10 15:58:33 +01:00