mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
separate find_cell into two functions
This commit is contained in:
parent
a90a3fbcba
commit
1fa2c0e889
5 changed files with 40 additions and 48 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue