This commit is contained in:
Luc Maisonobe 2016-01-06 14:18:08 +01:00
parent 355b55e4c6
commit 2a4984980a
2 changed files with 7 additions and 7 deletions

View File

@ -48,7 +48,7 @@ public abstract class AbstractEmbeddedRungeKuttaFieldIntegratorTest {
protected abstract <T extends RealFieldElement<T>> EmbeddedRungeKuttaFieldIntegrator<T>
createIntegrator(Field<T> field, final double minStep, final double maxStep,
final double scalAbsoluteTolerance, final double scalRelativeTolerance) ;
final double scalAbsoluteTolerance, final double scalRelativeTolerance);
protected abstract <T extends RealFieldElement<T>> EmbeddedRungeKuttaFieldIntegrator<T>
createIntegrator(Field<T> field, final double minStep, final double maxStep,
@ -384,7 +384,7 @@ public abstract class AbstractEmbeddedRungeKuttaFieldIntegratorTest {
public abstract void testBackward();
protected <T extends RealFieldElement<T>> void doTestBackward(Field<T> field,
final double espilonLast,
final double epsilonLast,
final double epsilonMaxValue,
final double epsilonMaxTime,
final String name)
@ -404,7 +404,7 @@ public abstract class AbstractEmbeddedRungeKuttaFieldIntegratorTest {
integ.addStepHandler(handler);
integ.integrate(new FieldExpandableODE<T>(pb), pb.getInitialState(), pb.getFinalTime());
Assert.assertEquals(0, handler.getLastError().getReal(), espilonLast);
Assert.assertEquals(0, handler.getLastError().getReal(), epsilonLast);
Assert.assertEquals(0, handler.getMaximalValueError().getReal(), epsilonMaxValue);
Assert.assertEquals(0, handler.getMaximalTimeError().getReal(), epsilonMaxTime);
Assert.assertEquals(name, integ.getName());

View File

@ -285,7 +285,7 @@ public abstract class AbstractRungeKuttaFieldIntegratorTest {
public abstract void testSmallStep();
protected <T extends RealFieldElement<T>> void doTestSmallStep(Field<T> field,
final double espilonLast,
final double epsilonLast,
final double epsilonMaxValue,
final double epsilonMaxTime,
final String name)
@ -300,7 +300,7 @@ public abstract class AbstractRungeKuttaFieldIntegratorTest {
integ.addStepHandler(handler);
integ.integrate(new FieldExpandableODE<T>(pb), pb.getInitialState(), pb.getFinalTime());
Assert.assertEquals(0, handler.getLastError().getReal(), espilonLast);
Assert.assertEquals(0, handler.getLastError().getReal(), epsilonLast);
Assert.assertEquals(0, handler.getMaximalValueError().getReal(), epsilonMaxValue);
Assert.assertEquals(0, handler.getMaximalTimeError().getReal(), epsilonMaxTime);
Assert.assertEquals(name, integ.getName());
@ -337,7 +337,7 @@ public abstract class AbstractRungeKuttaFieldIntegratorTest {
public abstract void testBackward();
protected <T extends RealFieldElement<T>> void doTestBackward(Field<T> field,
final double espilonLast,
final double epsilonLast,
final double epsilonMaxValue,
final double epsilonMaxTime,
final String name)
@ -352,7 +352,7 @@ public abstract class AbstractRungeKuttaFieldIntegratorTest {
integ.addStepHandler(handler);
integ.integrate(new FieldExpandableODE<T>(pb), pb.getInitialState(), pb.getFinalTime());
Assert.assertEquals(0, handler.getLastError().getReal(), espilonLast);
Assert.assertEquals(0, handler.getLastError().getReal(), epsilonLast);
Assert.assertEquals(0, handler.getMaximalValueError().getReal(), epsilonMaxValue);
Assert.assertEquals(0, handler.getMaximalTimeError().getReal(), epsilonMaxTime);
Assert.assertEquals(name, integ.getName());