PoreMS 0.3
  • API
  • Molecule
  • Pore
  • Workflow
  • Pore shape examples
  • Site
    • Page
        • Molecule.com
          • Molecule.com()
    • Molecule.com
      • Molecule.com()
    Source

    Molecule.com¶

    Molecule.com()¶

    Calculate the center of mass

    \[\text{com}=\begin{pmatrix}c_1&c_2&\dots&c_n\end{pmatrix}^T\]

    with

    \[c_i=\frac{1}{\sum_j^mM_j}\sum_j^m d_{ij}\cdot M_j\]

    and mass \(M\). Hereby \(i\dots n\) stands for the dimension and \(j\dots m\) for the molecule.

    Returns:
    COMlist

    Center of mass

    Back to top

    © Copyright 2021, Hamzeh Kraus.
    Created using Sphinx 7.4.6.