-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix_all() #215
Comments
For other functions and attributes of an @andrewgiuliani @florianwechsung @mbkumar what do you think? Sorry I didn't catch this sooner. |
Yes, |
I like Matt's proposal |
Fixed in #222 |
Agree it is confusing. Will issue a fix.
On Fri, Apr 15, 2022 at 3:38 PM Andrew Giuliani ***@***.***> wrote:
Assigned #215 <#215> to
@mbkumar <https://github.com/mbkumar>.
—
Reply to this email directly, view it on GitHub
<#215 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA62VEH76JCLF42VJ76DVFLVFHAU3ANCNFSM5TREJACQ>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
--
Bharat Medasani
Engineer
Princeton Plasma Physics Lab (PPPL)
|
fix_all() only fixes the dofs associated to the current Optimizable, and not it's ancestors.
This is confusing when working with, e.g., ScaledCurrent. Calling fix_all() on a ScaledCurrent does not fix the current at all.
After discussing with @florianwechsung, a proposed change would be to introduce a fix_full() or fix_local() to distinguish between these two use cases.
The text was updated successfully, but these errors were encountered: