Skip to content

Commit

Permalink
Doc: t0 (#2263)
Browse files Browse the repository at this point in the history
Closes #2248
  • Loading branch information
dweindl authored Jan 8, 2024
1 parent 434e7be commit 8077915
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions include/amici/model.h
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,12 @@ class Model : public AbstractModel, public ModelDimensions {

/**
* @brief Set simulation start time.
*
* Output timepoints are absolute timepoints, independent of
* \f$ t_{0} \f$.
* For output timepoints \f$ t < t_{0} \f$, the initial state will be
* returned.
* @param t0 Simulation start time
*/
void setT0(double t0);
Expand Down
9 changes: 8 additions & 1 deletion include/amici/simulation_parameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,14 @@ class SimulationParameters {
*/
std::vector<int> plist;

/** starting time */
/**
* @brief Starting time of the simulation.
*
* Output timepoints are absolute timepoints, independent of
* \f$ t_{start} \f$.
* For output timepoints \f$ t < t_{start} \f$, the initial state will be
* returned.
*/
realtype tstart_{0.0};

/**
Expand Down

0 comments on commit 8077915

Please sign in to comment.