Skip to content

Commit

Permalink
Update test_NgIteration_HS.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
IlianPihlajamaa authored Oct 3, 2024
1 parent e72e6a3 commit 22b6df4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_NgIteration_HS.jl
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ kBT = 1.0
pot = HardSpheres(1.0)
system = SimpleLiquid(dims, ρ, kBT, pot)
closure = PercusYevick()
method = NgIteration(tolerance=10^-10, N_stages=5, M=M, verbose=false, max_iterations=10^3)
method = NgIteration(tolerance=10^-10, N_stages=5, M=M, verbose=false, max_iterations=10^3, dr=sqrt/(M+1))/(2π))
sol = solve(system, closure, method)
sol2 = solve(system, closure, Exact(M=M))
sol2 = solve(system, closure, Exact(M=M, dr=sqrt/(M+1))/(2π)))

atol = 0.1

Expand Down

0 comments on commit 22b6df4

Please sign in to comment.