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

@ -572,7 +572,7 @@ 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 1", id_fix, group->names[igroup])));
modify->add_fix(fmt::format("{} {} STORE/PERATOM 1 0 0 1", id_fix, group->names[igroup])));
}
if ((idsflag != ONCE && !lockcount) && fixstore) {