|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GeneralStateEvent
GeneralStateEvent is an extension of the older StateEvents which allows for other types of zero-crossing of the evaluate function, f. An event consists now in that a given numeric value crosses zero (from any direction in croossing events, from positive to negative in the other cases). In crossing and positive events, zeros must be appropriately separated for the solver to find them. Hence, crossing and positive events are NOT appropriated for simultaneous events (an event action triggers another event which was at zero). For this cases use a state event. *
Field Summary | |
---|---|
static int |
BISECTION
Root finding method using bisection |
static int |
CROSSING_EVENT
|
static int |
POSITIVE_EVENT
|
static int |
SECANT
Root finding method using a line |
static int |
STATE_EVENT
|
Method Summary | |
---|---|
int |
getMaxIterations()
Returns the maximum number of iterations allowed when locating the event. |
int |
getRootFindingMethod()
Returns the method used to locate the exact point of the event. |
int |
getTypeOfEvent()
Returns the type of event. |
Methods inherited from interface org.opensourcephysics.numerics.StateEvent |
---|
action, evaluate, getTolerance |
Field Detail |
---|
static final int STATE_EVENT
static final int POSITIVE_EVENT
static final int CROSSING_EVENT
static final int BISECTION
static final int SECANT
Method Detail |
---|
int getTypeOfEvent()
int getRootFindingMethod()
int getMaxIterations()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |