conatus.expert.SphericalCoordinates

class conatus.expert.SphericalCoordinates(azimuth, colatitude, radius)[source]

Bases: CoordinateSystem

(phi, theta, r) for the ball and the spherical shell.

Metric dr^2 + r^2 dtheta^2 + r^2 sin^2 theta dphi^2. Angular dependence: spin-weighted spherical harmonics (as S2Coordinates) with spin components (u_-, u_+, u_r); radial dependence: ShellBasis (Chebyshev, rows multiplied by a declared power of r) or BallBasis (regularity components r^(l+sigma) times Jacobi polynomials in 2r^2 - 1, regular at the centre; Vasil et al. 2019, Lecoanet et al. 2019). Nothing is ever divided by r + eps or sin(theta) + eps.

Parameters:
  • azimuth (str)

  • colatitude (str)

  • radius (str)

kind = 'Spherical'
curvilinear = True
singularity = 'r = 0 (centre) and theta = 0, pi (poles)'
scale_factors()[source]
Return type:

tuple

metric()[source]
Return type:

str

regularity()[source]
Return type:

str

explain()[source]
Return type:

str