public class ReactionTable extends Object
Modifier and Type | Field and Description |
---|---|
int |
nreaction |
Constructor and Description |
---|
ReactionTable(int nreaction,
String[] species,
double[] diffusionConstants) |
Modifier and Type | Method and Description |
---|---|
double[] |
getDiffusionConstants() |
Matrix |
getIncrementRateMatrix(Column mconc) |
int |
getNReaction() |
int |
getNSpecies() |
int[][] |
getProductIndices() |
Column |
getProductionColumn(Column mconc) |
Matrix |
getProductionMatrix() |
int[][] |
getProductStoichiometry()
The number of particles created in the reaction (by specie).
|
Column |
getRateColumn(Column mconc) |
double[] |
getRates() |
int[][] |
getReactantIndices() |
int[][] |
getReactantPowers()
Propensity powers for true second- and higher-order reactions.
|
int[][] |
getReactantStoichiometry()
The number of particles destroyed in the reaction (by specie).
|
static String |
getReactionSignature(int[] rr,
int[] rs,
int[] pp,
int[] ps,
String[] ids) |
int[] |
getReversiblePairs()
Returns an array of indicies of the "other" reaction.
|
int |
getSpecieIndex(String specieID) |
String[] |
getSpecies() |
void |
print() |
void |
setReactionData(int ireact,
int[][] aidx,
int[][] bidx,
double rate,
boolean is_reverse) |
Column |
stepResiduals(Column vc,
Column vdc,
double dt) |
public ReactionTable(int nreaction, String[] species, double[] diffusionConstants)
public void print()
public void setReactionData(int ireact, int[][] aidx, int[][] bidx, double rate, boolean is_reverse)
public String[] getSpecies()
public static String getReactionSignature(int[] rr, int[] rs, int[] pp, int[] ps, String[] ids)
public int getNSpecies()
public double[] getDiffusionConstants()
public Matrix getProductionMatrix()
public int getNReaction()
public double[] getRates()
public int[][] getReactantIndices()
public int[][] getProductIndices()
public int[][] getReactantStoichiometry()
public int[][] getProductStoichiometry()
public int[][] getReactantPowers()
public int[] getReversiblePairs()
public int getSpecieIndex(String specieID)
Copyright © 2019. All rights reserved.