Module rgg

Class ChemicalReaction

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

public class ChemicalReaction extends Object implements ISlope
  • Constructor Details

    • ChemicalReaction

      public ChemicalReaction()
  • Method Details

    • getForwardRateConstant

      public double getForwardRateConstant()
    • setForwardRateConstant

      public void setForwardRateConstant(double kf)
    • getBackwardRateConstant

      public double getBackwardRateConstant()
    • setBackwardRateConstant

      public void setBackwardRateConstant(double kr)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • assignIndices

      public int assignIndices(int base, HashMap<Object,Integer> indices)
      Specified by:
      assignIndices in interface ISlope
    • eval

      public void eval(double[] out, double t, double[] y)
      Specified by:
      eval in interface ISlope