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

example#bend90.py Error #2

Open
allesmnichts opened this issue Mar 15, 2021 · 2 comments
Open

example#bend90.py Error #2

allesmnichts opened this issue Mar 15, 2021 · 2 comments

Comments

@allesmnichts
Copy link

I have successfully installed MEEP. However when I tried the example bend90 (without any modification) in this program, there are some problems as the images below show. The first image is 2D simulation and the second is 3D simulation. I saw the simulate.py and found that "xyzw = sim.get_array_metadata(center=src.center, size=extents)". Function sim.get_array_metadata returns a tuple. And author try to reshape xyzw. I tried but failed to make this example work well. Any help is appreciated, thank you!

image

image

@minxpan
Copy link

minxpan commented Apr 5, 2021

I also have the same issue.

@DanielSKrueger
Copy link

I have the same issue - anyone ever solve this?

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

No branches or pull requests

3 participants