Skip to content

Commit

Permalink
prototype implementation (unfinished)
Browse files Browse the repository at this point in the history
  • Loading branch information
FFroehlich committed May 20, 2024
1 parent 601aa75 commit cc035a6
Show file tree
Hide file tree
Showing 2 changed files with 390 additions and 0 deletions.
14 changes: 14 additions & 0 deletions include/amici/amici.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,20 @@ std::vector<std::unique_ptr<ReturnData>> runAmiciSimulations(
Model const& model, bool failfast, int num_threads
);

/**
* @brief Same as runAmiciSimulation, but for a timeseries of ExpData instances.
*
* @param solver Solver instance
* @param edatas experimental data objects
* @param model model specification object
* @param failfast flag to allow early termination
* @return vector of pointers to return data objects
*/
std::vector<std::unique_ptr<ReturnData>> runAmiciSimulationsTimeseries(
Solver const& solver, std::vector<ExpData*> const& edatas,
Model const& model, bool failfast
);

/**
* @brief Get the string representation of the given simulation status code
* (see ReturnData::status).
Expand Down
Loading

0 comments on commit cc035a6

Please sign in to comment.