Skip to content

Commit b1902ae

Browse files
aprilnovakMendesMichael
authored andcommitted
commits were squashed
1 parent adcc8b5 commit b1902ae

19 files changed

Lines changed: 6947 additions & 4 deletions

contrib/openmc

Submodule openmc updated 209 files

doc/content/media/core_height.png

18.7 KB
Loading
328 KB
Loading

doc/content/media/krusty_mesh.png

101 KB
Loading
305 KB
Loading

doc/content/media/power_krusty.png

403 KB
Loading

doc/content/media/temp_krusty.png

379 KB
Loading

doc/content/tutorials/KRUSTY.md

Lines changed: 887 additions & 0 deletions
Large diffs are not rendered by default.

doc/content/tutorials/openmc_solid.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@ extend equally to coupling OpenMC to any of these other MOOSE thermal-fluid code
2323
caption=Illustration of data transfers to couple OpenMC to MOOSE for temperature feedback.
2424
style=width:80%;margin-left:auto;margin-right:auto;halign:center
2525

26-
Four examples are provided:
26+
Five examples are provided:
2727

2828
- [LWR pincell](pincell1.md)
2929
- [Solid UO$_2$ pebbles](triso.md)
3030
- [TRISO compacts](gas_compact.md)
3131
- [DAGMC pincell](dagmc.md)
32+
- [KRUSTY](KRUSTY.md)
3233

3334
Note that many of the features that are introduced in these
3435
tutorials are *general* features that also apply to density feedback in OpenMC.

src/base/OpenMCCellAverageProblem.C

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2542,8 +2542,10 @@ OpenMCCellAverageProblem::initializeTallies()
25422542
if (_tally_trigger)
25432543
for (auto & t : _local_tally)
25442544
for (int score = 0; score < _tally_score.size(); ++score)
2545-
t->triggers_.push_back(
2546-
{triggerMetric((*_tally_trigger)[score]), _tally_trigger_threshold[score], score});
2545+
t->triggers_.push_back({triggerMetric((*_tally_trigger)[score]),
2546+
_tally_trigger_threshold[score],
2547+
false,
2548+
score});
25472549
}
25482550

25492551
bool

0 commit comments

Comments
 (0)