Fall back to base class function

This commit is contained in:
Stan Moore
2019-08-28 09:47:26 -07:00
parent 9961229226
commit c24486c824
3 changed files with 1 additions and 28 deletions

View File

@ -406,32 +406,6 @@ void MinKokkos::run(int n)
lmp->kokkos->auto_sync = 1;
}
/* ---------------------------------------------------------------------- */
void MinKokkos::cleanup()
{
modify->post_run();
// stats for Finish to print
efinal = ecurrent;
fnorm2_final = sqrt(fnorm_sqr());
fnorminf_final = fnorm_inf();
// reset reneighboring criteria
neighbor->every = neigh_every;
neighbor->delay = neigh_delay;
neighbor->dist_check = neigh_dist_check;
// delete fix at end of run, so its atom arrays won't persist
modify->delete_fix("MINIMIZE");
atomKK->sync(Host,ALL_MASK);
domain->box_too_small_check(); /// need KK version
atomKK->modified(Host,ALL_MASK);
}
/* ----------------------------------------------------------------------
evaluate potential energy and forces
may migrate atoms due to reneighboring

View File

@ -27,7 +27,6 @@ class MinKokkos : public Min {
void setup(int flag=1);
void setup_minimal(int);
void run(int);
void cleanup();
double fnorm_sqr();
double fnorm_inf();

View File

@ -34,7 +34,7 @@ class Min : protected Pointers {
virtual void setup(int flag=1);
virtual void setup_minimal(int);
virtual void run(int);
virtual void cleanup();
void cleanup();
int request(class Pair *, int, double);
virtual bigint memory_usage() {return 0;}
void modify_params(int, char **);