org.apache.commons.math3.ode.events
public class OverlappingEventsTest extends Object implements FirstOrderDifferentialEquations
Constructor and Description 

OverlappingEventsTest() 
Modifier and Type  Method and Description 

void 
computeDerivatives(double t,
double[] y,
double[] yDot) 
int 
getDimension() 
void 
test(int eventType)
Test for events that occur at the exact same time, but due to numerical
calculations occur very close together instead.

void 
testOverlappingEvents0()
Test for events that occur at the exact same time, but due to numerical
calculations occur very close together instead.

void 
testOverlappingEvents1()
Test for events that occur at the exact same time, but due to numerical
calculations occur very close together instead.

public OverlappingEventsTest()
public void testOverlappingEvents0() throws DimensionMismatchException, NumberIsTooSmallException, MaxCountExceededException, NoBracketingException
EventHandler.g(double, double[])
.public void testOverlappingEvents1() throws DimensionMismatchException, NumberIsTooSmallException, MaxCountExceededException, NoBracketingException
EventHandler.g(double, double[])
.public void test(int eventType) throws DimensionMismatchException, NumberIsTooSmallException, MaxCountExceededException, NoBracketingException
eventType
 the type of events to use. See
EventHandler.g(double, double[])
.DimensionMismatchException
NumberIsTooSmallException
MaxCountExceededException
NoBracketingException
public int getDimension()
getDimension
in interface FirstOrderDifferentialEquations
public void computeDerivatives(double t, double[] y, double[] yDot)
computeDerivatives
in interface FirstOrderDifferentialEquations
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.