Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Dec 4, 2023
1 parent ff5e2f9 commit a257b0d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions include/amici/model.h
Original file line number Diff line number Diff line change
Expand Up @@ -1451,6 +1451,13 @@ class Model : public AbstractModel, public ModelDimensions {
*/
SUNMatrixWrapper const& get_dxdotdp_full() const;

/**
* @brief Get trigger times for events that don't require root-finding.
*
* @return List of unique trigger points for events that don't require
* root-finding (i.e. that trigger at predetermined timepoints),
* in ascending order.
*/
virtual std::vector<double> get_trigger_timepoints() const;

/**
Expand All @@ -1466,6 +1473,10 @@ class Model : public AbstractModel, public ModelDimensions {
/** Logger */
Logger* logger = nullptr;

/**
* @brief Map of trigger timepoints to event indices for events that don't
* require root-finding.
*/
std::map<realtype, std::vector<int>> state_independent_events_ = {};

protected:
Expand Down

0 comments on commit a257b0d

Please sign in to comment.