Class BackwardProblem
Defined in File backwardproblem.h
Class Documentation
-
class amici::BackwardProblem
class to solve backwards problems.
solves the backwards problem for adjoint sensitivity analysis and handles events and data-points
Public Functions
-
explicit BackwardProblem(const ForwardProblem &fwd, const SteadystateProblem *posteq)
Construct backward problem from forward problem.
- Parameters
fwd – pointer to corresponding forward problem
posteq – pointer to postequilibration problem, can be nullptr
-
void workBackwardProblem()
Solve the backward problem.
If adjoint sensitivities are enabled this will also compute sensitivities. workForwardProblem must be called before this is function is called.
-
inline int getwhich() const
Accessor for which.
- Returns
which
-
inline int *getwhichptr()
Accessor for pointer to which.
- Returns
which
-
explicit BackwardProblem(const ForwardProblem &fwd, const SteadystateProblem *posteq)