Changed to extrapolation outside tables for pormult. Added facetags to the grid structure. Changed default fluid to Linear.

This commit is contained in:
Halvor Møll Nilsen
2012-08-14 09:36:19 +02:00
parent 497c45b78b
commit 1f7ec7fa39
3 changed files with 19 additions and 6 deletions

View File

@@ -30,6 +30,10 @@
#if HAVE_DUNE_ISTL
#include <opm/core/linalg/LinearSolverIstl.hpp>
#endif
#if HAVE_AGMG
#include <opm/core/linalg/LinearSolverAGMG.hpp>
#endif
#include <opm/core/utility/parameters/ParameterGroup.hpp>
#include <opm/core/utility/ErrorMacros.hpp>
@@ -69,8 +73,12 @@ namespace Opm
solver_.reset(new LinearSolverIstl(param));
#endif
}
else {
else if (ls == "agmg") {
#if HAVE_AGMG
solver_.reset(new LinearSolverAGMG(param));
#endif
}
else {
THROW("Linear solver " << ls << " is unknown.");
}