pub type Realization = ModelRealization<i8>;Aliased Type§
pub struct Realization {
pub couplings: Vec<f32>,
pub spins: Vec<i8>,
pub temperatures: Vec<f32>,
pub system_ids: Vec<usize>,
pub rngs: Vec<Xoshiro256StarStar>,
pub pair_rngs: Vec<Xoshiro256StarStar>,
pub energies: Vec<f32>,
/* private fields */
}Fields§
§couplings: Vec<f32>Forward couplings, length n_spins * n_neighbors.
spins: Vec<i8>All spin configurations, length n_systems * n_spins (±1 for Ising, unit vectors for XY).
temperatures: Vec<f32>Temperature assigned to each system slot, length n_systems.
system_ids: Vec<usize>Parallel-tempering permutation: system_ids[slot] is the system index
currently occupying temperature slot slot.
rngs: Vec<Xoshiro256StarStar>One PRNG per system.
pair_rngs: Vec<Xoshiro256StarStar>One PRNG per overlap-update pair slot, length n_temps * (n_replicas / 2).
energies: Vec<f32>Scratch cache of the interaction energy per system (-H/N), length
n_systems. It is current only right after a measurement or tempering step.