Handles two species in a single reaction.
More...
#include <StoichManager.h>
Handles two species in a single reaction.
See Stoichiometry
Definition at line 189 of file StoichManager.h.
|
| C2 (size_t rxn=0, size_t ic0=0, size_t ic1=0) |
|
void | incrementSpecies (const double *R, double *S) const |
|
void | decrementSpecies (const double *R, double *S) const |
|
void | multiply (const double *S, double *R) const |
|
void | incrementReaction (const double *S, double *R) const |
|
void | decrementReaction (const double *S, double *R) const |
|
void | resizeCoeffs (const map< pair< size_t, size_t >, size_t > &indices) |
|
void | derivatives (const double *S, const double *R, vector< double > &jac) const |
|
void | scale (const double *R, double *out, double factor) const |
|
|
size_t | m_rxn |
| Reaction index -> index into the ROP vector.
|
|
size_t | m_ic0 |
| Species index -> index into the species vector for the two species.
|
|
size_t | m_ic1 |
|
size_t | m_jc0 |
|
size_t | m_jc1 |
| Indices in derivative triplet vector.
|
|
◆ C2()
C2 |
( |
size_t |
rxn = 0 , |
|
|
size_t |
ic0 = 0 , |
|
|
size_t |
ic1 = 0 |
|
) |
| |
|
inline |
◆ incrementSpecies()
void incrementSpecies |
( |
const double * |
R, |
|
|
double * |
S |
|
) |
| const |
|
inline |
◆ decrementSpecies()
void decrementSpecies |
( |
const double * |
R, |
|
|
double * |
S |
|
) |
| const |
|
inline |
◆ multiply()
void multiply |
( |
const double * |
S, |
|
|
double * |
R |
|
) |
| const |
|
inline |
◆ incrementReaction()
void incrementReaction |
( |
const double * |
S, |
|
|
double * |
R |
|
) |
| const |
|
inline |
◆ decrementReaction()
void decrementReaction |
( |
const double * |
S, |
|
|
double * |
R |
|
) |
| const |
|
inline |
◆ resizeCoeffs()
void resizeCoeffs |
( |
const map< pair< size_t, size_t >, size_t > & |
indices | ) |
|
|
inline |
◆ derivatives()
void derivatives |
( |
const double * |
S, |
|
|
const double * |
R, |
|
|
vector< double > & |
jac |
|
) |
| const |
|
inline |
◆ scale()
void scale |
( |
const double * |
R, |
|
|
double * |
out, |
|
|
double |
factor |
|
) |
| const |
|
inline |
◆ m_rxn
◆ m_ic0
◆ m_ic1
◆ m_jc0
◆ m_jc1
The documentation for this class was generated from the following file: