public interface EventDESystem extends DESystem
| Modifier and Type | Method and Description |
|---|---|
int |
getEventCount()
Counts the number of events in this system.
|
EventInProgress |
getNextEventAssignments(double t,
double previousTime,
double[] Y)
Returns a list with event assignments for the events triggered either by the time t or by the
concentrations of the species stored in Y.
|
boolean |
getNoDerivatives() |
int |
getRuleCount()
Counts the number of rules to be evaluated in each time point.
|
boolean |
processAssignmentRules(double t,
double[] Y)
Calculates the changes or assignments that are defined by all rules in the system at the given
simulation time point.
|
containsEventsOrRules, getIdentifiers, getPositiveValueCount, setDelaysIncludedint getEventCount()
int getRuleCount()
boolean processAssignmentRules(double t,
double[] Y)
throws org.apache.commons.math.ode.DerivativeException
t - The current simulation time.Y - The current change of the system.true if there has been a change in the Y vector caused by the
rules.org.apache.commons.math.ode.DerivativeExceptionEventInProgress getNextEventAssignments(double t, double previousTime, double[] Y) throws org.apache.commons.math.ode.DerivativeException
t - The current simulation time.Y - The current change of the system.org.apache.commons.math.ode.DerivativeExceptionboolean getNoDerivatives()
true, if the change vector is always zero in the system.Copyright © 2007–2021. All rights reserved.