Remove cells array on Fortran side

This commit is contained in:
Paul Romano 2019-02-15 06:35:59 -06:00
parent 47c19353e4
commit 964fdfde30
20 changed files with 162 additions and 588 deletions

View file

@ -172,7 +172,7 @@ Bank SourceDistribution::sample() const
if (space_box) {
if (space_box->only_fissionable()) {
// Determine material
auto c = model::cells[cell_index - 1];
auto c = model::cells[cell_index];
auto mat_index = c->material_.size() == 1
? c->material_[0] : c->material_[instance];