-
Notifications
You must be signed in to change notification settings - Fork 56
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
Child FFD constraint tests and fixes #103
Merged
Merged
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
7bc1ebd
parameterizing DVCon tests to use child FFDs
sseraj 0d23ae7
Merge branch 'master' into dvcon-childFFD
sseraj 5fb6996
updated parent FFD path
sseraj 74de39a
split out geograd tests
sseraj 5e06463
child FFD fixes for linear constraints
sseraj f226e6a
renamed tests and ref files, clarified comments
sseraj ffac49d
refactoring planarity and tri vol to run with child FFDs
sseraj d4671d2
moved single DVGeo geograd tests back to parameterized class
sseraj 949864e
generalized c172 test DVs
sseraj c33030e
camel case changes
sseraj ab236b3
added curvature and LE radius tests
sseraj 5a65e5a
skip geograd class instead of test
sseraj 058cb27
updated docstrings and kwargs order
sseraj fb54855
generalized dvgeo, dvcon generation
sseraj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It took me a bit of code reading, but I see how this makes sense. We have a single DVcon object which "receives" the parent DVGeo, and we were previously applying the constraint to this object instead of the children (when present) as expected. This means that we now need to add one of these for each child ffd, right? Can you add a short description of what is going on and how to extract the
childIdx
index from DVGeo?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, without
childIdx
the constraint is applied on the parent. You only need to add this constraint to each FFD that needs it.childIdx
is defined by the order in which you add the child FFD to the parent (the first is 0, second is 1, etc.). I will update the docstrings to include this description.To be clear though, I took this approach directly from addLeTeConstraints which already worked with child FFDs.