move Input::expand_args() to utils::expand_args()

This commit is contained in:
Axel Kohlmeyer
2020-08-29 18:32:10 -04:00
parent fcd0b9f78f
commit 741a1d1fc9
14 changed files with 19 additions and 149 deletions

View File

@ -25,6 +25,7 @@
#include "variable.h"
#include "memory.h"
#include "error.h"
#include "utils.h"
using namespace LAMMPS_NS;
@ -78,7 +79,7 @@ ComputeReduce::ComputeReduce(LAMMPS *lmp, int narg, char **arg) :
int expand = 0;
char **earg;
int nargnew = input->expand_args(narg-iarg,&arg[iarg],1,earg);
int nargnew = utils::expand_args(FLERR,narg-iarg,&arg[iarg],1,earg,lmp);
if (earg != &arg[iarg]) expand = 1;
arg = earg;