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

    Cylinder.Phi¶

    Cylinder.Phi(r, phi, z)¶

    Surface function of a cylinder

    \[\begin{split}\Phi(r,\phi,z)= \begin{bmatrix}r\cos(\phi)\\r\sin(\phi)\\z\end{bmatrix}\end{split}\]

    with radius \(r\), polar angle \(\phi\) and cylinder length \(z\).

    Parameters:
    rfloat

    Radius

    phifloat

    Polar angle

    zfloat

    Distance ins z-axis

    Returns:
    poslist

    Cartesian coordinates for given polar coordinates

    Back to top

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