separate find_cell into two functions

This commit is contained in:
Gavin Ridley 2021-03-04 17:56:34 -05:00
parent a90a3fbcba
commit 1fa2c0e889
5 changed files with 40 additions and 48 deletions

View file

@ -182,7 +182,7 @@ T PlotBase::get_map() const {
p.r()[in_i] = xyz[in_i] + in_pixel * x;
p.n_coord_ = 1;
// local variables
bool found_cell = find_cell(p, 0);
bool found_cell = brute_force_find_cell(p);
j = p.n_coord_ - 1;
if (level >= 0) { j = level; }
if (found_cell) {