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

@ -21,7 +21,7 @@
#include "domain.h"
#include "error.h"
#include "fix.h"
#include "fix_store_peratom.h"
#include "fix_store_atom.h"
#include "group.h"
#include "input.h"
#include "lattice.h"
@ -571,8 +571,8 @@ void ComputeChunkAtom::init()
if ((idsflag == ONCE || lockcount) && !fixstore) {
id_fix = utils::strdup(id + std::string("_COMPUTE_STORE"));
fixstore = dynamic_cast<FixStorePeratom *>(
modify->add_fix(fmt::format("{} {} STORE/PERATOM 1 0 0 1", id_fix, group->names[igroup])));
fixstore = dynamic_cast<FixStoreAtom *>(
modify->add_fix(fmt::format("{} {} STORE/ATOM 1 0 0 1", id_fix, group->names[igroup])));
}
if ((idsflag != ONCE && !lockcount) && fixstore) {