mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Fix use of n_surfaces on Fortran side
This commit is contained in:
parent
24613a6799
commit
62cc251914
6 changed files with 23 additions and 12 deletions
|
|
@ -140,7 +140,7 @@ print_overlap_check() {
|
|||
std::cout << " Cell ID No. Overlap Checks\n";
|
||||
|
||||
std::vector<int32_t> sparse_cell_ids;
|
||||
for (int i = 0; i < model::n_cells; i++) {
|
||||
for (int i = 0; i < model::cells.size(); i++) {
|
||||
std::cout << " " << std::setw(8) << model::cells[i]->id_ << std::setw(17)
|
||||
<< model::overlap_check_count[i] << "\n";
|
||||
if (model::overlap_check_count[i] < 10) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue