We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Summary
I found two issues with pair_style extep:
pair_coeff
NULL
LAMMPS Version and Platform
Current master, Linux
Expected Behavior
pair_coeff B
pair_style hybrid
pair_coeff * * BN.extep B N NULL
Actual Behavior
Steps to Reproduce
First: region u sphere 0 0 0 10 create_box 1 u pair_style extep pair_coeff * * BN.extep N
Second: region u sphere 0 0 0 10 create_box 3 u pair_style hybrid/overlay extep lj/cut 4.0 pair_coeff * * extep BN.extep N B NULL
Further Information, Files, and Links
I'm not sure what is the cause for the first problem, but the second issue can be resolved by changing atom->ntypes to nelements in line:
atom->ntypes
nelements
lammps/src/USER-MISC/pair_extep.cpp
Line 708 in 0849e03
EDIT: The change fixes problem only if NULL is the last atom type(s), so it isn't a whole solution.
The text was updated successfully, but these errors were encountered:
Am looking into it. There are several places where edits are needed for systems with only one element or for use with pair style hybrid.
Sorry, something went wrong.
I think I solved it, please see the PR.
akohlmey
Successfully merging a pull request may close this issue.
Summary
I found two issues with pair_style extep:
pair_coeff
.NULL
is used inpair_coeff
.LAMMPS Version and Platform
Current master, Linux
Expected Behavior
pair_coeff B
.pair_style hybrid
line likepair_coeff * * BN.extep B N NULL
should be accepted.Actual Behavior
Steps to Reproduce
First:
region u sphere 0 0 0 10
create_box 1 u
pair_style extep
pair_coeff * * BN.extep N
Second:
region u sphere 0 0 0 10
create_box 3 u
pair_style hybrid/overlay extep lj/cut 4.0
pair_coeff * * extep BN.extep N B NULL
Further Information, Files, and Links
I'm not sure what is the cause for the first problem, but the second issue can be resolved by changing
atom->ntypes
tonelements
in line:lammps/src/USER-MISC/pair_extep.cpp
Line 708 in 0849e03
EDIT: The change fixes problem only if
NULL
is the last atom type(s), so it isn't a whole solution.The text was updated successfully, but these errors were encountered: