roadrunner  2.6.0
Fast simulator for SBML models
BasicNewtonIteration.h
1 //
2 // Created by Ciaran on 26/03/2021.
3 //
4 
5 #ifndef ROADRUNNER_BASICNEWTONITERATION_H
6 #define ROADRUNNER_BASICNEWTONITERATION_H
7 
8 #include "NewtonIteration.h"
9 
10 namespace rr {
11 
21 
22  public:
23  using NewtonIteration::NewtonIteration;
24 
25  ~BasicNewtonIteration() override = default ;
26 
27  explicit BasicNewtonIteration(ExecutableModel *executableModel);
28 
32  std::string getName() const override;
33 
37  std::string getDescription() const override;
38 
42  std::string getHint() const override;
43 
48  Solver *construct(ExecutableModel *model) const override;
49 
53  double solve() override;
54 
55  };
56 }
57 
58 #endif //ROADRUNNER_BASICNEWTONITERATION_H
Solve for steady state using Kinsol's implementation of Newton Iteration.
Definition: BasicNewtonIteration.h:20
double solve() override
solve the currently defined problem
Definition: BasicNewtonIteration.cpp:25
std::string getHint() const override
Get a (user-readable) hint for this solver.
Definition: BasicNewtonIteration.cpp:21
std::string getDescription() const override
Get the description of this solver.
Definition: BasicNewtonIteration.cpp:16
Solver * construct(ExecutableModel *model) const override
construct a new BasicNewtonIterator
Definition: BasicNewtonIteration.cpp:29
std::string getName() const override
Get the name of this solver.
Definition: BasicNewtonIteration.cpp:12
Base class for all code generation systems; allows compiling and evaluating the model.
Definition: rrExecutableModel.h:118
Implementation of the newton iteration form of the kinsol steady state solver.
Definition: NewtonIteration.h:19
Base class for all integrators and steady state solvers.
Definition: Solver.h:39