desc.objectives.get_fixed_axis_constraints
- class desc.objectives.get_fixed_axis_constraints(eq=None, profiles=True, iota=True, kinetic=False, anisotropy=False, normalize=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.
kinetic (bool) – Whether to add constraints to fix kinetic profiles or pressure
anisotropy (bool) – Whether to add constraint to fix anisotropic pressure.
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.