fix bug when reporting fix wall energies

This commit is contained in:
Axel Kohlmeyer
2021-06-05 16:16:57 -04:00
parent 56b9de1d6b
commit 3a73dd831a

View File

@ -307,8 +307,10 @@ void FixWall::post_force(int vflag)
v_init(vflag);
// energy intialize
// energy intialize.
// eflag is used to track whether wall energies have been communitcated.
eflag = 0;
for (int m = 0; m <= nwall; m++) ewall[m] = 0.0;
// coord = current position of wall