@@ -33,6 +33,7 @@ logistic <- R6::R6Class(
33
33
alloc = dust_ode_logistic_alloc ,
34
34
run = dust_ode_logistic_run ,
35
35
simulate = dust_ode_logistic_simulate ,
36
+ run_adjoint = dust_ode_logistic_run_adjoint ,
36
37
set_index = dust_ode_logistic_set_index ,
37
38
n_state = dust_ode_logistic_n_state ,
38
39
update_state = dust_ode_logistic_update_state ,
@@ -91,6 +92,10 @@ logistic <- R6::R6Class(
91
92
m
92
93
},
93
94
95
+ run_adjoint = function () {
96
+ private $ methods_ $ run_adjoint(private $ ptr_ )
97
+ },
98
+
94
99
set_index = function (index ) {
95
100
private $ methods_ $ set_index(private $ ptr_ , index )
96
101
private $ index_ <- index
@@ -287,6 +292,7 @@ sir <- R6::R6Class(
287
292
alloc = dust_cpu_sir_alloc ,
288
293
run = dust_cpu_sir_run ,
289
294
simulate = dust_cpu_sir_simulate ,
295
+ run_adjoint = dust_cpu_sir_run_adjoint ,
290
296
set_index = dust_cpu_sir_set_index ,
291
297
n_state = dust_cpu_sir_n_state ,
292
298
update_state = dust_cpu_sir_update_state ,
@@ -345,6 +351,10 @@ sir <- R6::R6Class(
345
351
m
346
352
},
347
353
354
+ run_adjoint = function () {
355
+ private $ methods_ $ run_adjoint(private $ ptr_ )
356
+ },
357
+
348
358
set_index = function (index ) {
349
359
private $ methods_ $ set_index(private $ ptr_ , index )
350
360
private $ index_ <- index
@@ -541,6 +551,7 @@ sirs <- R6::R6Class(
541
551
alloc = dust_cpu_sirs_alloc ,
542
552
run = dust_cpu_sirs_run ,
543
553
simulate = dust_cpu_sirs_simulate ,
554
+ run_adjoint = dust_cpu_sirs_run_adjoint ,
544
555
set_index = dust_cpu_sirs_set_index ,
545
556
n_state = dust_cpu_sirs_n_state ,
546
557
update_state = dust_cpu_sirs_update_state ,
@@ -561,6 +572,7 @@ sirs <- R6::R6Class(
561
572
alloc = dust_gpu_sirs_alloc ,
562
573
run = dust_gpu_sirs_run ,
563
574
simulate = dust_gpu_sirs_simulate ,
575
+ run_adjoint = dust_gpu_sirs_run_adjoint ,
564
576
set_index = dust_gpu_sirs_set_index ,
565
577
n_state = dust_gpu_sirs_n_state ,
566
578
update_state = dust_gpu_sirs_update_state ,
@@ -615,6 +627,10 @@ sirs <- R6::R6Class(
615
627
m
616
628
},
617
629
630
+ run_adjoint = function () {
631
+ private $ methods_ $ run_adjoint(private $ ptr_ )
632
+ },
633
+
618
634
set_index = function (index ) {
619
635
private $ methods_ $ set_index(private $ ptr_ , index )
620
636
private $ index_ <- index
@@ -808,6 +824,7 @@ variable <- R6::R6Class(
808
824
alloc = dust_cpu_variable_alloc ,
809
825
run = dust_cpu_variable_run ,
810
826
simulate = dust_cpu_variable_simulate ,
827
+ run_adjoint = dust_cpu_variable_run_adjoint ,
811
828
set_index = dust_cpu_variable_set_index ,
812
829
n_state = dust_cpu_variable_n_state ,
813
830
update_state = dust_cpu_variable_update_state ,
@@ -828,6 +845,7 @@ variable <- R6::R6Class(
828
845
alloc = dust_gpu_variable_alloc ,
829
846
run = dust_gpu_variable_run ,
830
847
simulate = dust_gpu_variable_simulate ,
848
+ run_adjoint = dust_gpu_variable_run_adjoint ,
831
849
set_index = dust_gpu_variable_set_index ,
832
850
n_state = dust_gpu_variable_n_state ,
833
851
update_state = dust_gpu_variable_update_state ,
@@ -882,6 +900,10 @@ variable <- R6::R6Class(
882
900
m
883
901
},
884
902
903
+ run_adjoint = function () {
904
+ private $ methods_ $ run_adjoint(private $ ptr_ )
905
+ },
906
+
885
907
set_index = function (index ) {
886
908
private $ methods_ $ set_index(private $ ptr_ , index )
887
909
private $ index_ <- index
@@ -1075,6 +1097,7 @@ volatility <- R6::R6Class(
1075
1097
alloc = dust_cpu_volatility_alloc ,
1076
1098
run = dust_cpu_volatility_run ,
1077
1099
simulate = dust_cpu_volatility_simulate ,
1100
+ run_adjoint = dust_cpu_volatility_run_adjoint ,
1078
1101
set_index = dust_cpu_volatility_set_index ,
1079
1102
n_state = dust_cpu_volatility_n_state ,
1080
1103
update_state = dust_cpu_volatility_update_state ,
@@ -1133,6 +1156,10 @@ volatility <- R6::R6Class(
1133
1156
m
1134
1157
},
1135
1158
1159
+ run_adjoint = function () {
1160
+ private $ methods_ $ run_adjoint(private $ ptr_ )
1161
+ },
1162
+
1136
1163
set_index = function (index ) {
1137
1164
private $ methods_ $ set_index(private $ ptr_ , index )
1138
1165
private $ index_ <- index
@@ -1326,6 +1353,7 @@ walk <- R6::R6Class(
1326
1353
alloc = dust_cpu_walk_alloc ,
1327
1354
run = dust_cpu_walk_run ,
1328
1355
simulate = dust_cpu_walk_simulate ,
1356
+ run_adjoint = dust_cpu_walk_run_adjoint ,
1329
1357
set_index = dust_cpu_walk_set_index ,
1330
1358
n_state = dust_cpu_walk_n_state ,
1331
1359
update_state = dust_cpu_walk_update_state ,
@@ -1384,6 +1412,10 @@ walk <- R6::R6Class(
1384
1412
m
1385
1413
},
1386
1414
1415
+ run_adjoint = function () {
1416
+ private $ methods_ $ run_adjoint(private $ ptr_ )
1417
+ },
1418
+
1387
1419
set_index = function (index ) {
1388
1420
private $ methods_ $ set_index(private $ ptr_ , index )
1389
1421
private $ index_ <- index
0 commit comments