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 create_atoms function to LAMMPS.jl #60

Merged
merged 14 commits into from
Aug 14, 2024
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ end
lmp, "v", LAMMPS_DOUBLE_2D
))

@test_throws ArgumentError create_atoms(lmp, x[1:2,:], id, types, v=v, image=image, bexpand=true)
@test_throws ArgumentError create_atoms(lmp, x[1:2,:], id, types; v, image, bexpand=true)
@test_throws ArgumentError create_atoms(lmp, x, id[1:99], types, v=v, image=image, bexpand=true)
@test_throws ArgumentError create_atoms(lmp, x, id, types[1:99], v=v, image=image, bexpand=true)
@test_throws ArgumentError create_atoms(lmp, x, id, types, v=v[1:2,:], image=image, bexpand=true)
jmeziere marked this conversation as resolved.
Show resolved Hide resolved
Expand Down