Skip to content

Commit

Permalink
Remove spatial index for local wave_spectrum_profile
Browse files Browse the repository at this point in the history
  • Loading branch information
dabail10 committed Aug 21, 2024
1 parent e4b464d commit 913f0c2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions configuration/driver/icedrv_forcing.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1141,7 +1141,7 @@ subroutine get_wave_spec

! local variables
integer (kind=int_kind) :: &
i,k
k

real(kind=dbl_kind), dimension(nfreq) :: &
wave_spectrum_profile ! wave spectrum
Expand All @@ -1150,12 +1150,10 @@ subroutine get_wave_spec

! wave spectrum and frequencies
! get hardwired frequency bin info and a dummy wave spectrum profile
do i=1,nx

call icepack_init_wave(nfreq=nfreq, &
wave_spectrum_profile=wave_spectrum_profile, &
wavefreq=wavefreq, dwavefreq=dwavefreq)
enddo

do k = 1, nfreq
wave_spectrum(:,k) = wave_spectrum_profile(k)
Expand Down

0 comments on commit 913f0c2

Please sign in to comment.