When 1 temp is available, revert to nearest temp on all processes

This commit is contained in:
Paul Romano 2017-04-25 12:34:19 -05:00
parent 066b73e037
commit fa82543697

View file

@ -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