Trait net_ensembles::sampling::wang_landau::WangLandauEnsemble
source · [−]pub trait WangLandauEnsemble<E>: WangLandau {
fn ensemble(&self) -> &E;
unsafe fn ensemble_mut(&mut self) -> &mut E;
}
Expand description
Required Methods
sourceunsafe fn ensemble_mut(&mut self) -> &mut E
unsafe fn ensemble_mut(&mut self) -> &mut E
mutable reference to current state
- unsafe you should not make any changes, that effect the energy state of the system. otherwise the WangLandau simulations will give false results!