Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91693716
butchertableau.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Nov 13, 13:33
Size
448 B
Mime Type
text/x-c
Expires
Fri, Nov 15, 13:33 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22291437
Attached To
rSPECMICP SpecMiCP / ReactMiCP
butchertableau.cpp
View Options
#include "catch.hpp"
#include "specmicp_common/odeint/butcher_tableau.hpp"
TEST_CASE
(
"Butcher tableau"
)
{
SECTION
(
"Cash-Karp"
)
{
CHECK
(
specmicp
::
odeint
::
butcher_cash_karp45
.
a
(
2
)
==
1.0
/
5.0
);
CHECK
(
specmicp
::
odeint
::
butcher_cash_karp45
.
b
(
6
,
3
)
==
575.0
/
13824.0
);
CHECK
(
specmicp
::
odeint
::
butcher_cash_karp45
.
c
(
4
)
==
125.0
/
594.0
);
CHECK
(
specmicp
::
odeint
::
butcher_cash_karp45
.
cs
(
4
)
==
13525.0
/
55296.0
);
}
}
Event Timeline
Log In to Comment