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

Save more input variables in calc_md #547

Merged
merged 2 commits into from
Feb 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion pyiron_atomistics/atomistics/job/atomistic.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,18 @@ def calc_md(
self._generic_input["temperature"] = temperature
self._generic_input["n_ionic_steps"] = n_ionic_steps
self._generic_input["n_print"] = n_print
self._generic_input.remove_keys(["max_iter", "pressure"])
self._generic_input[
"temperature_damping_timescale"
] = temperature_damping_timescale
if pressure is not None:
self._generic_input["pressure"] = pressure
if pressure_damping_timescale is not None:
self._generic_input[
"pressure_damping_timescale"
] = pressure_damping_timescale
if time_step is not None:
self._generic_input["time_step"] = time_step
self._generic_input.remove_keys(["max_iter"])

def from_hdf(self, hdf=None, group_name=None):
"""
Expand Down