@@ -55,7 +55,7 @@ const TabularView = lazy(() => import("./analyses/tabular_view"));
5555
5656export function kuramoto (
5757 options : Partial < AnalysisOptions > & {
58- simulate : Simulators . KuramotoSimulator ;
58+ run : Simulators . KuramotoSimulator ;
5959 parameterLabels ?: {
6060 coupling ?: string ;
6161 damping ?: string ;
@@ -68,17 +68,17 @@ export function kuramoto(
6868 name = "Kuramoto dynamics" ,
6969 description = "Simulate the system using the Kuramoto dynamical model" ,
7070 help = "kuramoto" ,
71- simulate ,
71+ run ,
7272 } = options ;
7373 return {
7474 id,
7575 name,
7676 description,
7777 help,
78- simulate ,
78+ run ,
7979 component : ( props ) => (
8080 < Kuramoto
81- simulate = { simulate }
81+ simulate = { run }
8282 title = { name }
8383 couplingLabel = { options . parameterLabels ?. coupling }
8484 dampingLabel = { options . parameterLabels ?. damping }
@@ -102,23 +102,23 @@ const Kuramoto = lazy(() => import("./analyses/kuramoto"));
102102
103103export function linearODE (
104104 options : Partial < AnalysisOptions > & {
105- simulate : Simulators . LinearODESimulator ;
105+ run : Simulators . LinearODESimulator ;
106106 } ,
107107) : ModelAnalysisMeta < Simulators . LinearODEProblemData > {
108108 const {
109109 id = "linear-ode" ,
110110 name = "Linear ODE dynamics" ,
111111 description = "Simulate the system using a constant-coefficient linear first-order ODE" ,
112112 help = "linear-ode" ,
113- simulate ,
113+ run ,
114114 } = options ;
115115 return {
116116 id,
117117 name,
118118 description,
119119 help,
120- simulate ,
121- component : ( props ) => < LinearODE simulate = { simulate } title = { name } { ...props } /> ,
120+ run ,
121+ component : ( props ) => < LinearODE simulate = { run } title = { name } { ...props } /> ,
122122 initialContent : ( ) => ( {
123123 coefficients : { } ,
124124 initialValues : { } ,
@@ -131,23 +131,23 @@ const LinearODE = lazy(() => import("./analyses/linear_ode"));
131131
132132export function lotkaVolterra (
133133 options : Partial < AnalysisOptions > & {
134- simulate : Simulators . LotkaVolterraSimulator ;
134+ run : Simulators . LotkaVolterraSimulator ;
135135 } ,
136136) : ModelAnalysisMeta < Simulators . LotkaVolterraProblemData > {
137137 const {
138138 id = "lotka-volterra" ,
139139 name = "Lotka-Volterra dynamics" ,
140140 description = "Simulate the system using a Lotka-Volterra ODE" ,
141141 help = "lotka-volterra" ,
142- simulate ,
142+ run ,
143143 } = options ;
144144 return {
145145 id,
146146 name,
147147 description,
148148 help,
149- simulate ,
150- component : ( props ) => < LotkaVolterra simulate = { simulate } title = { name } { ...props } /> ,
149+ run ,
150+ component : ( props ) => < LotkaVolterra simulate = { run } title = { name } { ...props } /> ,
151151 initialContent : ( ) => ( {
152152 interactionCoefficients : { } ,
153153 growthRates : { } ,
@@ -161,7 +161,7 @@ const LotkaVolterra = lazy(() => import("./analyses/lotka_volterra"));
161161
162162export function massAction (
163163 options : Partial < AnalysisOptions > & {
164- simulate : Simulators . MassActionSimulator ;
164+ run : Simulators . MassActionSimulator ;
165165 stateType ?: ObType ;
166166 transitionType ?: MorType ;
167167 } ,
@@ -178,7 +178,7 @@ export function massAction(
178178 name,
179179 description,
180180 help,
181- simulate : otherOptions . simulate ,
181+ run : otherOptions . run ,
182182 component : ( props ) => < MassAction title = { name } { ...otherOptions } { ...props } /> ,
183183 initialContent : ( ) => ( {
184184 massConservationType : { type : "Balanced" } ,
@@ -254,7 +254,7 @@ const UnbalancedMassActionEquationsDisplay = lazy(
254254
255255export function stochasticMassAction (
256256 options : Partial < AnalysisOptions > & {
257- simulate : Simulators . StochasticMassActionSimulator ;
257+ run : Simulators . StochasticMassActionSimulator ;
258258 stateType ?: ObType ;
259259 transitionType ?: MorType ;
260260 } ,
@@ -271,7 +271,7 @@ export function stochasticMassAction(
271271 name,
272272 description,
273273 help,
274- simulate : otherOptions . simulate ,
274+ run : otherOptions . run ,
275275 component : ( props ) => < StochasticMassAction title = { name } { ...otherOptions } { ...props } /> ,
276276 initialContent : ( ) => ( {
277277 rates : { } ,
@@ -349,7 +349,7 @@ export function reachability(
349349 name,
350350 description,
351351 help,
352- simulate : otherOptions . check ,
352+ run : otherOptions . check ,
353353 component : ( props ) => < Reachability title = { name } { ...otherOptions } { ...props } /> ,
354354 initialContent : ( ) => ( { tokens : { } , forbidden : { } } ) ,
355355 } ;
0 commit comments