Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/libraries/nSampling.jl
Original file line number Diff line number Diff line change
Expand Up @@ -295,13 +295,13 @@ function merge_rates!(old,to_add)
old[key][2] += to_add[key][2]
end
end
function run_NS(NS::NS,LJ::LennardJones.model)
function run_NS(NS::NS,LJ::LennardJones.model, output_file)

V = (NS.n_walkers - NS.n_cull + 1)/(NS.n_walkers + 1)
cDir = pwd()

i = 1
ns_io = open(joinpath(cDir,"NS.out"),"w")
ns_io = open(joinpath(cDir, output_file),"w")
@printf(ns_io, "N_walkers = %6.2f\n",NS.n_walkers)
@printf(ns_io, "N_cull = %4d\n",NS.n_cull)
@printf(ns_io, "N_steps_per_walker = %6d\n", NS.n_iter)
Expand Down
Binary file added src/my_files/Figure_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading