Skip to content

save meep object to a file #2013

Answered by oskooi
pavlo2014 asked this question in Q&A
Discussion options

You must be logged in to vote

There is already a built-in feature for loading and saving the simulation state to an HDF5 file: https://meep.readthedocs.io/en/latest/Python_User_Interface/#load-and-dump-simulation-state.

For some examples, see the unit tests: https://github.com/NanoComp/meep/blob/master/python/tests/test_dump_load.py.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by stevengj
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants