roadrunner  2.6.0
Fast simulator for SBML models
PresimulationDecorator.h
1 //
2 // Created by Ciaran on 12/03/2021.
3 //
4 
5 #ifndef ROADRUNNER_PRESIMULATIONDECORATOR_H
6 #define ROADRUNNER_PRESIMULATIONDECORATOR_H
7 
8 #include "SteadyStateSolverDecorator.h"
9 
10 namespace rr {
11 
19  public:
20  using SteadyStateSolverDecorator::SteadyStateSolverDecorator;
21 
22  ~PresimulationDecorator() override = default;
23 
32  explicit PresimulationDecorator(SteadyStateSolver *solver);
33 
34  double solve() override;
35 
36  Solver * construct(ExecutableModel* executableModel) const override;
37 
38  private:
39  std::string decoratorName() const override;
40  };
41 
42 }
43 
44 
45 #endif //ROADRUNNER_PRESIMULATIONDECORATOR_H
Base class for all code generation systems; allows compiling and evaluating the model.
Definition: rrExecutableModel.h:118
wrapper class to change the solve() method of SteadyStateSolver types.
Definition: PresimulationDecorator.h:18
PresimulationDecorator(SteadyStateSolver *solver)
construct a PresimulationDecorator from a solver.
Definition: PresimulationDecorator.cpp:14
Solver * construct(ExecutableModel *executableModel) const override
Constructs a new Solver of a given type.
Definition: PresimulationDecorator.cpp:40
Base class for all integrators and steady state solvers.
Definition: Solver.h:39
The base class Decorator follows the same interface as other SteadyStateSolvers.
Definition: SteadyStateSolverDecorator.h:20
SteadyStateSolver is an abstract base class that provides an interface to specific steady-state solve...
Definition: SteadyStateSolver.h:38