Remove two arguments on get_temperatures

This commit is contained in:
Paul Romano 2017-08-10 11:45:55 -05:00
parent c063b8d9db
commit 3cc5ac38c5
3 changed files with 4 additions and 7 deletions

View file

@ -6,8 +6,8 @@ module geometry_header
use constants, only: HALF, TWO, THREE, INFINITY, K_BOLTZMANN, &
MATERIAL_VOID, NONE
use dict_header, only: DictCharInt, DictIntInt
use material_header, only: Material, materials, material_dict
use nuclide_header
use material_header, only: Material
use sab_header
use stl_vector, only: VectorReal
use string, only: to_lower
@ -347,11 +347,8 @@ contains
! temperatures to read (which may be different if interpolation is used)
!===============================================================================
subroutine get_temperatures(cells, materials, material_dict, &
nuc_temps, sab_temps)
subroutine get_temperatures(cells, nuc_temps, sab_temps)
type(Cell), allocatable, intent(in) :: cells(:)
type(Material), allocatable, intent(in) :: materials(:)
type(DictIntInt), intent(in) :: material_dict
type(VectorReal), allocatable, intent(out) :: nuc_temps(:)
type(VectorReal), optional, allocatable, intent(out) :: sab_temps(:)

View file

@ -2188,7 +2188,7 @@ contains
call assign_temperatures(material_temps)
! Determine desired temperatures for each nuclide and S(a,b) table
call get_temperatures(cells, materials, material_dict, nuc_temps, sab_temps)
call get_temperatures(cells, nuc_temps, sab_temps)
! Read continuous-energy cross sections
if (run_CE .and. run_mode /= MODE_PLOTTING) then

View file

@ -51,7 +51,7 @@ contains
call write_message("Loading cross section data...", 5)
! Get temperatures
call get_temperatures(cells, materials, material_dict, temps)
call get_temperatures(cells, temps)
! Open file for reading
file_id = file_open(path_cross_sections, 'r', parallel=.true.)