desc.objectives.get_fixed_axis_constraints

class desc.objectives.get_fixed_axis_constraints(profiles=True, iota=True)[source]

Get the constraints necessary for a fixed-axis equilibrium problem.

Parameters:
  • profiles (bool) – Whether to also return constraints to fix input profiles.

  • iota (bool) – Whether to add FixIota or FixCurrent as a constraint.

Returns:

constraints, tuple of _Objectives – A list of the linear constraints used in fixed-axis problems.