OGS
LinearSolverOptions.cpp
Go to the documentation of this file.
1
10#include "LinearSolverOptions.h"
11
12#include <set>
13
14#include "BaseLib/ConfigTree.h"
15
19static std::set<std::string> known_linear_solvers{"eigen", "lis", "petsc"};
20
21namespace MathLib
22{
24 const std::string& solver_name)
25{
26 for (auto const& s : known_linear_solvers)
27 {
28 if (s != solver_name)
29 {
31 }
32 }
33}
34
35} // namespace MathLib
static std::set< std::string > known_linear_solvers
void ignoreConfigParameter(std::string const &param) const
static const double s
void ignoreOtherLinearSolvers(const BaseLib::ConfigTree &config, const std::string &solver_name)