Closed Lazersmoke closed 1 year ago
https://github.com/SunnySuite/Sunny.jl/blob/188846860b8fb6a447f8400f854311c340003b68/src/System/OnsiteCoupling.jl#L144
I use this in parameter sweeps, where set_onsite_coupling!(sys, <zero matrix>, 1) goes after set_onsite_coupling!(sys, +0.1 * Sz^2, 1) and should remove that coupling
set_onsite_coupling!(sys, <zero matrix>, 1)
set_onsite_coupling!(sys, +0.1 * Sz^2, 1)
Agreed.
https://github.com/SunnySuite/Sunny.jl/blob/188846860b8fb6a447f8400f854311c340003b68/src/System/OnsiteCoupling.jl#L144
I use this in parameter sweeps, where
set_onsite_coupling!(sys, <zero matrix>, 1)
goes afterset_onsite_coupling!(sys, +0.1 * Sz^2, 1)
and should remove that coupling