mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 05:05:30 -04:00
Put global variables in cell.h in model namespace
This commit is contained in:
parent
995905bd1c
commit
3cfe71621b
16 changed files with 162 additions and 153 deletions
|
|
@ -167,7 +167,7 @@ Bank SourceDistribution::sample() const
|
|||
if (space_box) {
|
||||
if (space_box->only_fissionable()) {
|
||||
// Determine material
|
||||
auto c = cells[cell_index - 1];
|
||||
auto c = model::cells[cell_index - 1];
|
||||
int32_t mat_index = c->material_[instance];
|
||||
auto m = materials[mat_index];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue