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

Refactor of internal data structures and some cleanups. #1693

Merged
merged 52 commits into from
Sep 21, 2020

Conversation

naylor-b
Copy link
Member

  • _var*abs2meta split into input/output subdicts
  • removed _varabs_names. Now using the ordered iteration of _varabs2meta
  • small speedups/cleanups to ExecComp getitem/setitem
  • _setup_var_sizes now only does Allgather for nonlinear sizes and uses nonlinear sizes to determine all other size arrays
  • changed _setup_var_index_maps to be callable for each vec_name
  • removed _loc_subsys_map
  • removed _subsystems_var_range
  • removed _subsystems_inds
  • _subsystems_allprocs is now an ordered dict with entries containing the system and its index
  • added a get_source function to reduce the need for direct access to stuff in system._problem_meta
  • fixed units related error messages to include unit strings

@project-bot project-bot bot added this to In progress in OpenMDAO Dev [Read only] Sep 21, 2020
OpenMDAO Dev [Read only] automation moved this from In progress to Reviewer approved Sep 21, 2020
@swryan swryan merged commit e18df7c into OpenMDAO:master Sep 21, 2020
OpenMDAO Dev [Read only] automation moved this from Reviewer approved to Done Sep 21, 2020
hschilling pushed a commit to hschilling/OpenMDAO that referenced this pull request Feb 24, 2021
* fix for removal of _loc_subsys_map

* getting rid of direct access to model_ref
@naylor-b naylor-b deleted the refactor branch March 8, 2022 13:37
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
Development

Successfully merging this pull request may close these issues.

None yet

3 participants