pymead.optimization.objectives_and_constraints.Constraint#
- class Constraint(func_str: str)[source]#
Bases:
ObjectiveConstraintSubclass of
ObjectiveConstraintsimply specifying the object as an Constraint.- Parameters:
func_str (str) – Function string to pass to
ObjectiveConstraint’s__init__.
- __init__(func_str: str)[source]#
Objective or Constraint used in shape optimization. Allows for dynamic updates and equation validity checking inside the GUI.
- Parameters:
func_str (str) – Function string used to define the Objective or Constraint from the
aero_datadictionary output from thecalc_aero_data.
Methods