pub trait WangLandauEnergy<Energy>: WangLandau {
    // Required method
    fn energy(&self) -> Option<&Energy>;
}
Expand description

trait to request the current energy from a WangLandau simulation

  • None if the energy was not calculated yet
  • See also WangLandauEEH

Required Methods§

source

fn energy(&self) -> Option<&Energy>

returns the last accepted Energy calculated None if no energy was calculated yet

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Hist, R, E, S, Res, Energy> WangLandauEnergy<Energy> for WangLandau1T<Hist, R, E, S, Res, Energy>

source§

impl<R, E, S, Res, Hist, Energy> WangLandauEnergy<Energy> for WangLandauAdaptive<Hist, R, E, S, Res, Energy>