PoreMS 0.2
  • API
  • Process
  • Molecule
  • Pore
  • Workflow
  • Site
    • Page
        • Cylinder.Phi

    Cylinder.Phi¶

    Cylinder.Phi(self, 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:
    r : float

    Radius

    phi : float

    Polar angle

    z : float

    Distance ins z-axis

    Returns:
    pos : list

    Cartesian coordinates for given polar coordinates

    Back to top

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