Skip to content

Commit

Permalink
Make it easier to run continuation runs (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsch authored Jul 9, 2024
1 parent d611889 commit d133a52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pmc_simulation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function PMCSimulation(problem::ProjectorMonteCarloProblem; copy_vectors=true)
@unpack shift, time_step = initial_shift_parameters
set_up_initial_shift_parameters(algorithm, hamiltonian, vectors, shift, time_step)
else
initial_shift_parameters
SMatrix{n_spectral,n_replicas}(initial_shift_parameters...)
end
@assert shift_parameters isa SMatrix{n_spectral,n_replicas}

Expand Down
2 changes: 1 addition & 1 deletion src/projector_monte_carlo_problem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ julia> size(DataFrame(simulation))
- `ξ = ζ^2/4`: Forcing parameter for the shift update.
- `shift_strategy = DoubleLogUpdate(; targetwalkers, ζ, ξ)`: How to update the `shift`,
see [`ShiftStrategy`](@ref).
- `time_step_strategy = ConstantTimeStep()``: Adjust time step or not, see
- `time_step_strategy = ConstantTimeStep()`: Adjust time step or not, see
`TimeStepStrategy`.
- `algorithm = FCIQMC(; shift_strategy, time_step_strategy)`: The algorithm to use.
Currenlty only [`FCIQMC`](@ref) is implemented.
Expand Down

0 comments on commit d133a52

Please sign in to comment.