standardize flags for energy/virial computations in forces
This commit is contained in:
@ -311,9 +311,10 @@ void Respa::init()
|
||||
if (force->pair && force->pair->respa_enable == 0)
|
||||
error->all(FLERR,"Pair style does not support rRESPA inner/middle/outer");
|
||||
|
||||
// virial_style = 1 (explicit) since never computed implicitly like Verlet
|
||||
// virial_style = VIRIAL_PAIR (explicit)
|
||||
// since never computed implicitly with virial_fdotr_compute() like Verlet
|
||||
|
||||
virial_style = 1;
|
||||
virial_style = VIRIAL_PAIR;
|
||||
|
||||
// setup lists of computes for global and per-atom PE and pressure
|
||||
|
||||
|
||||
Reference in New Issue
Block a user