OGS
Toggle main menu visibility
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
z
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
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
x
z
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
i
k
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
Variables
Typedefs
Enumerations
Macros
b
c
g
m
n
o
p
r
s
t
▼
OGS
►
OpenGeoSys 6.5.4-346-gb8b2fd539 source code documentation
►
OGS CTests—Project Files
►
OGS Input File Parameters—Quality Assurance
►
OGS Input File Parameters
BulkMappingDocuPage
Todo List
OGS Input File Parameters—List of incomplete documentation pages
Bibliography
►
Namespaces
►
Classes
▼
Files
▼
File List
►
Applications
►
BaseLib
►
build
►
ChemistryLib
Documentation
►
GeoLib
►
InfoLib
►
MaterialLib
▼
MathLib
►
Curve
►
Integration
►
InterpolationAlgorithms
▼
LinAlg
►
Eigen
▼
EigenLis
EigenLisLinearSolver.cpp
►
EigenLisLinearSolver.h
LinearSolverOptionsParser.cpp
►
LinearSolverOptionsParser.h
►
Lis
►
PETSc
ApplyKnownSolution.h
►
FinalizeMatrixAssembly.h
►
FinalizeVectorAssembly.h
►
GlobalLinearSolverType.h
►
GlobalMatrixVectorTypes.h
►
LinAlg.cpp
►
LinAlg.h
►
LinAlgEnums.cpp
►
LinAlgEnums.h
►
LinearSolverBehaviour.h
►
LinearSolverOptions.cpp
►
LinearSolverOptions.h
LinearSolverOptionsParser.h
►
MatrixSpecifications.h
MatrixVectorTraits.cpp
►
MatrixVectorTraits.h
►
RowColumnIndices.h
►
SetMatrixSparsity.h
►
SparsityPattern.h
►
UnifiedMatrixSetters.cpp
►
UnifiedMatrixSetters.h
►
Nonlinear
►
ODE
►
EigenBlockMatrixView.h
FormattingUtils.cpp
►
FormattingUtils.h
►
GeometricBasics.cpp
►
GeometricBasics.h
►
KahanSum.h
►
KelvinVector-impl.h
►
KelvinVector.cpp
►
KelvinVector.h
►
MathTools.cpp
►
MathTools.h
►
Point3d.cpp
►
Point3d.h
►
Point3dWithID.h
►
VectorizedTensor.cpp
►
VectorizedTensor.h
►
WeightedPoint.cpp
►
WeightedPoint.h
►
MeshGeoToolsLib
►
MeshLib
►
MeshToolsLib
►
NumLib
►
ParameterLib
►
ProcessLib
►
File Members
LinearSolverOptionsParser.cpp
Go to the documentation of this file.
1
11
#pragma once
12
13
#include "
LinearSolverOptionsParser.h
"
14
15
#include "
BaseLib/ConfigTree.h
"
16
#include "
BaseLib/Logging.h
"
17
#include "
MathLib/LinAlg/LinearSolverOptions.h
"
18
19
namespace
MathLib
20
{
21
std::tuple<std::string, std::string>
22
LinearSolverOptionsParser<EigenLisLinearSolver>::parseNameAndOptions
(
23
std::string
const
& prefix,
BaseLib::ConfigTree
const
*
const
config)
const
24
{
25
std::string lis_options =
"-initx_zeros 0"
;
26
27
if
(config)
28
{
29
ignoreOtherLinearSolvers
(*config,
"lis"
);
31
if
(
auto
s
= config->
getConfigParameterOptional
<std::string>(
"lis"
))
32
{
33
if
(!
s
->empty())
34
{
35
lis_options +=
" "
+ *
s
;
36
INFO
(
"Lis options: '{:s}'"
, lis_options);
37
}
38
}
39
}
40
return
{prefix, lis_options};
41
}
22
LinearSolverOptionsParser<EigenLisLinearSolver>::parseNameAndOptions
( {
…
}
42
}
// namespace MathLib
ConfigTree.h
LinearSolverOptionsParser.h
LinearSolverOptions.h
Logging.h
INFO
void INFO(fmt::format_string< Args... > fmt, Args &&... args)
Definition
Logging.h:35
BaseLib::ConfigTree
Definition
ConfigTree.h:107
BaseLib::ConfigTree::getConfigParameterOptional
std::optional< T > getConfigParameterOptional(std::string const ¶m) const
Definition
ConfigTree-impl.h:64
MathLib
Definition
CreateComponent.h:32
MathLib::s
static const double s
Definition
GaussLegendreTet.cpp:102
MathLib::ignoreOtherLinearSolvers
void ignoreOtherLinearSolvers(const BaseLib::ConfigTree &config, const std::string &solver_name)
Definition
LinearSolverOptions.cpp:23
MathLib::LinearSolverOptionsParser
Definition
LinearSolverOptionsParser.h:16
MathLib
LinAlg
EigenLis
LinearSolverOptionsParser.cpp
Generated by
1.11.0