org.orekit.propagation.events
Class AdaptedEventDetector
java.lang.Object
org.orekit.propagation.events.AdaptedEventDetector
- All Implemented Interfaces:
- org.apache.commons.math.ode.events.EventHandler
public class AdaptedEventDetector
- extends java.lang.Object
- implements org.apache.commons.math.ode.events.EventHandler
Adapt an EventDetector
to commons-math EventHandler interface.
- Version:
- $Revision: 3111 $ $Date: 2010-02-10 17:45:39 +0100 (mer. 10 févr. 2010) $
- Author:
- Fabien Maussion
| Fields inherited from interface org.apache.commons.math.ode.events.EventHandler |
CONTINUE, RESET_DERIVATIVES, RESET_STATE, STOP |
|
Method Summary |
int |
eventOccurred(double t,
double[] y,
boolean increasing)
|
double |
g(double t,
double[] y)
|
void |
resetState(double t,
double[] y)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdaptedEventDetector
public AdaptedEventDetector(EventDetector detector,
AbsoluteDate referenceDate,
double mu,
Frame integrationFrame,
AttitudeLaw attitudeLaw)
- Build a wrapped event detector.
- Parameters:
detector - event detector to wrapreferenceDate - reference date from which t is countedmu - central body attraction coefficient (m3/s2)integrationFrame - frame in which integration is performedattitudeLaw - spacecraft attitude law
g
public double g(double t,
double[] y)
throws org.apache.commons.math.ode.events.EventException
-
- Specified by:
g in interface org.apache.commons.math.ode.events.EventHandler
- Throws:
org.apache.commons.math.ode.events.EventException
eventOccurred
public int eventOccurred(double t,
double[] y,
boolean increasing)
throws org.apache.commons.math.ode.events.EventException
-
- Specified by:
eventOccurred in interface org.apache.commons.math.ode.events.EventHandler
- Throws:
org.apache.commons.math.ode.events.EventException
resetState
public void resetState(double t,
double[] y)
throws org.apache.commons.math.ode.events.EventException
-
- Specified by:
resetState in interface org.apache.commons.math.ode.events.EventHandler
- Throws:
org.apache.commons.math.ode.events.EventException
Copyright © 2002-2010 CS Communication & Systèmes. All Rights Reserved.