Skip to content

Commit

Permalink
better comments in conversion_between_Qp_Qs_and_Qkappa_Qmu_from_Dahle…
Browse files Browse the repository at this point in the history
…n_Tromp_959_960_in_3D_and_in_2D_plane_strain.f90
  • Loading branch information
komatits committed Jul 24, 2018
1 parent a691d9b commit b49f5c7
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ program conversion
print *
endif

! enter the cp and cs velocities of the medium here, at the frequency at which you want this conversion to be performed
print *,'enter the cp and cs velocities of the medium here, at the frequency at which you want this conversion to be performed:'
! enter the cp and cs velocities of the medium, at the frequency at which you want this conversion to be performed
print *,'enter the cp and cs velocities of the medium, at the frequency at which you want this conversion to be performed:'
print *,'enter cp:'
read(*,*) cp
print *,'enter cs:'
Expand All @@ -57,10 +57,10 @@ program conversion

if (iconversion_type == 1) then

! Qs is always the same as Qmu
! Qmu is always the same as Qs
Qmu = Qs

! for Qp the formula is more complex
! for QKappa the formula is more complex
inverse_of_Qp = 1.d0 / Qp
inverse_of_Qmu = 1.d0 / Qmu

Expand All @@ -74,7 +74,7 @@ program conversion

else ! if (iconversion_type == 2) then

! Qs is the same as Qmu
! Qs is always the same as Qmu
Qs = Qmu

! for Qp the formula is more complex
Expand Down

0 comments on commit b49f5c7

Please sign in to comment.