pyoculus.toybox.cylindrical_toybox.A_squared

pyoculus.toybox.cylindrical_toybox.A_squared(rr: array, R: float, Z: float, sf: float, shear: float) Array

Holonomous component of the vector potential \(A\) for the squared circle equilibrium field.

Parameters:
  • rr (array) – Position vector in cylindrical coordinates.

  • R (float) – R coordinate of the center of the squared circle.

  • Z (float) – Z coordinate of the center of the squared circle.

  • sf (float) – Safety factor at \(\rho = 0\).

  • shear (float) – Shear of the \(q\)-profile.

Returns:

\(A\) field at position rr.

Return type:

array