polymers 0.3.7

Polymers Modeling Library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use pyo3::prelude::*;

pub fn register_module(py: Python<'_>, parent_module: &PyModule) -> PyResult<()>
{
    let single_chain = PyModule::new(py, "single_chain")?;
    super::ideal::py::register_module(py, single_chain)?;
    super::fjc::py::register_module(py, single_chain)?;
    super::efjc::py::register_module(py, single_chain)?;
    super::swfjc::py::register_module(py, single_chain)?;
    super::ufjc::py::register_module(py, single_chain)?;
    super::wlc::py::register_module(py, single_chain)?;
    parent_module.add_submodule(single_chain)?;
    Ok(())
}