#[cfg(feature = "python")]
pub mod py;
mod test;
pub mod thermodynamics;
pub struct WLC
{
pub hinge_mass: f64,
pub link_length: f64,
pub number_of_links: u8,
pub persistance_length: f64,
pub thermodynamics: self::thermodynamics::WLC
}
impl WLC
{
pub fn init(number_of_links: u8, link_length: f64, hinge_mass: f64, persistance_length: f64) -> Self
{
WLC
{
hinge_mass,
link_length,
number_of_links,
persistance_length,
thermodynamics: self::thermodynamics::WLC::init(number_of_links, link_length, hinge_mass, persistance_length),
}
}
}