Top Description Fields Constructors Methods
org.apache.commons.math3.ode.events

public final Enum Action

extends Enum<Action>
Class Inheritance

Enumerate for actions to be performed when an event occurs during ODE integration.
Since
3.6

Field Summary

Modifier and TypeField and Description
public static final Action
CONTINUE

Continue indicator.

public static final Action
RESET_DERIVATIVES

Reset derivatives indicator.

public static final Action
RESET_STATE

Reset state indicator.

public static final Action
STOP

Stop indicator.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Action
public static Action[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CONTINUEback to summary
public static final Action CONTINUE

Continue indicator.

This value should be used as the return value of the eventOccurred method when the integration should go on after the event ending the current step.

RESET_DERIVATIVESback to summary
public static final Action RESET_DERIVATIVES

Reset derivatives indicator.

This value should be used as the return value of the eventOccurred method when the integration should go on after the event ending the current step, with a new derivatives vector.

RESET_STATEback to summary
public static final Action RESET_STATE

Reset state indicator.

This value should be used as the return value of the eventOccurred} method when the integration should go on after the event ending the current step, with a new state vector (which will be retrieved thanks to the resetState method).

STOPback to summary
public static final Action STOP

Stop indicator.

This value should be used as the return value of the eventOccurred method when the integration should be stopped after the event ending the current step.

Constructor Detail

Actionback to summary
private Action()

Method Detail

valueOfback to summary
public static Action valueOf(String name)
valuesback to summary
public static Action[] values()