forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1147 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
4327641cf8
commit
330404da45
|
@ -59,6 +59,7 @@ FixTMD::FixTMD(LAMMPS *lmp, int narg, char **arg) :
|
|||
atom->add_callback(0);
|
||||
|
||||
// make sure an atom map exists before reading in target coordinates
|
||||
|
||||
if (atom->map_style == 0)
|
||||
error->all("Cannot use fix TMD unless atom map exists");
|
||||
|
||||
|
|
Loading…
Reference in New Issue