10 #ifndef _RATE_LOOKUP_H
11 #define _RATE_LOOKUP_H
36 unsigned int nSpecies );
41 const vector< double >& C1,
42 const vector< double >& C2 );
78 #endif // _RATE_LOOKUP_H
unsigned int nColumns_
(# columns) = 2 * (# species)
void lookup(const LookupColumn &column, const LookupRow &row, double &C1, double &C2)
Actually performs the lookup and the linear interpolation.
void row(double x, LookupRow &row)
double max_
max of the voltage / caConc range
void addColumns(int species, const vector< double > &C1, const vector< double > &C2)
Adds the columns for a given species. Columns supplied are C1 and C2.
void column(unsigned int species, LookupColumn &column)
vector< double > table_
Flattened table.
double min_
min of the voltage / caConc range
double * row
Pointer to the first column on a row.