You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
creates bound constraints on the coefficients of the control, but these do not correspond to bound constraints on the control itself if this is discretized with, e.g., quadratic finite elements. Setting mesh-independent control-constraints in such instances may be challenging. I suggest printing a warning error if the control is not a piecewise continuous or piecewise linear function.
The text was updated successfully, but these errors were encountered:
The code here:
pyadjoint/pyadjoint/optimization/optimization.py
Line 25 in 908b636
creates bound constraints on the coefficients of the control, but these do not correspond to bound constraints on the control itself if this is discretized with, e.g., quadratic finite elements. Setting mesh-independent control-constraints in such instances may be challenging. I suggest printing a warning error if the control is not a piecewise continuous or piecewise linear function.
The text was updated successfully, but these errors were encountered: