Class SUNNonLinSolFixedPoint

Inheritance Relationships

Base Type

Class Documentation

class amici::SUNNonLinSolFixedPoint : public amici::SUNNonLinSolWrapper

SUNDIALS Fixed point non-linear solver to solve G(y) = y.

Public Functions

explicit SUNNonLinSolFixedPoint(const_N_Vector x, int m = 0)

Create fixed-point solver.

Parameters
  • x – template for cloning vectors needed within the solver.

  • m – number of acceleration vectors to use

SUNNonLinSolFixedPoint(int count, const_N_Vector x, int m = 0)

Create fixed-point solver for use with sensitivity analysis.

Parameters
  • count – Number of vectors in the nonlinear solve. When integrating a system containing Ns sensitivities the value of count is:

    • Ns+1 if using a simultaneous corrector approach.

    • Ns if using a staggered corrector approach.

  • x – template for cloning vectors needed within the solver.

  • m – number of acceleration vectors to use

int getSysFn(SUNNonlinSolSysFn *SysFn) const

Get function to evaluate the fixed point function G(y) = y.

Parameters

SysFn

Returns