@@ -60,7 +60,7 @@ rel_tol = 0.02
6060times = 0.0 : (tf / num_time_points): tf
6161
6262algs = [NSM (), DirectCRDirect ()]
63- grids = [CartesianGridRej (dims), CartesianGridIter (dims), Graphs. grid (dims)]
63+ grids = [CartesianGridRej (dims), Graphs. grid (dims)]
6464jump_problems = JumpProblem[JumpProblem (prob, algs[2 ], majumps,
6565 hopping_constants = hopping_constants,
6666 spatial_system = grid,
@@ -80,7 +80,7 @@ for alg in algs
8080 spatial_system = grids[1 ], save_positions = (false , false )))
8181 push! (jump_problems,
8282 JumpProblem (prob, alg, majumps, hopping_constants = hop_constants,
83- spatial_system = grids[3 ], save_positions = (false , false )))
83+ spatial_system = grids[end ], save_positions = (false , false )))
8484end
8585
8686# hop rates of form L_{s,i,j}
@@ -96,7 +96,7 @@ for alg in algs
9696 spatial_system = grids[1 ], save_positions = (false , false )))
9797 push! (jump_problems,
9898 JumpProblem (prob, alg, majumps, hopping_constants = hop_constants,
99- spatial_system = grids[3 ], save_positions = (false , false )))
99+ spatial_system = grids[end ], save_positions = (false , false )))
100100end
101101
102102# hop rates of form D_s * L_{i,j}
@@ -113,7 +113,7 @@ for alg in algs
113113 push! (jump_problems,
114114 JumpProblem (prob, alg, majumps,
115115 hopping_constants = Pair (species_hop_constants, site_hop_constants),
116- spatial_system = grids[3 ], save_positions = (false , false )))
116+ spatial_system = grids[end ], save_positions = (false , false )))
117117end
118118
119119# hop rates of form D_{s,i} * L_{i,j}
@@ -130,7 +130,7 @@ for alg in algs
130130 push! (jump_problems,
131131 JumpProblem (prob, alg, majumps,
132132 hopping_constants = Pair (species_hop_constants, site_hop_constants),
133- spatial_system = grids[3 ], save_positions = (false , false )))
133+ spatial_system = grids[end ], save_positions = (false , false )))
134134end
135135
136136# testing
0 commit comments