Skip to main content

AngularMomentum

Trait AngularMomentum 

Source
pub trait AngularMomentum {
    type AngularMomentum;

    // Required methods
    fn angular_momentum(&self) -> &Self::AngularMomentum;
    fn angular_momentum_mut(&mut self) -> &mut Self::AngularMomentum;
}
Expand description

The rotational motion of a body: $\vec{L}$

AngularMomentum describes the rotational motion of the body in the body frame.

hoomd_md does not compute or utilize the angular momentum of sites.

§Units

The units of AngularMomentum are $[\mathrm{mass}^{1/2} \cdot \mathrm{length} \cdot \mathrm{energy}^{1/2}]$.

Required Associated Types§

Source

type AngularMomentum

Type that can express the angular momentum of a site or body.

Required Methods§

Source

fn angular_momentum(&self) -> &Self::AngularMomentum

The angular momentum of this site or body $[\mathrm{mass}^{1/2} \cdot \mathrm{length} \cdot \mathrm{energy}^{1/2}]$.

Source

fn angular_momentum_mut(&mut self) -> &mut Self::AngularMomentum

The mutable angular momentum of this site or body $[\mathrm{mass}^{1/2} \cdot \mathrm{length} \cdot \mathrm{energy}^{1/2}]$.

Implementors§