de.grogra.chem
Class ChemicalReaction

java.lang.Object
  extended by de.grogra.chem.ChemicalReaction
All Implemented Interfaces:
ISlope

public class ChemicalReaction
extends java.lang.Object
implements ISlope


Constructor Summary
ChemicalReaction()
           
 
Method Summary
 int assignIndices(int base, java.util.HashMap<java.lang.Object,java.lang.Integer> indices)
           
 void eval(double[] out, double t, double[] y)
           
 double getBackwardRateConstant()
           
 double getForwardRateConstant()
           
 void setBackwardRateConstant(double kr)
           
 void setForwardRateConstant(double kf)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChemicalReaction

public ChemicalReaction()
Method Detail

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