11 #ifndef _VOXEL_POOLS_H
12 #define _VOXEL_POOLS_H
56 static int gslFunc(
double t,
const double* y,
double *dydt,
void* params);
58 static void evalRates(
const vector_type_& y
73 unsigned int numCoreRates );
81 unsigned int numCoreRates,
unsigned int index );
87 void updateRates(
const double* s,
double* yprime )
const;
96 const double* s, vector< double >& v )
const;
103 gsl_odeiv2_driver* driver_;
104 gsl_odeiv2_system sys_;
111 #endif // _VOXEL_POOLS_H
void advance(const ProcInfo *p)
Do the numerical integration. Advance the simulation.
void updateRateTerms(const vector< RateTerm * > &rates, unsigned int numCoreRates, unsigned int index)
void setStoich(Stoich *stoich, const OdeSystem *ode)
void updateRates(const double *s, double *yprime) const
void print() const
Used for debugging.
const Stoich * getStoich()
void updateReacVelocities(const double *s, vector< double > &v) const
void updateAllRateTerms(const vector< RateTerm * > &rates, unsigned int numCoreRates)
Updates all the rate constants from the reference rates vector.
void setVolumeAndDependencies(double vol)
Handles volume change and subsequent cascading updates.
void setInitDt(double dt)
Set initial timestep to use by the solver.