babrodtk
9855d7340f
Minor performance updates
2015-09-07 13:01:31 +02:00
Atgeirr Flø Rasmussen
097542a527
Whitespace fixes.
...
It turns out I accidentally used tabs for a while, this commit
fixes that for all touched files.
2015-09-07 13:00:41 +02:00
Atgeirr Flø Rasmussen
c795113ce3
Changes to make flow compile with AutoDiffMatrix.
2015-09-07 13:00:02 +02:00
Markus Blatt
45fdb3ac48
[bugfix] Use correct parameters for ParallelIstlInformation::copyValuesTo.
...
The last parameter of this functions specifies how vector/martix
entries there are per index/cell of the grid. For the interleaved
versions all components end up in one block. Therefore this number
needs to be one here (in contrast to the number of phases for the
non-interleaved version).
This commit new uses the correct number.
2015-09-05 16:09:33 +02:00
babrodtk
5b287e0ea8
Fixed warnings
2015-09-02 13:02:27 +02:00
Atgeirr Flø Rasmussen
d41bd90a40
Change assert() to use actual variables present.
2015-08-17 17:06:54 +02:00
Kai Bao
997616658b
adding 0th phase only once when computing sparse pattern
2015-08-17 15:33:33 +02:00
Kai Bao
ce4b25f0b8
removing the unused SparseMatrix A
2015-08-17 15:12:13 +02:00
Kai Bao
7d7b05a126
removing unused Span variable.
2015-08-17 15:04:31 +02:00
Kai Bao
a816f4c06c
optimizing the formInterleavedSystem().
...
The current implementation avoids the using of formEllipticSystem() and
vercatCollapseJacs(), which take a significant amount of computing time
during the non-linear solutions.
2015-08-17 13:36:44 +02:00
Atgeirr Flø Rasmussen
700ce9e13d
Move forming interleaved matrix to own function/
2015-06-19 11:33:30 +02:00
Atgeirr Flø Rasmussen
5e513642d7
Add paralell preconditioner, enable parallel case.
2015-06-19 10:53:33 +02:00
Atgeirr Flø Rasmussen
a3d115ff22
Add (disabled) parallel version.
...
Disabled because the constructPreconditionerAndSolve() method does
not have a way currently to construct a parallel preconditioner.
2015-06-19 10:53:33 +02:00
Atgeirr Flø Rasmussen
4eb77bebb4
Further cleanup: includes, copyright, whitespace.
2015-06-19 10:53:33 +02:00
Atgeirr Flø Rasmussen
9e28857933
Remove functions that were moved to NewtonIterationUtilities.
2015-06-19 10:53:33 +02:00
Atgeirr Flø Rasmussen
d86de7bb79
Only use pressure jacobian to form sparsity pattern.
...
Also clean up by eliminating commented-out debugging code.
2015-06-19 10:53:33 +02:00
Atgeirr Flø Rasmussen
8cbce1bfdf
Working interleaved solver implemented.
2015-06-19 10:53:32 +02:00
Atgeirr Flø Rasmussen
8af1ea1e42
Add (disabled) experimental part, not changing the A matrix.
...
This seems to cause a significant increase in iterations and failures,
which is why it is disabled for now.
2015-06-19 10:53:32 +02:00
Atgeirr Flø Rasmussen
63285bf6f9
Remove usage of CPRPreconditioner.
2015-06-19 10:53:32 +02:00
Atgeirr Flø Rasmussen
5d0f654443
Add class NewtonIterationBlackoilInterleaved.
...
Initially it is just a copy of the NewtonIterationBlackoilCPR class.
Also, add use_interleaved parameter to use the class.
2015-06-19 10:53:32 +02:00