remove the old versions of the utility function and use the new

This commit is contained in:
Axel Kohlmeyer
2021-04-24 21:33:36 -04:00
parent 8e5e995188
commit 7e7a448a08
9 changed files with 27 additions and 94 deletions

View File

@ -2302,7 +2302,7 @@ void FixRigid::readfile(int which, double *vec,
int nread = 0;
while (nread < nlines) {
nchunk = MIN(nlines-nread,CHUNK);
eofflag = comm->read_lines_from_file(fp,nchunk,MAXLINE,buffer);
eofflag = utils::read_lines_from_file(fp,nchunk,MAXLINE,buffer,me,world);
if (eofflag) error->all(FLERR,"Unexpected end of fix rigid file");
buf = buffer;