From a257b0d3bc76737e88d05146477604c62ddfec9d Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Mon, 4 Dec 2023 11:27:54 +0100 Subject: [PATCH] doc --- include/amici/model.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/amici/model.h b/include/amici/model.h index aaa6b1e47d..f5421bed3d 100644 --- a/include/amici/model.h +++ b/include/amici/model.h @@ -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 get_trigger_timepoints() const; /** @@ -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> state_independent_events_ = {}; protected: