evanberkowitz / isle

Lattice Monte-Carlo for carbon nano systems
https://evanberkowitz.github.io/isle/
MIT License
2 stars 4 forks source link

Proposers should return the new energy #4

Closed jl-wynen closed 5 years ago

jl-wynen commented 5 years ago

It can be very cheap to calculate the energy inside of a proposer. It might already be calculated by an integrator anyway. So just return it along with field and momentum.