mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Namespacing for mesh/material global variables
This commit is contained in:
parent
6436cab302
commit
5fae5ffa9e
16 changed files with 125 additions and 113 deletions
|
|
@ -169,7 +169,7 @@ Bank SourceDistribution::sample() const
|
|||
// Determine material
|
||||
auto c = model::cells[cell_index - 1];
|
||||
int32_t mat_index = c->material_[instance];
|
||||
auto m = materials[mat_index];
|
||||
auto m = model::materials[mat_index];
|
||||
|
||||
if (mat_index == MATERIAL_VOID) {
|
||||
found = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue