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