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

@ -26,7 +26,7 @@
#include "neighbor.h"
#include "comm.h"
#include "domain.h"
#include "fix_store_peratom.h"
#include "fix_store_atom.h"
#include "force.h"
#include "imbalance.h"
#include "imbalance_group.h"
@ -513,9 +513,9 @@ void Balance::weight_storage(char *prefix)
if (prefix) cmd = prefix;
cmd += "IMBALANCE_WEIGHTS";
fixstore = dynamic_cast<FixStorePeratom *>(modify->get_fix_by_id(cmd));
fixstore = dynamic_cast<FixStoreAtom *>(modify->get_fix_by_id(cmd));
if (!fixstore)
fixstore = dynamic_cast<FixStorePeratom *>(modify->add_fix(cmd + " all STORE/PERATOM 1 0 0 0"));
fixstore = dynamic_cast<FixStoreAtom *>(modify->add_fix(cmd + " all STORE/ATOM 1 0 0 0"));
// do not carry weights with atoms during normal atom migration