Class BackwardProblem
Defined in File backwardproblem.h
Class Documentation
-
class BackwardProblem
class to solve backwards problems.
solves the backwards problem for adjoint sensitivity analysis and handles events and data-points
Public Functions
-
explicit BackwardProblem(ForwardProblem const &fwd, SteadystateProblem const *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(ForwardProblem const &fwd, SteadystateProblem const *posteq)