desc.objectives.get_fixed_axis_constraints

class desc.objectives.get_fixed_axis_constraints(eq, profiles=True, normalize=True)Source

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

Parameters:
  • eq (Equilibrium) – Equilibrium to constrain.

  • profiles (bool) – If True, also include constraints to fix all profiles assigned to equilibrium.

  • normalize (bool) – Whether to apply constraints in normalized units.

Returns:

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