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

@ -57,7 +57,7 @@ if color == 0:
lmp.scatter_atoms("x",1,3,x)
lmp.command("run 1");
f = lmp.extract_atom("f",3)
f = lmp.extract_atom("f")
print("Force on 1 atom via extract_atom: ",f[0][0])
fx = lmp.extract_variable("fx","all",1)