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

    Sphere.d_Phi_phi¶

    Sphere.d_Phi_phi(r, theta, phi)¶

    Derivative of the surface function considering the polar angle \(\phi\)

    \[\begin{split}\frac{\partial\Phi}{\partial\phi}(r,\phi,\theta)= \begin{bmatrix}-r\sin(\phi)\sin(\theta)\\r\cos(\phi)\sin(\theta)\\0\end{bmatrix}\end{split}\]

    with radius \(r\), polar angle \(\phi\) and azimuthal angle \(\theta\).

    Parameters:
    rfloat

    Radius

    thetafloat

    Azimuth angle

    phifloat

    Polar angle

    Returns:
    poslist

    Cartesian coordinates for given spherical coordinates

    Back to top

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