de.grogra.chem
Class Model
java.lang.Object
de.grogra.chem.Model
- All Implemented Interfaces:
- ISlope
public class Model
- extends java.lang.Object
- implements ISlope
Constructor Summary |
Model()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Model
public Model()
add
public Model add(ChemicalReaction r,
double kf)
add
public Model add(ChemicalReaction r,
double kf,
double kr)
addSlope
public Model addSlope(ISlope slope)
assignIndices
public int assignIndices(int base,
java.util.HashMap<java.lang.Object,java.lang.Integer> indices)
- Specified by:
assignIndices
in interface ISlope
eval
public void eval(double[] out,
double t,
double[] y)
- Specified by:
eval
in interface ISlope