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

@ -441,7 +441,7 @@ void Respa::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;
@ -517,7 +517,7 @@ void Respa::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;
}
@ -668,7 +668,7 @@ void Respa::recurse(int ilevel)
modify->pre_neighbor();
timer->stamp(Timer::MODIFY);
}
neighbor->build();
neighbor->build(1);
timer->stamp(Timer::NEIGH);
if (modify->n_post_neighbor) {
modify->post_neighbor();