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

Add %newobject to create_structure_and_set_materials #1039

Closed
wants to merge 1 commit into from
Closed

Add %newobject to create_structure_and_set_materials #1039

wants to merge 1 commit into from

Conversation

jeinarsson
Copy link
Contributor

Without this decorator the memory allocated in meep::structure
is never recovered, because ~structure is never run.

Fixes #1038.

Without this decorator the memory allocated in meep::structure
is never recovered, because ~structure is never run.

Fixes #1038.
@ChristopherHogan
Copy link
Contributor

Thank you! This looks correct. The test failures are expected.

@ChristopherHogan
Copy link
Contributor

Replaced by #1042.

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.

Memory not freed up by Simulation
2 participants