print warning when using pair_write on EAM pair style

This commit is contained in:
Axel Kohlmeyer 2020-01-16 16:51:32 -05:00
parent 070bb8c5cd
commit 79f9ede38a
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 2 additions and 0 deletions

View File

@ -1664,6 +1664,8 @@ void Pair::write_file(int narg, char **arg)
Pair *epair = force->pair_match("^eam",0);
if (epair) epair->swap_eam(eamfp,&eamfp_hold);
if ((comm->me == 0) && (epair))
error->warning(FLERR,"EAM pair style. Table will not include embedding term");
// if atom style defines charge, swap in dummy q vec