Trait sampling::entropic_sampling::EntropicEnsemble
source · pub trait EntropicEnsemble<E>: Entropic {
// Required methods
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
returns mutable reference to ensemble
Safety
- If, whatever you do with the ensemble, changes the energy of the current state, you cannot trust the results of entropic sampling anymore
- use with care
Object Safety§
This trait is not object safe.