Skip to content

Commit 265fb11

Browse files
Move Monte Carlo out
1 parent bba75af commit 265fb11

File tree

4 files changed

+0
-63
lines changed

4 files changed

+0
-63
lines changed

src/StochasticDiffEq.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@ module StochasticDiffEq
66
DataStructures, ResettableStacks
77
import DiffEqBase: solve
88

9-
10-
abstract AbstractMonteCarloSimulation
11-
129
include("algorithms.jl")
13-
include("stochastic_utils.jl")
1410
include("solve.jl")
1511
include("initdt.jl")
1612
include("integrators/integrator_utils.jl")
@@ -22,9 +18,6 @@ module StochasticDiffEq
2218
export StochasticDiffEqAlgorithm, EM, RKMil, SRA, SRI, SRIW1,
2319
SRA1
2420

25-
#Stochastic Utils
26-
export monte_carlo_simulation
27-
2821
#General Functions
2922
export solve
3023

src/stochastic_utils.jl

Lines changed: 0 additions & 50 deletions
This file was deleted.

test/sde/sde_additive_tests.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ println("Solve and Plot")
1212
sol =solve(prob,SRA(),dt=1/2^(3))
1313
sol =solve(prob,SRA1(),dt=1/2^(3))
1414

15-
#Now do the simulation 10000 times in parallel. Return an array
16-
solArr = monte_carlo_simulation(prob,SRA1(),dt=1//2^(3),numMonte=5)
1715

1816
#First index is the sime, so sol.timeseries[1,..] is the initial condition
1917
#Last indices are the indexes of the variables. Since our initial condition

test/sde/sde_twodimlinear_tests.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ sol = solve(prob,SRIW1(),dt=1/2^(3),save_timeseries=false)
1414

1515
sol = solve(prob,SRIW1(),dt=1/2^(3),progress=true,progress_steps=1)
1616

17-
18-
#Now do the simulation 5 times in parallel. Return an array
19-
solArr = monte_carlo_simulation(prob,SRIW1(),dt=1//2^(3),numMonte=5)
20-
2117
#TEST_PLOT && plot(sol,plot_analytic=true)
2218

2319
## Convergence Testing

0 commit comments

Comments
 (0)