|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RichDESystem
A RichDESystem
is a DESystem
that provides additional
information besides the pure rate of change during its evaluation. For
instance, such a system also computes intermediate result that might be of
interest later on.
Method Summary | |
---|---|
String[] |
getAdditionalValueIds()
This provides the column/row identifiers of all intermediate results: one identifier per result. |
double[] |
getAdditionalValues(double t,
double[] Y)
Computes and/or delivers the intermediate results at the given time and for the given results from the previous time step. |
int |
getNumAdditionalValues()
Gives the number of intermediate results that are computed by this class. |
Methods inherited from interface org.simulator.math.odes.DESystem |
---|
containsEventsOrRules, getIdentifiers, getPositiveValueCount |
Methods inherited from interface org.apache.commons.math.ode.FirstOrderDifferentialEquations |
---|
computeDerivatives, getDimension |
Method Detail |
---|
String[] getAdditionalValueIds()
String
array must equal the length of the array returned by
getAdditionalValues(double, double[])
.
double[] getAdditionalValues(double t, double[] Y) throws DerivativeException
t
- The time point for which intermediate results are to be
computed.Y
- The result vector from the previous time step.
#getValue(double, double[], double[])
) to avoid unnecessary
re-computation. Implementing classes should store interesting
intermediate results to be accessible in case time and Y are the
same values than those just used for the actual computation.
DerivativeException
- If the system cannot be solved for the given configuration or
no intermediate results can be computed in this step.int getNumAdditionalValues()
getAdditionalValueIds()
and
getAdditionalValues(double, double[])
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |