mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-18 21:43:27 -06:00
Restore coding conventions.
Inadvertently lost in commit 064184b.
This commit is contained in:
parent
1f7ec7fa39
commit
7cad95c6c7
@ -30,6 +30,7 @@
|
|||||||
#if HAVE_DUNE_ISTL
|
#if HAVE_DUNE_ISTL
|
||||||
#include <opm/core/linalg/LinearSolverIstl.hpp>
|
#include <opm/core/linalg/LinearSolverIstl.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAVE_AGMG
|
#if HAVE_AGMG
|
||||||
#include <opm/core/linalg/LinearSolverAGMG.hpp>
|
#include <opm/core/linalg/LinearSolverAGMG.hpp>
|
||||||
#endif
|
#endif
|
||||||
@ -73,12 +74,14 @@ namespace Opm
|
|||||||
solver_.reset(new LinearSolverIstl(param));
|
solver_.reset(new LinearSolverIstl(param));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else if (ls == "agmg") {
|
|
||||||
|
else if (ls == "agmg") {
|
||||||
#if HAVE_AGMG
|
#if HAVE_AGMG
|
||||||
solver_.reset(new LinearSolverAGMG(param));
|
solver_.reset(new LinearSolverAGMG(param));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
|
else {
|
||||||
THROW("Linear solver " << ls << " is unknown.");
|
THROW("Linear solver " << ls << " is unknown.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user