get rid of utils::boundsbig() by making it a template function with two specializations
This commit is contained in:
@ -633,7 +633,7 @@ void Set::selection(int n)
|
||||
if (atom->tag_enable == 0)
|
||||
error->all(FLERR,"Cannot use set atom with no atom IDs defined");
|
||||
bigint nlobig,nhibig;
|
||||
utils::boundsbig(FLERR,id,1,MAXTAGINT,nlobig,nhibig,error);
|
||||
utils::bounds(FLERR,id,1,MAXTAGINT,nlobig,nhibig,error);
|
||||
|
||||
tagint *tag = atom->tag;
|
||||
for (int i = 0; i < n; i++)
|
||||
@ -644,7 +644,7 @@ void Set::selection(int n)
|
||||
if (atom->molecule_flag == 0)
|
||||
error->all(FLERR,"Cannot use set mol with no molecule IDs defined");
|
||||
bigint nlobig,nhibig;
|
||||
utils::boundsbig(FLERR,id,1,MAXTAGINT,nlobig,nhibig,error);
|
||||
utils::bounds(FLERR,id,1,MAXTAGINT,nlobig,nhibig,error);
|
||||
|
||||
tagint *molecule = atom->molecule;
|
||||
for (int i = 0; i < n; i++)
|
||||
|
||||
Reference in New Issue
Block a user