pub struct HamiltonianFunction {
pub name: String,
pub phase_space: String,
pub energy: f64,
}Expand description
A Hamiltonian function H : T*M → ℝ encoding the total energy of a system.
Fields§
§name: StringDescriptive name (e.g. “simple harmonic oscillator”)
phase_space: StringName of the phase space T*M
energy: f64Characteristic energy value (e.g. amplitude)
Auto Trait Implementations§
impl Freeze for HamiltonianFunction
impl RefUnwindSafe for HamiltonianFunction
impl Send for HamiltonianFunction
impl Sync for HamiltonianFunction
impl Unpin for HamiltonianFunction
impl UnsafeUnpin for HamiltonianFunction
impl UnwindSafe for HamiltonianFunction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more