8 #ifndef RK4Integrator_H_
9 #define RK4Integrator_H_
12 #include <rrRoadRunnerOptions.h>
132 virtual Variant getValue(std::string key);
190 unsigned stateVectorSize;
195 double *k1, *k2, *k3, *k4, *y, *ytmp;
197 void testRootsAtInitialTime();
198 void applyEvents(
double timeEnd, std::vector<unsigned char> &previousEventStatus);
RoadRunner's Gillespie SSA integrator.
Base class for all code generation systems; allows compiling and evaluating the model.
Definition: rrExecutableModel.h:118
Definition: Integrator.h:62
Handles constructing an integrator and contains meta information about it.
Definition: Integrator.h:161
Definition: RK4Integrator.h:29
virtual void restart(double t0)
std::string getHint() const
Get the hint for this integrator.
static std::string getRK4Name()
Get the name for this integrator.
IntegrationMethod getIntegrationMethod() const
Always deterministic for RK4.
virtual IntegratorListenerPtr getListener()
virtual double integrate(double t0, double tf)
virtual void setListener(IntegratorListenerPtr)
static std::string getRK4Hint()
Get the hint for this integrator.
virtual void syncWithModel(ExecutableModel *m)
Called whenever a new model is loaded to allow integrator to reset internal state.
RK4Integrator(ExecutableModel *m)
std::string getDescription() const
Get the description for this integrator.
static std::string getRK4Description()
Get the description for this integrator.
std::string getName() const
**
void resetSettings()
Reset all integrator settings to their respective default values.
Definition: RK4Integrator.h:206
virtual Integrator * construct(ExecutableModel *model) const
Constructs a new integrator of a given type.
Definition: RK4Integrator.h:236
virtual std::string getDescription() const
Gets the description associated with this integrator type.
Definition: RK4Integrator.h:220
virtual std::string getHint() const
Gets the hint associated with this integrator type.
Definition: RK4Integrator.h:228
virtual std::string getName() const
Gets the name associated with this integrator type.
Definition: RK4Integrator.h:212