mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
error when using point detectors in multi-group mode
This commit is contained in:
parent
9ef99d3b6f
commit
cd9aafd9c3
1 changed files with 2 additions and 0 deletions
|
|
@ -583,6 +583,8 @@ void Tally::set_scores(const vector<std::string>& scores)
|
|||
materialfrom_present);
|
||||
|
||||
if (point_present) {
|
||||
if (!settings::run_CE)
|
||||
fatal_error("Cannot use point detectors in multi-group mode.");
|
||||
if (simulation::nonvacuum_boundary_present)
|
||||
fatal_error(
|
||||
"Cannot use point detectors with non-vacuum boundary conditions.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue