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

Store the binary partition in structure #1654

Merged
merged 1 commit into from
Jul 2, 2021

Conversation

ahoenselaar
Copy link
Contributor

  • Store the binary partition - whether passed in externally or generated
    via choose_chunkdivision in structure and expose it via a getter.
  • Remove the unused default constructor of structure.
  • Remove a redundant and unused copy constructor of structure.
  • Clean up the copy constructor of structure.
  • Make binary_partition copyable.

Prepares for making the BinaryPartition visible in Python (#1648).

* Store the binary partition - whether passed in externally or generated
via `choose_chunkdivision` in `structure` and expose it via a getter.
* Remove the unused default constructor of `structure`.
* Remove a redundant copy constructor of `structure`.
* Clean up the copy constructor `structure`.
* Make `binary_partition` copyable.

Prepares for making the BinaryPartition visible in Python (NanoComp#1648).
@stevengj stevengj merged commit 9d4a769 into NanoComp:master Jul 2, 2021
@stevengj
Copy link
Collaborator

stevengj commented Jul 2, 2021

LGTM, thanks.

@ahoenselaar ahoenselaar deleted the chunks branch July 2, 2021 15:32
bencbartlett pushed a commit to bencbartlett/meep that referenced this pull request Sep 9, 2021
* Store the binary partition - whether passed in externally or generated
via `choose_chunkdivision` in `structure` and expose it via a getter.
* Remove the unused default constructor of `structure`.
* Remove a redundant copy constructor of `structure`.
* Clean up the copy constructor `structure`.
* Make `binary_partition` copyable.

Prepares for making the BinaryPartition visible in Python (NanoComp#1648).
mawc2019 pushed a commit to mawc2019/meep that referenced this pull request Nov 3, 2021
* Store the binary partition - whether passed in externally or generated
via `choose_chunkdivision` in `structure` and expose it via a getter.
* Remove the unused default constructor of `structure`.
* Remove a redundant copy constructor of `structure`.
* Clean up the copy constructor `structure`.
* Make `binary_partition` copyable.

Prepares for making the BinaryPartition visible in Python (NanoComp#1648).
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.

2 participants