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

Field dumps with python interface #65

Closed
matthuszagh opened this issue Dec 20, 2019 · 1 comment
Closed

Field dumps with python interface #65

matthuszagh opened this issue Dec 20, 2019 · 1 comment

Comments

@matthuszagh
Copy link

matthuszagh commented Dec 20, 2019

I'm trying to get an E-field dump that I can visualize with vtk. However, I'm having trouble getting this to work with python (worked fine whenever I did it with octave).

For example, if I run python Rect_Waveguide.py from the Tutorials folder, the simulation appears to run fine (I don't see any errors in the output, and both plots are generated), but I don't see any Et... files. The following should be the only lines necessary to create the dump files, right (not including the call to Run())?

Et = CSX.AddDump('Et', file_type=0, sub_sampling=[2,2,2])
start = [0, 0, 0];
stop  = [a, b, length];
Et.AddBox(start, stop);
@matthuszagh
Copy link
Author

Nevermind... The error is on my end. Your example works fine. Sorry for the false report.

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

1 participant