Skip to content

Commit

Permalink
fix_dplr.cpp delete redundant setup (#3344)
Browse files Browse the repository at this point in the history
Redundant setup was removed. The setup has already been executed in the
initial lines of post_force, along with subsequent calculations.
Reinitialization will lead to an error.

(cherry picked from commit 254afc8)
  • Loading branch information
shiruosong authored and njzjz committed Apr 6, 2024
1 parent 01f1dfd commit 92404c0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions source/lmp/fix_dplr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,6 @@ void FixDPLR::setup(int vflag) {
// else {
// error->all(FLERR, "respa is not supported by this fix");
// }
if (vflag) {
v_setup(vflag);
} else {
evflag = 0;
}
}

/* ---------------------------------------------------------------------- */
Expand Down

0 comments on commit 92404c0

Please sign in to comment.