Skip to content

Disabled check_partials of Dymos core components by default. #686

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

Merged
merged 9 commits into from
Dec 1, 2021

Conversation

robfalck
Copy link
Contributor

Summary

Dymos option 'include_check_partials' now gets its default value from the environment variable DYMOS_CHECK_PARTIALS, if defined. Otherwise it defaults to False.

Added tests that test partials for a few of the larger Dymos examples, with three transcriptions that support derivatives, to verify that no Dymos-related core components show up in partials checks when they shoudln't.

Related Issues

Backwards incompatibilities

Default value for dymos.options['include_check_partials'] is now False.

New Dependencies

None

@coveralls
Copy link

coveralls commented Nov 24, 2021

Coverage Status

Coverage increased (+0.07%) to 95.434% when pulling 0799248 on robfalck:check_partials_env_variable into 34e6563 on OpenMDAO:master.

…nscription classes (continuity comp) that was already handled in the PseudospectralBase class
@@ -211,8 +218,6 @@ def test_polynomial_control_group_scalar_radau(self):
promotes_inputs=['*'],
promotes_outputs=['*'])

# p.model.connect('dt_dstau', 'control_interp_comp.dt_dstau')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's 3 other occurrences of this line in the file. Delete all of them?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.

@robfalck robfalck merged commit 3052887 into OpenMDAO:master Dec 1, 2021
@robfalck robfalck deleted the check_partials_env_variable branch August 25, 2022 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

_no_check_partials has the wrong default value.
4 participants