5 #ifndef ROADRUNNER_NEWTONITERATION_H
6 #define ROADRUNNER_NEWTONITERATION_H
8 #include "KinsolSteadyStateSolver.h"
9 #include <kinsol/kinsol.h>
10 #include <nvector/nvector_serial.h>
11 #include <sundials/sundials_types.h>
32 std::string getName()
const override;
37 std::string getDescription()
const override;
42 std::string getHint()
const override;
47 void resetSettings()
override;
49 void getSolverStatsFromKinsol()
override;
55 double solveNewtonIteration(
const std::string& strategy);
57 void createKinsol()
override;
59 void freeKinsol()
override;
61 void updateKinsol()
override;
66 SUNMatrix jac =
nullptr;
71 SUNLinearSolver linearSolver =
nullptr;
Base class for all code generation systems; allows compiling and evaluating the model.
Definition: rrExecutableModel.h:118
base class to steady state solvers from the Sundials package.
Definition: KinsolSteadyStateSolver.h:44
KinsolSteadyStateSolver()=default
The default constructor for constructing without a model.
Implementation of the newton iteration form of the kinsol steady state solver.
Definition: NewtonIteration.h:19