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
|
|
@ -135,7 +135,8 @@ std::vector<VolumeCalculation::Result> VolumeCalculation::execute() const
|
|||
p.u() = {0.5, 0.5, 0.5};
|
||||
|
||||
// If this location is not in the geometry at all, move on to next block
|
||||
if (!find_cell(p, false)) continue;
|
||||
if (!brute_force_find_cell(p))
|
||||
continue;
|
||||
|
||||
if (domain_type_ == TallyDomain::MATERIAL) {
|
||||
if (p.material_ != MATERIAL_VOID) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue