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

Add method to save a simulation's reference values and units to file #97

Open
chrisjonesBSU opened this issue Nov 15, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@chrisjonesBSU
Copy link
Member

Right now, saving the information from a simulation to restart later (or use in a different simulation method such as tensile testing) is pretty easy since we can save both the state (gsd file) and forces (pickle) from a simulation. Really, we also need a way to save information about the simulation's reference values and units to file as well. In the simulation class, these are stored as a dictionary, so we can use pickles, npy files, json files, etc... I think we should pick one option for saving these, and add a save_reference_values method to Simulation.

@chrisjonesBSU chrisjonesBSU added enhancement New feature or request good first issue Good for newcomers labels Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant