pfss

pfsspy.pfss(input)

Compute PFSS model.

Extrapolates a 3D PFSS using an eigenfunction method in \(r,s,p\) coordinates, on the dumfric grid (equally spaced in \(\rho = \ln(r/r_{sun})\), \(s= \cos(\theta)\), and \(p=\phi\)).

Parameters:

input (Input) – Input parameters.

Returns:

out

Return type:

Output

Notes

In order to avoid numerical issues, the monopole term (which should be zero for a physical magnetic field anyway) is explicitly excluded from the solution.

The output should have zero current to machine precision, when computed with the DuMFriC staggered discretization.