pub struct FJC {
    pub hinge_mass: f64,
    pub link_length: f64,
    pub number_of_links: u8,
    pub thermodynamics: FJC,
}
Expand description

The structure of the FJC model.

Fields§

§hinge_mass: f64

The mass of each hinge in the chain in units of kg/mol.

§link_length: f64

The length of each link in the chain in units of nm.

§number_of_links: u8

The number of links in the chain.

§thermodynamics: FJC

The thermodynamic functions of the model.

Implementations§

The implemented functionality of the FJC model.

Initializes and returns an instance of the FJC model.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.