rename fix STORE/PERATOM to STORE/ATOM

This commit is contained in:
Axel Kohlmeyer
2023-03-13 22:28:32 -04:00
parent 1031110d93
commit 17f39d9d2c
40 changed files with 199 additions and 145 deletions

View File

@ -20,7 +20,7 @@
#include "domain.h"
#include "error.h"
#include "fix.h"
#include "fix_store_peratom.h"
#include "fix_store_atom.h"
#include "group.h"
#include "info.h"
#include "input.h"
@ -5027,8 +5027,8 @@ VarReader::VarReader(LAMMPS *lmp, char *name, char *file, int flag) :
error->all(FLERR,"Cannot use atomfile-style variable unless an atom map exists");
id_fix = utils::strdup(std::string(name) + "_VARIABLE_STORE");
fixstore = dynamic_cast<FixStorePeratom *>(
modify->add_fix(std::string(id_fix) + " all STORE/PERATOM 1 0 0 0"));
fixstore = dynamic_cast<FixStoreAtom *>(
modify->add_fix(std::string(id_fix) + " all STORE/ATOM 1 0 0 0"));
buffer = new char[CHUNK*MAXLINE];
}
}