4.2.2.7 pde.grids.coordinates.spherical module

class SphericalCoordinates[source]

Bases: CoordinatesBase

3-dimensional spherical coordinates

axes: list[str] = ['r', 'θ', 'φ']

Names of all axes that are described by the grid

Type:

list

coordinate_limits: list[tuple[float, float]] = [(0, inf), (0, 3.141592653589793), (0, 6.283185307179586)]

the limits of the actual coordinates

Type:

list of tuple

dim: int = 3

spatial dimension of the coordinates

Type:

int

major_axis = 0