modify fix STORE/PERATOM and callers to allow ghost comm

This commit is contained in:
Steve Plimpton
2023-03-13 17:00:54 -06:00
parent b6756c0319
commit 3815c0ef76
18 changed files with 140 additions and 69 deletions

View File

@ -515,7 +515,7 @@ void Balance::weight_storage(char *prefix)
fixstore = dynamic_cast<FixStorePeratom *>(modify->get_fix_by_id(cmd));
if (!fixstore)
fixstore = dynamic_cast<FixStorePeratom *>(modify->add_fix(cmd + " all STORE/PERATOM 0 1"));
fixstore = dynamic_cast<FixStorePeratom *>(modify->add_fix(cmd + " all STORE/PERATOM 1 0 0 0"));
// do not carry weights with atoms during normal atom migration