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
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-268-gd295a9024 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
►
Nonlinear
▼
ODE
►
ConcreteODESolver.h
►
CVodeSolver.cpp
CVodeSolver.h
FunctionHandles.h
ODESolver.h
►
ODESolverBuilder.h
►
ODESolverTypes.h
►
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
ODESolverBuilder.h
Go to the documentation of this file.
1
11
#pragma once
12
13
14
#include "
BaseLib/Error.h
"
15
#include "
ODESolver.h
"
16
#include "
ConcreteODESolver.h
"
17
18
#ifdef CVODE_FOUND
19
#include "
CVodeSolver.h
"
20
#endif
21
22
namespace
BaseLib
23
{
24
class
ConfigTree;
25
}
26
27
namespace
MathLib
28
{
29
namespace
ODE
30
{
33
38
template
<
unsigned
NumEquations>
39
std::unique_ptr<ODESolver<NumEquations>>
createODESolver
(
40
BaseLib::ConfigTree
const
& config)
41
{
42
#ifdef CVODE_FOUND
43
return
std::unique_ptr<ODESolver<NumEquations>>(
44
new
ConcreteODESolver<CVodeSolver, NumEquations>
(config));
45
#endif
46
(void)config;
// Unused parameter warning if no library is available.
47
48
OGS_FATAL
(
49
"No ODE solver could be created. Maybe it is because you did not build"
50
" OGS6 with support for any external ODE solver library."
);
51
}
39
std::unique_ptr<ODESolver<NumEquations>>
createODESolver
( {
…
};
52
54
55
}
// namespace ODE
56
}
// namespace MathLib
CVodeSolver.h
ConcreteODESolver.h
Error.h
OGS_FATAL
#define OGS_FATAL(...)
Definition
Error.h:26
ODESolver.h
BaseLib::ConfigTree
Definition
ConfigTree.h:107
MathLib::ODE::ConcreteODESolver
Definition
ConcreteODESolver.h:57
MathLib::ODE::createODESolver
std::unique_ptr< ODESolver< NumEquations > > createODESolver(BaseLib::ConfigTree const &config)
Definition
ODESolverBuilder.h:39
BaseLib
Definition
TestDefinition.h:21
MathLib
Definition
CreateComponent.h:32
MathLib
ODE
ODESolverBuilder.h
Generated by
1.12.0