Skip to content

Commit

Permalink
Add contiguous attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
MilanSkocic committed Dec 3, 2024
1 parent 9bb271b commit 8164aca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/iapws_g704.f90
Original file line number Diff line number Diff line change
Expand Up @@ -323,10 +323,10 @@ pure subroutine kh(T, gas, heavywater, k)
!! Compute the henry constant kH for a given temperature.
implicit none

real(dp), intent(in) :: T(:) !! Temperature in K.
real(dp), intent(in), contiguous :: T(:) !! Temperature in K.
character(len=*), intent(in) :: gas !! Gas.
integer(int32), intent(in) :: heavywater !! Flag if D2O (1) is used or H2O(0).
real(dp), intent(out) :: k(:) !! Henry constant. Filled with NaNs if gas not found.
real(dp), intent(out), contiguous :: k(:) !! Henry constant. Filled with NaNs if gas not found.

integer(int32) :: i

Expand All @@ -352,10 +352,10 @@ pure subroutine kd(T, gas, heavywater, k)
!! Compute the vapor-liquid constant kd for a given temperature.
implicit none

real(dp), intent(in) :: T(:) !! Temperature in K.
real(dp), intent(in), contiguous :: T(:) !! Temperature in K.
character(len=*), intent(in) :: gas !! Gas.
integer(int32), intent(in) :: heavywater !! Flag if D2O (1) is used or H2O(0).
real(dp), intent(out) :: k(:) !! Vapor-liquid constant. Filled with NaNs if gas not found.
real(dp), intent(out), contiguous :: k(:) !! Vapor-liquid constant. Filled with NaNs if gas not found.

integer(int32) :: i

Expand Down

0 comments on commit 8164aca

Please sign in to comment.