java.lang.Object
de.grogra.chem.ChemicalReaction
- All Implemented Interfaces:
ISlope
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
assignIndices
(int base, HashMap<Object, Integer> indices) void
eval
(double[] out, double t, double[] y) double
double
void
setBackwardRateConstant
(double kr) void
setForwardRateConstant
(double kf) toString()
-
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
-
assignIndices
- Specified by:
assignIndices
in interfaceISlope
-
eval
public void eval(double[] out, double t, double[] y)
-