Skip to content
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

Replaced N2 & doc instances of param/unknown with input/output #1570

Merged
merged 5 commits into from
Jul 29, 2020

Conversation

tadkollar
Copy link
Member

Summary

The N2 code and several areas of the docs still referenced param/unknown terms instead of input/output. These were updated, and a few other areas of N2 code were cleaned up as well.

Related Issues

Backwards incompatibilities

None

New Dependencies

None

@project-bot project-bot bot added this to In progress in OpenMDAO Dev [Read only] Jul 27, 2020
for param in ('minimizer_kwargs', 'sampling_method ', 'n', 'iters'):
if param in self.opt_settings:
kwargs[param] = self.opt_settings[param]
for input in ('minimizer_kwargs', 'sampling_method ', 'n', 'iters'):
Copy link
Member

Choose a reason for hiding this comment

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

Instead of 'input' replace these ones with 'option'.

for input in self._designvars.values():
size = input['global_size'] if input['distributed'] else input['size']
ninput += size
x_init = np.empty(ninput)
Copy link
Member

Choose a reason for hiding this comment

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

to be technical, let's replace these with 'ndesvar' and 'desvar' instead of input.

@@ -131,7 +131,7 @@ def train(self, x, y):

Copy link
Member

Choose a reason for hiding this comment

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

Revert all of these changes in kriging.py. The use of param here has nothing to do with openmdao inputs. It's the kriging model hyperparameters.

@project-bot project-bot bot moved this from In progress to Under review in OpenMDAO Dev [Read only] Jul 28, 2020
OpenMDAO Dev [Read only] automation moved this from Under review to Reviewer approved Jul 29, 2020
@swryan swryan merged commit 7a67e8c into OpenMDAO:master Jul 29, 2020
OpenMDAO Dev [Read only] automation moved this from Reviewer approved to Done Jul 29, 2020
@tadkollar tadkollar deleted the n2terms1346 branch July 29, 2020 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
3 participants