silence bogus warning about atom IDs with dump image/movie

This commit is contained in:
Axel Kohlmeyer
2023-01-07 15:18:29 -05:00
parent 141a6208a9
commit 1556460b8f

View File

@ -71,6 +71,10 @@ DumpImage::DumpImage(LAMMPS *lmp, int narg, char **arg) :
binary = 1;
multifile_override = 0;
// flag has_id as true to avoid bogus warnings about atom IDs for dump styles derived from DumpCustom
has_id = true;
// set filetype based on filename suffix
int n = strlen(filename);