| 233 | /* Set the rate variable for one element using the array index */ |
| 234 | |
| 235 | void cSpatialResCount::Rate(int x, double ratein) const { |
| 236 | if (x >= 0 && x < grid.GetSize()) { |
| 237 | grid[x].Rate(ratein); |
| 238 | } else { |
| 239 | assert(false); // x not valid id |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | /* Set the rate variable for one element using the x,y coordinate */ |
| 244 |
no test coverage detected