mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
When 1 temp is available, revert to nearest temp on all processes
This commit is contained in:
parent
066b73e037
commit
fa82543697
1 changed files with 6 additions and 5 deletions
|
|
@ -224,11 +224,12 @@ module nuclide_header
|
|||
call sort(temps_available)
|
||||
|
||||
! If only one temperature is available, revert to nearest temperature
|
||||
if (size(temps_available) == 1 .and. &
|
||||
method == TEMPERATURE_INTERPOLATION .and. master) then
|
||||
call warning("Cross sections for " // trim(this % name) // " are only &
|
||||
&available at one temperature. Reverting to nearest temperature &
|
||||
&method.")
|
||||
if (size(temps_available) == 1 .and. method == TEMPERATURE_INTERPOLATION) then
|
||||
if (master) then
|
||||
call warning("Cross sections for " // trim(this % name) // " are only &
|
||||
&available at one temperature. Reverting to nearest temperature &
|
||||
&method.")
|
||||
end if
|
||||
method = TEMPERATURE_NEAREST
|
||||
end if
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue