regcoil.UniformArclength

class regcoil.UniformArclength(measure='3d', refinement=8)

Make |dr/dtheta| at fixed zeta independent of theta.

Parameters:
  • measure ({"3d", "poloidal"}) – “3d” (default) uses the true arclength of the constant-zeta curve, sqrt(R’^2 + Z’^2 + R^2 nu’^2). “poloidal” uses its projection into the R-Z plane, sqrt(R’^2 + Z’^2) – what the legacy Fortran geometry_option_coil=4 computed. The two are identical when nu = 0.

  • refinement (int) – The quadrature grid is refinement * ntheta points per zeta.

__init__(measure='3d', refinement=8)
Parameters:
  • measure (str)

  • refinement (int)

Return type:

None

Methods

__init__([measure, refinement])

Attributes

measure

refinement