public enum Action extends Enum<Action>
Enum Constant and Description |
---|
CONTINUE
Continue indicator.
|
RESET_DERIVATIVES
Reset derivatives indicator.
|
RESET_EVENTS
Reset events indicator.
|
RESET_STATE
Reset state indicator.
|
STOP
Stop indicator.
|
Modifier and Type | Method and Description |
---|---|
static Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Action STOP
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.
public static final Action RESET_STATE
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).
public static final Action RESET_DERIVATIVES
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.
public static final Action CONTINUE
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.
public static final Action RESET_EVENTS
This value should be used as the return value of the eventOccurred
method when the integration should go on, but first recheck all event detectors for
occurring events. Use when the ODEEventHandler.eventOccurred(org.hipparchus.ode.ODEStateAndDerivative,
boolean)
method of this handler has a side effect that changes the ODEEventHandler.g(org.hipparchus.ode.ODEStateAndDerivative)
function of another event handler.
public static Action[] values()
for (Action c : Action.values()) System.out.println(c);
public static Action valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016–2020 Hipparchus.org. All rights reserved.