Skip to content

Commit

Permalink
decrease leaf size for unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
rymanderson committed Jun 22, 2024
1 parent a1397e8 commit bd52d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1355,7 +1355,7 @@ system_direct = Gravitational(bodies)
system_fmm = deepcopy(system_direct)

FastMultipole.direct!(system_direct)
tree, m2l_list, direct_list, derivatives_switches = FastMultipole.fmm!(system_fmm; scalar_potential=true, vector_potential=true, velocity=true, velocity_gradient=true, expansion_order=30, multipole_threshold=0.4, leaf_size=5, influence_matrices=true)
tree, m2l_list, direct_list, derivatives_switches = FastMultipole.fmm!(system_fmm; scalar_potential=true, vector_potential=true, velocity=true, velocity_gradient=true, expansion_order=30, multipole_threshold=0.4, leaf_size=3, influence_matrices=true)

@test isapprox(system_direct.potential, system_fmm.potential)

Expand Down

0 comments on commit bd52d42

Please sign in to comment.