FortranTracer¶
-
class
pfsspy.tracing.
FortranTracer
(max_steps=1000, step_size=0.1)¶ Bases:
pfsspy.tracing.Tracer
Tracer using Fortran code.
- Parameters
- max_steps: int, optional
Maximum number of steps each streamline can take before stopping.
- step_sizefloat, optional
Step size as a fraction of cell size at the equator.
Notes
Because the stream tracing is done in spherical coordinates, there is a singularity at the poles (ie. \(s = \pm 1\)), which means seeds placed directly on the poles will not go anywhere.
Methods Summary
trace
(self, seeds, output)- Parameters
Methods Documentation
-
trace
(self, seeds, output)¶ - Parameters
- seeds(n, 3) array
Coordinaes of the magnetic field seed points, in cartesian coordinates.
- outputpfsspy.Output
pfss output.
- Returns
- streamlinesFieldLines
Traced field lines.