Robert Kloefkorn
2badc765a6
std::runtime_error --> LinearSolverProblem when linear solver was not converged.
...
Since LinearSolverProblem is derived from std::runtime_error everything should work as
before.
2015-04-16 11:41:28 +02:00
Robert Kloefkorn
a73c725b9d
CPRPreconditioner: make compile with DUNE 2.2.
2015-04-08 14:23:35 +02:00
Robert Kloefkorn
1b23de0b1c
CPR: add verbosity as a parameter.
2015-03-31 12:54:26 +02:00
Robert Kloefkorn
632bc7a809
CPR: FastAMG seems not to be faster, so use regular AMG.
2015-03-31 12:42:58 +02:00
Robert Kloefkorn
adac4a7995
CPRPreconditioner: added tolerance and max iter as a parmeter.
...
Parameters are now a separate class to avoid long constructor parameter list.
2015-03-31 12:15:54 +02:00
Markus Blatt
11848acf0c
Added braces around else statement (coding guidelines)
2015-02-12 10:41:44 +01:00
Markus Blatt
a37421d2ad
Rely on delete being null safe.
2015-02-12 10:41:44 +01:00
Markus Blatt
39a6e19099
Fixes compilation issues when no MPI is available.
2015-02-12 10:41:44 +01:00
Markus Blatt
b73f1c86fc
Fixed typos in documentatio of deleter.
2015-02-12 10:41:44 +01:00
Markus Blatt
a7f1614f63
Adds copyright declarations and more documentation.
2015-02-12 10:41:44 +01:00
Markus Blatt
221565f038
Enable the use of parallel dune-istl solvers.
...
As with opm-core we use boost::any to provide additional
information about a parallel run. It is used to set a
ParallelISTLInformation object and and fill it with the
information obtained from a parallel Cpgrid.
Note that the simulator currently compiles sucessfully. Still,
we have to test the runs and do debugging.
2015-02-12 10:41:43 +01:00
Robert K
5287c54c1d
fix parameter order for SeqILUn.
2014-12-05 15:03:59 +01:00
Robert K
9a2a95c6eb
This commits allows for flexible choice of either ILU(0) or ILU(n) where n is a
...
dynamical parameter given in the parameter file. The default is 0 (as before).
In addition the relaxation parameter has been added to the parameter with the
default preserving the state from before.
Also, the default parameter for use_amg and use_bicgstab in the constructor of
CPRPrecondition have been removed.
2014-12-05 14:03:58 +01:00
Atgeirr Flø Rasmussen
25c9b36d4f
Use new location of warning suppression header.
2014-09-20 10:39:34 +02:00
Robert Kloefkorn
f299b5f5d0
apply nitpicks comments and avoid delete.
2014-09-18 15:11:50 +02:00
Robert Kloefkorn
d46fbe6728
enabled DUNE-ISTL::AMG and DUNE-ISTL::CGSolver.
...
The default is the same as before, i.e. DUNE-ISTL::ILU0 and DUNE-ISTL::BiCGSolver
for solving the elliptic problem.
2014-09-04 17:06:00 +02:00
Atgeirr Flø Rasmussen
d8a7165ccb
Throw if elliptic solve fails.
2014-08-14 14:19:55 +02:00
Atgeirr Flø Rasmussen
e9ab64fd18
Remove usage of DUNE_UNUSED_PARAMETER.
2014-05-21 13:14:02 +02:00
Atgeirr Flø Rasmussen
d9d5074dd2
Initial implementation of CPR preconditioner done.
...
With some caveats:
- scaling factors for material balance equations and pressure are hardcoded.
- pressure system is formed from sum of material balance equations, with
no check for diagonal dominance.
2014-05-16 14:21:14 +02:00
Atgeirr Flø Rasmussen
bbf11c42c6
Pass elliptic matrix part to CPR preconditioner.
...
For now, the top left part is passed with no summing of equations or checks
for diagonal dominance.
2014-05-15 15:49:14 +02:00
Atgeirr Flø Rasmussen
c0ce5a13b4
Add preliminary version of CPR preconditioner class.
...
This version simply does ILU(0) preconditioning.
2014-05-14 15:52:01 +02:00