de.grogra.chem
Class Model

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

public class Model
extends java.lang.Object
implements ISlope


Constructor Summary
Model()
           
 
Method Summary
 Model add(ChemicalReaction r, double kf)
           
 Model add(ChemicalReaction r, double kf, double kr)
           
 Model addSlope(ISlope slope)
           
 int assignIndices(int base, java.util.HashMap<java.lang.Object,java.lang.Integer> indices)
           
 void eval(double[] out, double t, double[] y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Model

public Model()
Method Detail

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