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

use_centered_grid #1095

Merged
merged 3 commits into from Jan 9, 2020
Merged

use_centered_grid #1095

merged 3 commits into from Jan 9, 2020

Conversation

smartalecH
Copy link
Collaborator

Closes #1092

Special thanks to @ChristopherHogan for help with the typemaps.

Added a test that just checks for proper execution -- it does not check if the underlying routine actually computes the correct DFT components at each yee grid point.

@stevengj
Copy link
Collaborator

stevengj commented Jan 8, 2020

It might be clearer to call this flag yee_grid=True in the Python API, passing !yee_grid for the use_centered_grid option?

@smartalecH
Copy link
Collaborator Author

Addressed with latest commit. Also modified the docs.

@stevengj stevengj merged commit 1e115f9 into NanoComp:master Jan 9, 2020
bencbartlett pushed a commit to bencbartlett/meep that referenced this pull request Sep 9, 2021
* add use_centered_grid

* fix parameter and add docs

* whoops
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.

option to get DFT fields at Yee grid points
2 participants