Jonas Greitemann
authored
This is the mechanism used to supply the `parallel_tempering` update in the frustmag sim with a reference to the `pt_adapter` to invoke `negotiate_update`. The previous solution was ugly (required tons of metaprogramming to fiddle through the update muxer). We now pass a reference to the simulation as an addition ctor argument to all updates. The update ctors can choose to bind these additional arguments or absorb them in a variadic argument pack.
Name | Last commit | Last update |
---|---|---|
.. | ||
hamiltonian | ||
lattice | ||
site | ||
test | ||
update | ||
.gitignore | ||
CMakeLists.txt | ||
concepts.hpp | ||
config_frustmag_sim.hpp | ||
frustmag.hpp | ||
frustmag_config_policy.hpp | ||
main.cpp | ||
observables.hpp | ||
std_concepts.hpp |