diff --git a/src/fix_spring_self.cpp b/src/fix_spring_self.cpp index 2a196d958a..7b6bcda4b9 100644 --- a/src/fix_spring_self.cpp +++ b/src/fix_spring_self.cpp @@ -171,6 +171,13 @@ void FixSpringSelf::post_force_respa(int vflag, int ilevel, int iloop) if (ilevel == nlevels_respa-1) post_force(vflag); } +/* ---------------------------------------------------------------------- */ + +void FixSpringSelf::min_post_force(int vflag) +{ + post_force(vflag); +} + /* ---------------------------------------------------------------------- energy of stretched springs ------------------------------------------------------------------------- */ @@ -182,13 +189,6 @@ double FixSpringSelf::compute_scalar() return all; } -/* ---------------------------------------------------------------------- */ - -void FixSpringSelf::min_post_force(int vflag) -{ - post_force(vflag); -} - /* ---------------------------------------------------------------------- memory usage of local atom-based array ------------------------------------------------------------------------- */