-
Notifications
You must be signed in to change notification settings - Fork 641
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 progress output for get_farfields_array #856
Add progress output for get_farfields_array #856
Conversation
src/meep.hpp
Outdated
@@ -42,6 +42,8 @@ typedef float realnum; | |||
typedef double realnum; | |||
#endif | |||
|
|||
#define MIN_OUTPUT_TIME 4.0 // output no more often than this many seconds |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be renamed to MEEP_MIN_OUTPUT_TIME
if it is in the global header.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
I can't use the |
Added |
The output from running this PR on a test case involving python/examples/binary_grating_n2f.py is:
It would be useful to include the metric |
There is no interval progress output for
|
* Add progress output for get_farfields_array * Rename MIN_OUTPUT_TIME to MEEP_MIN_OUTPUT_TIME * Add get_farfields_array to time_sink
Closes #849.
@stevengj @oskooi