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

    Molecule._vector¶

    Molecule._vector(pos_a, pos_b)¶

    Calculate the vector between to two positions as defined in porems.geometry.vector with the addition to define the inputs as atom indices.

    Parameters:
    pos_ainteger, list

    First position \(\boldsymbol{a}\)

    pos_binteger, list

    Second position \(\boldsymbol{b}\)

    Returns:
    vectorlist

    Bond vector

    Back to top

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