roadrunner  2.6.0
Fast simulator for SBML models
PresimulationProgramDecorator.h
1 //
2 // Created by Ciaran on 12/03/2021.
3 //
4 
5 #ifndef ROADRUNNER_PresimulationProgramDecorator_H
6 #define ROADRUNNER_PresimulationProgramDecorator_H
7 
8 #include "SteadyStateSolverDecorator.h"
9 
10 namespace rr {
11 
19  public:
20  using SteadyStateSolverDecorator::SteadyStateSolverDecorator;
21 
22  ~PresimulationProgramDecorator() override = default;
23 
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_PresimulationProgramDecorator_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: PresimulationProgramDecorator.h:18
PresimulationProgramDecorator(SteadyStateSolver *solver)
construct a PresimulationProgramDecorator from a solver.
Definition: PresimulationProgramDecorator.cpp:14
Solver * construct(ExecutableModel *executableModel) const override
Constructs a new Solver of a given type.
Definition: PresimulationProgramDecorator.cpp:50
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