Skip to content
Snippets Groups Projects
Commit b3fcdf4d authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@921 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 54aba634
No related branches found
No related tags found
No related merge requests found
...@@ -108,6 +108,9 @@ int FixLangevin::setmask() ...@@ -108,6 +108,9 @@ int FixLangevin::setmask()
void FixLangevin::init() void FixLangevin::init()
{ {
if (atom->mass == NULL)
error->all("Cannot use fix langevin without per-type mass defined");
// set force prefactors // set force prefactors
for (int i = 1; i <= atom->ntypes; i++) { for (int i = 1; i <= atom->ntypes; i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment