add Classes for event-driven DES
This commit is contained in:
parent
7fc968ae34
commit
18c772f61c
16
src/eva2/tools/math/des/AbstractDESSolver.java
Normal file
16
src/eva2/tools/math/des/AbstractDESSolver.java
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
package eva2.tools.math.des;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This Class represents an RKSolver for event-driven DES
|
||||||
|
*
|
||||||
|
* @author <a href="mailto:a.doerr@uni-tuebingen.de">Alexander Dörr</a>
|
||||||
|
* @date 2010-02-04
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public abstract class AbstractDESSolver implements DESSolver {
|
||||||
|
|
||||||
|
|
||||||
|
}
|
26
src/eva2/tools/math/des/EventDESystem.java
Normal file
26
src/eva2/tools/math/des/EventDESystem.java
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
package eva2.tools.math.des;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This Class represents an event-driven DES
|
||||||
|
*
|
||||||
|
* @author <a href="mailto:a.doerr@uni-tuebingen.de">Alexander Dörr</a>
|
||||||
|
* @date 2010-02-04
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public interface EventDESystem extends DESystem {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns an array with delays (entries >=0) for the
|
||||||
|
* events triggered either by the time t or by the concentrations
|
||||||
|
* of the species stored in Y. The new values for the species
|
||||||
|
* are stored in res. The positions in the array returned by this method
|
||||||
|
* correspond to the positions in Y/res.
|
||||||
|
*
|
||||||
|
* @return Returns an array with delays for the change of concentration due to events
|
||||||
|
*/
|
||||||
|
public double[] processEvents(double t, double Y[], double res[]);
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user