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

pass optimized grid size to MPB mode solver #1243

Closed
stevengj opened this issue Jun 10, 2020 · 0 comments · Fixed by #1244
Closed

pass optimized grid size to MPB mode solver #1243

stevengj opened this issue Jun 10, 2020 · 0 comments · Fixed by #1244

Comments

@stevengj
Copy link
Collaborator

When calling the MPB mode solver, the resolution of the MPB solve is somewhat arbitrary compared to the Meep grid. Since we can choose it freely, we should "round" the size up to the next highly factorizable size (power of 2,3,5,7) similar to the optimize-grid-size! function in MPB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant