make default argument of virtual function Neighbor::build() explicit

This commit is contained in:
Axel Kohlmeyer
2018-02-22 08:42:36 -05:00
parent e1d1c87656
commit 99d5957a01
14 changed files with 30 additions and 30 deletions

View File

@ -120,7 +120,7 @@ void Verlet::setup(int flag)
domain->image_check();
domain->box_too_small_check();
modify->setup_pre_neighbor();
neighbor->build();
neighbor->build(1);
modify->setup_post_neighbor();
neighbor->ncalls = 0;
@ -182,7 +182,7 @@ void Verlet::setup_minimal(int flag)
domain->image_check();
domain->box_too_small_check();
modify->setup_pre_neighbor();
neighbor->build();
neighbor->build(1);
modify->setup_post_neighbor();
neighbor->ncalls = 0;
}
@ -284,7 +284,7 @@ void Verlet::run(int n)
modify->pre_neighbor();
timer->stamp(Timer::MODIFY);
}
neighbor->build();
neighbor->build(1);
timer->stamp(Timer::NEIGH);
if (n_post_neighbor) {
modify->post_neighbor();