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
-
BackwardProblem
(const ForwardProblem &fwd, const SteadystateProblem *posteq)¶ Construct backward problem from forward problem.
- Parameters
fwd
: pointer to corresponding forward problemposteq
: 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.
-
int
getwhich
() const¶ Accessor for which.
- Return
which
-
int *
getwhichptr
()¶ Accessor for pointer to which.
- Return
which
-