Update python/examples/pylammps/elastic/elastic.py

Co-authored-by: Richard Berger <richard.berger@temple.edu>
This commit is contained in:
Evangelos Voyiatzis
2021-03-17 10:37:39 +01:00
committed by GitHub
parent 611eb306be
commit 05d6c1e757

View File

@ -179,7 +179,7 @@ def elastic():
L.box("tilt large") # to avoid termination if the final simulation box has a high tilt factor L.box("tilt large") # to avoid termination if the final simulation box has a high tilt factor
# use the OpenKIM model to set the energy interactions # use the OpenKIM model to set the energy interactions
L.kim_init(args.kim_model, "metal", "unit_conversion_mode") L.kim("init", args.kim_model, "metal", "unit_conversion_mode")
L.read_data(args.input_data_file) L.read_data(args.input_data_file)