Loading [MathJax]/extensions/tex2jax.js
OGS
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
Typedefs
b
c
e
f
h
j
k
l
m
n
p
q
r
s
t
v
w
x
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
l
m
n
p
r
s
t
v
y
Classes
Class List
Class Index
Class Hierarchy
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
Functions
a
c
d
e
f
g
i
m
o
p
r
s
t
v
w
x
Variables
Typedefs
Enumerations
Macros
a
b
c
e
g
h
i
l
m
n
o
p
r
s
t
v
w
x
LinearSolverOptions.cpp
Go to the documentation of this file.
1
#include "
LinearSolverOptions.h
"
2
3
#include <set>
4
8
static
std::set<std::string>
known_linear_solvers
{
"eigen"
,
"lis"
,
"petsc"
};
9
10
namespace
MathLib
11
{
12
void
ignoreOtherLinearSolvers
(
const
BaseLib::ConfigTree
& config,
13
const
std::string& solver_name)
14
{
15
for
(
auto
const
& s :
known_linear_solvers
)
16
{
17
if
(s != solver_name)
18
{
19
config.
ignoreConfigParameter
(s);
20
}
21
}
22
}
23
24
}
// namespace MathLib
known_linear_solvers
static std::set< std::string > known_linear_solvers
Definition:
LinearSolverOptions.cpp:8
LinearSolverOptions.h
BaseLib::ConfigTree
Definition:
ConfigTree.h:103
BaseLib::ConfigTree::ignoreConfigParameter
void ignoreConfigParameter(std::string const ¶m) const
Definition:
ConfigTree.cpp:181
MathLib
MathLib::ignoreOtherLinearSolvers
void ignoreOtherLinearSolvers(const BaseLib::ConfigTree &config, const std::string &solver_name)
Definition:
LinearSolverOptions.cpp:12
MathLib
LinAlg
LinearSolverOptions.cpp
Generated by
1.9.1