de.grogra.chem
Class ChemicalReaction
java.lang.Object
de.grogra.chem.ChemicalReaction
- All Implemented Interfaces:
- ISlope
public class ChemicalReaction
- extends java.lang.Object
- implements ISlope
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ChemicalReaction
public ChemicalReaction()
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
getBackwardRateConstant
public double getBackwardRateConstant()
getForwardRateConstant
public double getForwardRateConstant()
setBackwardRateConstant
public void setBackwardRateConstant(double kr)
setForwardRateConstant
public void setForwardRateConstant(double kf)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object