|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math3.ode.events.OverlappingEventsTest
public class OverlappingEventsTest
Tests for overlapping state events. Also tests an event function that does not converge to zero, but does have values of opposite sign around its root.
| Constructor Summary | |
|---|---|
OverlappingEventsTest()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OverlappingEventsTest()
| Method Detail |
|---|
public void testOverlappingEvents0()
throws DimensionMismatchException,
NumberIsTooSmallException,
MaxCountExceededException,
NoBracketingException
EventHandler.g(double, double[]).
DimensionMismatchException
NumberIsTooSmallException
MaxCountExceededException
NoBracketingException
public void testOverlappingEvents1()
throws DimensionMismatchException,
NumberIsTooSmallException,
MaxCountExceededException,
NoBracketingException
EventHandler.g(double, double[]).
DimensionMismatchException
NumberIsTooSmallException
MaxCountExceededException
NoBracketingException
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
NoBracketingExceptionpublic int getDimension()
getDimension in interface FirstOrderDifferentialEquations
public void computeDerivatives(double t,
double[] y,
double[] yDot)
computeDerivatives in interface FirstOrderDifferentialEquations
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||