-
Notifications
You must be signed in to change notification settings - Fork 240
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
Conversation
openmdao/drivers/scipy_optimizer.py
Outdated
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'): |
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.
Instead of 'input' replace these ones with 'option'.
openmdao/drivers/scipy_optimizer.py
Outdated
for input in self._designvars.values(): | ||
size = input['global_size'] if input['distributed'] else input['size'] | ||
ninput += size | ||
x_init = np.empty(ninput) |
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.
to be technical, let's replace these with 'ndesvar' and 'desvar' instead of input.
openmdao/surrogate_models/kriging.py
Outdated
@@ -131,7 +131,7 @@ def train(self, x, y): | |||
|
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.
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.
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