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 &fwd)
Construct backward problem from forward problem.
- Parameters:
fwd – pointer to corresponding forward problem
-
void workBackwardProblem()
Solve the backward problem.
If adjoint sensitivities are enabled, this will also compute sensitivities. workForwardProblem must be called before this function is called.
-
inline AmiVector const &get_adjoint_state_pre_preeq() const
The adjoint state vector from before pre-equilibration.
- Returns:
xB
-
inline AmiVector const &get_adjoint_quadrature_pre_preeq() const
The quadrature state vector from before pre-equilibration.
- Returns:
xQB
-
inline AmiVector const &get_adjoint_quadrature() const
The final quadrature state vector.
- Returns:
xQB
-
inline SteadyStateBackwardProblem const *get_posteq_bwd_problem() const
Return the postequilibration SteadyStateBwdProblem.
- Returns:
The postequilibration SteadyStateBackwardProblem, if any.
-
inline SteadyStateBackwardProblem const *get_preeq_bwd_problem() const
Return the preequilibration SteadyStateBackwardProblem.
- Returns:
The preequilibration SteadyStateBackwardProblem, if any.
-
explicit BackwardProblem(ForwardProblem &fwd)