Grid

class pfsspy.Grid(ns, nphi, nr, rss)

Bases: object

Grid on which the solution is calculated.

The grid is evenly spaced in (cos(theta), phi, log(r)). See pfsspy.coords for more information.

Attributes Summary

dp

Cell size in phi.

dr

Cell size in log(r).

ds

Cell size in cos(theta).

pc

Location of the centre of cells in phi.

pg

Location of the edges of grid cells in phi.

rc

Location of the centre of cells in log(r).

rg

Location of the edges of grid cells in log(r).

sc

Location of the centre of cells in cos(theta).

sg

Location of the edges of grid cells in cos(theta).

Attributes Documentation

dp

Cell size in phi.

dr

Cell size in log(r).

ds

Cell size in cos(theta).

pc

Location of the centre of cells in phi.

pg

Location of the edges of grid cells in phi.

rc

Location of the centre of cells in log(r).

rg

Location of the edges of grid cells in log(r).

sc

Location of the centre of cells in cos(theta).

sg

Location of the edges of grid cells in cos(theta).