Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MostafaMollaali
dynamic
Commits
5d5a2774
Commit
5d5a2774
authored
8 years ago
by
Christoph Lehmann
Committed by
Dmitri Naumov
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[T] changed filename and spelling.
parent
8cf0f3a0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Tests/MathLib/TestODESolver.cpp
+4
-4
4 additions, 4 deletions
Tests/MathLib/TestODESolver.cpp
with
4 additions
and
4 deletions
Tests/MathLib/Test
CVode
.cpp
→
Tests/MathLib/Test
ODESolver
.cpp
+
4
−
4
View file @
5d5a2774
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
#include
<gtest/gtest.h>
#include
<gtest/gtest.h>
#include
<logog/include/logog.hpp>
#include
<logog/include/logog.hpp>
#include
"MathLib/ODE/ConcreteO
de
Solver.h"
#include
"MathLib/ODE/ConcreteO
DE
Solver.h"
const
double
abs_tol
=
1e-8
;
const
double
abs_tol
=
1e-8
;
const
double
rel_tol
=
1e-8
;
const
double
rel_tol
=
1e-8
;
...
@@ -62,18 +62,18 @@ bool any_ode_solver_libs_available()
...
@@ -62,18 +62,18 @@ bool any_ode_solver_libs_available()
}
}
template
<
unsigned
NumEquations
>
template
<
unsigned
NumEquations
>
std
::
unique_ptr
<
MathLib
::
O
de
Solver
<
NumEquations
>>
make_ode_solver
(
std
::
unique_ptr
<
MathLib
::
O
DE
Solver
<
NumEquations
>>
make_ode_solver
(
boost
::
property_tree
::
ptree
const
&
conf
)
boost
::
property_tree
::
ptree
const
&
conf
)
{
{
BaseLib
::
ConfigTree
config
(
conf
,
""
,
BaseLib
::
ConfigTree
::
onerror
,
BaseLib
::
ConfigTree
config
(
conf
,
""
,
BaseLib
::
ConfigTree
::
onerror
,
BaseLib
::
ConfigTree
::
onwarning
);
BaseLib
::
ConfigTree
::
onwarning
);
return
MathLib
::
createO
de
Solver
<
NumEquations
>
(
config
);
return
MathLib
::
createO
DE
Solver
<
NumEquations
>
(
config
);
}
}
// There is no definition of this function in order to prevent passing temporary
// There is no definition of this function in order to prevent passing temporary
// property trees! There will be linker errors if you do so anyway.
// property trees! There will be linker errors if you do so anyway.
template
<
unsigned
NumEquations
>
template
<
unsigned
NumEquations
>
std
::
unique_ptr
<
MathLib
::
O
de
Solver
<
NumEquations
>>
make_ode_solver
(
std
::
unique_ptr
<
MathLib
::
O
DE
Solver
<
NumEquations
>>
make_ode_solver
(
boost
::
property_tree
::
ptree
&&
);
boost
::
property_tree
::
ptree
&&
);
void
check
(
const
double
time_reached
,
const
double
y
,
const
double
y_dot
,
void
check
(
const
double
time_reached
,
const
double
y
,
const
double
y_dot
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment