Update examples

This commit is contained in:
Richard Berger
2020-09-17 17:08:13 -04:00
parent cf1ae7afa6
commit b4a1c9c24c
5 changed files with 11 additions and 11 deletions

View File

@ -23,12 +23,12 @@ from lammps import lammps
def end_of_step_callback(lmp):
L = lammps(ptr=lmp)
t = L.extract_global("ntimestep", 0)
t = L.extract_global("ntimestep")
print("### END OF STEP ###", t)
def post_force_callback(lmp, v):
L = lammps(ptr=lmp)
t = L.extract_global("ntimestep", 0)
t = L.extract_global("ntimestep")
print("### POST_FORCE ###", t)
"""