add a code comment
This commit is contained in:
@ -181,9 +181,11 @@ void FixGroup::set_group()
|
|||||||
int nlocal = atom->nlocal;
|
int nlocal = atom->nlocal;
|
||||||
|
|
||||||
// invoke atom-style variable if defined
|
// invoke atom-style variable if defined
|
||||||
// this is for any compute to check if it needs to
|
// NOTE: after variable invocation could reset invoked computes to not-invoked
|
||||||
// operate differently due to invocation this early in timestep
|
// this would avoid an issue where other post-force fixes
|
||||||
// e.g. perform ghost comm update due to atoms having just moved
|
// change the compute result since it will not be re-invoked at end-of-step,
|
||||||
|
// e.g. if compute pe/atom includes pe contributions from fixes
|
||||||
|
|
||||||
|
|
||||||
double *var = nullptr;
|
double *var = nullptr;
|
||||||
int *ivector = nullptr;
|
int *ivector = nullptr;
|
||||||
|
|||||||
Reference in New Issue
Block a user