Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
haochey committed Nov 8, 2024
1 parent accc829 commit dacae37
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/simulation/m_acoustic_src.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ contains
call random_number(phi_rn(1:100))
call s_mpi_send_random_number(phi_rn)
sum_BB = 0d0

!$acc loop
do k = 1, 100
f_BB(k) = 500d0 + k*100d0 ! Discrete frequency specturm center
Expand Down Expand Up @@ -403,10 +403,10 @@ contains
if (abs(sine_wave) < 1d-2) then
source = mag(ai)*sine_wave*1d2
end if

elseif (pulse(ai) == 4) then

Check warning on line 407 in src/simulation/m_acoustic_src.fpp

View check run for this annotation

Codecov / codecov/patch

src/simulation/m_acoustic_src.fpp#L407

Added line #L407 was not covered by tests
! TO DO: delay broadband acoustic source
source = sum_BB
! TO DO: delay broadband acoustic source
source = sum_BB

Check warning on line 409 in src/simulation/m_acoustic_src.fpp

View check run for this annotation

Codecov / codecov/patch

src/simulation/m_acoustic_src.fpp#L409

Added line #L409 was not covered by tests

end if
end subroutine s_source_temporal
Expand Down

0 comments on commit dacae37

Please sign in to comment.