Skip to content

Commit 95474cf

Browse files
committed
Fixed for No double precision intrinsics warning
1 parent a60547b commit 95474cf

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/common/m_checker_common.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ contains
318318
impure subroutine s_check_inputs_surface_tension
319319
#ifdef MFC_PRE_PROCESS
320320
integer :: i
321-
#endif MFC_PRE_PROCESS
321+
#endif
322322

323323
@:PROHIBIT(surface_tension .and. sigma < 0._wp, &
324324
"sigma must be greater than or equal to zero")
@@ -340,7 +340,7 @@ contains
340340
@:PROHIBIT(surface_tension .and. f_is_default(patch_icpp(i)%cf_val), &
341341
"patch_icpp(i)%cf_val must be set if surface_tension is enabled")
342342
end do
343-
#endif MFC_PRE_PROCESS
343+
#endif
344344

345345
end subroutine s_check_inputs_surface_tension
346346

src/common/m_finite_differences.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ contains
9898
9999
#ifdef MFC_POST_PROCESS
100100
if (allocated(fd_coeff_s)) deallocate (fd_coeff_s)
101-
allocate (fd_coeff_s(-fd_number_in:fd_number_in, lb:lE))
101+
allocate (fd_coeff_s(-fd_number:fd_number, lb:lE))
102102
#endif
103103
104104
! Computing the 1st order finite-difference coefficients

src/common/m_helper_basic.f90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module m_helper_basic
2121
!> This procedure checks if two floating point numbers of wp are within tolerance.
2222
!! @param a First number.
2323
!! @param b Second number.
24-
!! @param tol_input Relative error (default = 1.e-10_wp for double precision and 1e-6 for single).
24+
!! @param tol_input Relative error (default = 1.e-10_wp for double and 1e-6 for single).
2525
!! @return Result of the comparison.
2626
logical pure elemental function f_approx_equal(a, b, tol_input) result(res)
2727
!$acc routine seq
@@ -33,9 +33,9 @@ logical pure elemental function f_approx_equal(a, b, tol_input) result(res)
3333
tol = tol_input
3434
else
3535
if (wp == selected_real_kind(15, 307)) then
36-
tol = 1.e-10_wp ! Double Precision
36+
tol = 1.e-10_wp ! Double
3737
else if (wp == selected_real_kind(6, 37)) then
38-
tol = 1.e-6_wp ! Single Precision
38+
tol = 1.e-6_wp ! Single
3939
end if
4040
end if
4141

0 commit comments

Comments
 (0)