40#ifndef LM_CME_TWOSTATEHILLSWITCH_H_
41#define LM_CME_TWOSTATEHILLSWITCH_H_
58 KHillPropensityArgs(
uint si,
uint xi,
double kmin,
double kmax,
double x50,
double h) :
si(
si),
xi(
xi),
kmin(
kmin),
kmax(
kmax),
dk(
kmax-
kmin),
x50ph(pow(x50,
h)),
h(
h) {}
unsigned int uint
Definition Types.h:52
uint * speciesCounts
Definition CMESolver.h:275
GillespieDSolver()
Definition GillespieDSolver.cpp:79
virtual bool needsReactionModel()
Tells whether the solver needs a reaction model.
Definition TwoStateHillSwitch.h:72
virtual ~TwoStateHillSwitch()
Definition TwoStateHillSwitch.cpp:68
virtual bool needsDiffusionModel()
Tells whether the solver needs a reaction model.
Definition TwoStateHillSwitch.h:73
TwoStateHillSwitch()
Definition TwoStateHillSwitch.cpp:63
static double negativeKHillPropensity(double time, uint *speciesCounts, void *pargs)
Definition TwoStateHillSwitch.cpp:156
virtual void runGeometricProtein()
Definition TwoStateHillSwitch.cpp:689
virtual void generateTrajectory()
Actually run the simulation.
Definition TwoStateHillSwitch.cpp:72
virtual void runConstantProtein()
Definition TwoStateHillSwitch.cpp:473
static double kHillPropensity(double time, uint *speciesCounts, void *pargs)
Definition TwoStateHillSwitch.cpp:144
Definition CMESolver.cpp:72
Definition Capsule.cpp:46
uint si
Definition TwoStateHillSwitch.h:60
double kmax
Definition TwoStateHillSwitch.h:63
~KHillPropensityArgs()
Definition TwoStateHillSwitch.h:59
double kmin
Definition TwoStateHillSwitch.h:62
double h
Definition TwoStateHillSwitch.h:66
double x50ph
Definition TwoStateHillSwitch.h:65
double dk
Definition TwoStateHillSwitch.h:64
uint xi
Definition TwoStateHillSwitch.h:61
KHillPropensityArgs(uint si, uint xi, double kmin, double kmax, double x50, double h)
Definition TwoStateHillSwitch.h:58