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

    Sphere.d_Phi_theta¶

    Sphere.d_Phi_theta(r, theta, phi)¶

    Derivative of the surface function considering the azimuthal angle \(\theta\)

    \[\begin{split}\frac{\partial\Phi}{\partial\theta}(r,\phi,\theta)= \begin{bmatrix}r\cos(\phi)\cos(\theta)\\r\sin(\phi)\cos(\theta)\\-r\sin(\theta)\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.