A queue that contains information on reaction events.  
 More...
#include <ReactionQueue.h>
|  | 
| struct | ReactionEvent | 
|  | Definition of a reaction event with the time to reaction and the propensity for the reaction to occur.  More... 
 | 
A queue that contains information on reaction events. 
◆ ReactionQueue()
  
  | 
        
          | lm::reaction::ReactionQueue::ReactionQueue | ( | uint | numberReactions | ) |  |  | inline | 
 
Initialize the reaction queue. 
- Parameters
- 
  
    | numberReactions | The number of reactions that the queue should be able to hold |  
 
 
 
◆ ~ReactionQueue()
  
  | 
        
          | lm::reaction::ReactionQueue::~ReactionQueue | ( |  | ) |  |  | inline | 
 
Destroy the reaction queue. 
 
 
◆ getNextReaction()
  
  | 
        
          | uint lm::reaction::ReactionQueue::getNextReaction | ( |  | ) |  |  | inline | 
 
get the next reaction 
- Returns
- reaction Number of the next reaction 
 
 
◆ getReactionEvent()
Get the next reaction event. 
- Parameters
- 
  
    | reactionIndex | The index of the reaction event |  
 
reactionEvent The specified reaction event 
 
 
◆ updateReactionEvent()
  
  | 
        
          | void lm::reaction::ReactionQueue::updateReactionEvent | ( | uint | reactionIndex, |  
          |  |  | double | newTime, |  
          |  |  | double | newPropensity ) |  | inline | 
 
Update the reaction event queue. 
- Parameters
- 
  
    | reactionIndex | Index of the reaction to update |  | newTime | The new time at which the reaction will occur |  | newPropensity | The new propensity for the reaction to occur |  
 
 
 
◆ numberReactions
  
  | 
        
          | uint lm::reaction::ReactionQueue::numberReactions |  | protected | 
 
 
◆ reactionEvents
◆ reactionPositions
  
  | 
        
          | uint* lm::reaction::ReactionQueue::reactionPositions |  | protected | 
 
 
◆ reactionQueue
  
  | 
        
          | uint* lm::reaction::ReactionQueue::reactionQueue |  | protected | 
 
 
The documentation for this class was generated from the following file: