1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.hipparchus.ode.nonstiff;
19
20 import org.junit.Test;
21
22 public class GillIntegratorTest extends RungeKuttaIntegratorAbstractTest {
23
24 protected RungeKuttaIntegrator createIntegrator(double step) {
25 return new GillIntegrator(step);
26 }
27
28 @Override
29 public void testMissedEndEvent() {
30 doTestMissedEndEvent(1.0e-15, 6.0e-5);
31 }
32
33 @Override
34 public void testSanityChecks() {
35 doTestSanityChecks();
36 }
37
38 @Override
39 public void testDecreasingSteps() {
40 doTestDecreasingSteps(1.0, 1.0, 1.0e-10);
41 }
42
43 @Override
44 public void testSmallStep() {
45 doTestSmallStep(2.0e-13, 4.0e-12, 1.0e-12, "Gill");
46 }
47
48 @Override
49 public void testBigStep() {
50 doTestBigStep(0.0004, 0.005, 1.0e-12, "Gill");
51
52 }
53
54 @Override
55 public void testBackward() {
56 doTestBackward(5.0e-10, 7.0e-10, 1.0e-12, "Gill");
57 }
58
59 @Override
60 public void testKepler() {
61 doTestKepler(1.72e-3, 1.0e-5);
62 }
63
64 @Override
65 public void testStepSize() {
66 doTestStepSize(1.0e-12);
67 }
68
69 @Override
70 public void testSingleStep() {
71 doTestSingleStep(0.21);
72 }
73
74 @Override
75 public void testTooLargeFirstStep() {
76 doTestTooLargeFirstStep();
77 }
78
79 @Override
80 public void testUnstableDerivative() {
81 doTestUnstableDerivative(1.0e-12);
82 }
83
84 @Override
85 public void testDerivativesConsistency() {
86 doTestDerivativesConsistency(1.0e-10);
87 }
88
89 @Override
90 public void testSerialization() {
91 doTestSerialization(1017877, 1.7e-3);
92 }
93
94 @Test
95 public void testSecondaryEquations() {
96 doTestSecondaryEquations(1.1e-12, 5.6e-13);
97 }
98
99 }