Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tnl-dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TNL
tnl-dev
Commits
c2195139
There was an error fetching the commit references. Please try again later.
Commit
c2195139
authored
5 years ago
by
Tomáš Oberhuber
Browse files
Options
Downloads
Patches
Plain Diff
Added default problem type to Euler and Merson solver for better access to static method.
parent
a04934b4
No related branches found
No related tags found
1 merge request
!34
Runge kutta
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/TNL/Solvers/ODE/Euler.h
+2
-1
2 additions, 1 deletion
src/TNL/Solvers/ODE/Euler.h
src/TNL/Solvers/ODE/Merson.h
+2
-1
2 additions, 1 deletion
src/TNL/Solvers/ODE/Merson.h
with
4 additions
and
2 deletions
src/TNL/Solvers/ODE/Euler.h
+
2
−
1
View file @
c2195139
...
...
@@ -13,6 +13,7 @@
#include
<math.h>
#include
<TNL/Config/ConfigDescription.h>
#include
<TNL/Solvers/ODE/ExplicitSolver.h>
#include
<TNL/Solvers/DummyProblem.h>
#include
<TNL/Config/ParameterContainer.h>
#include
<TNL/Timer.h>
...
...
@@ -20,7 +21,7 @@ namespace TNL {
namespace
Solvers
{
namespace
ODE
{
template
<
typename
Problem
>
template
<
typename
Problem
=
DummyProblem
<
>
>
class
Euler
:
public
ExplicitSolver
<
Problem
>
{
public:
...
...
This diff is collapsed.
Click to expand it.
src/TNL/Solvers/ODE/Merson.h
+
2
−
1
View file @
c2195139
...
...
@@ -11,6 +11,7 @@
#pragma once
#include
<math.h>
#include
<TNL/Solvers/DummyProblem.h>
#include
<TNL/Config/ConfigDescription.h>
#include
<TNL/Solvers/ODE/ExplicitSolver.h>
...
...
@@ -18,7 +19,7 @@ namespace TNL {
namespace
Solvers
{
namespace
ODE
{
template
<
class
Problem
>
template
<
class
Problem
=
DummyProblem
<
>
>
class
Merson
:
public
ExplicitSolver
<
Problem
>
{
public:
...
...
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