Skip to content

Commit 1fafb74

Browse files
committed
updated a few files to conform to the modular precision
1 parent 4de6503 commit 1fafb74

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/pre_process/m_patches.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2246,7 +2246,7 @@ contains
22462246
22472247
end subroutine s_convert_cylindrical_to_spherical_coord
22482248
2249-
!> Archimedes spiral funcreal(kind(0d0)) :: theta_cc, r, x_p, P2, P3, P4, P5, P6, P7tion
2249+
!> Archimedes spiral function :: theta_cc, r, x_p, P2, P3, P4, P5, P6, P7
22502250
!! @param myth Angle
22512251
!! @param offset Thickness
22522252
!! @param a Starting position

src/simulation/m_boundary_conditions.fpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ contains
221221
real(wp), dimension(startx:, starty:, startz:, 1:, 1:), intent(inout) :: pb, mv
222222
integer, intent(in) :: bc_dir, bc_loc
223223
integer :: j, k, l, q, i
224-
real(kind(0d0)) :: bc_sum
224+
real(wp) :: bc_sum
225225

226226
!< x-direction =========================================================
227227
if (bc_dir == 1) then !< x-direction
@@ -246,7 +246,7 @@ contains
246246
do l = 0, p
247247
do k = 0, n
248248
do i = xibeg, xiend
249-
bc_sum = 0d0
249+
bc_sum = 0_wp
250250
!$acc loop seq
251251
do q = 1, j
252252
bc_sum = bc_sum - dx(-q)
@@ -280,7 +280,7 @@ contains
280280
do l = 0, p
281281
do k = 0, n
282282
do i = xibeg, xiend
283-
bc_sum = 0d0
283+
bc_sum = 0_wp
284284
!$acc loop seq
285285
do q = 1, j
286286
bc_sum = bc_sum + dx(m + q)
@@ -318,7 +318,7 @@ contains
318318
do l = -buff_size, m + buff_size
319319
do k = 0, p
320320
do i = xibeg, xiend
321-
bc_sum = 0d0
321+
bc_sum = 0_wp
322322
!$acc loop seq
323323
do q = 1, j
324324
bc_sum = bc_sum - dy(-q)
@@ -352,7 +352,7 @@ contains
352352
do l = -buff_size, m + buff_size
353353
do k = 0, p
354354
do i = xibeg, xiend
355-
bc_sum = 0d0
355+
bc_sum = 0_wp
356356
!$acc loop seq
357357
do q = 1, j
358358
bc_sum = bc_sum + dy(n + q)
@@ -391,7 +391,7 @@ contains
391391
do l = -buff_size, n + buff_size
392392
do k = -buff_size, m + buff_size
393393
do i = xibeg, xiend
394-
bc_sum = 0d0
394+
bc_sum = 0_wp
395395
!$acc loop seq
396396
do q = 1, j
397397
bc_sum = bc_sum - dx(-q)
@@ -424,7 +424,7 @@ contains
424424
do l = -buff_size, n + buff_size
425425
do k = -buff_size, m + buff_size
426426
do i = xibeg, xiend
427-
bc_sum = 0d0
427+
bc_sum = 0_wp
428428
!$acc loop seq
429429
do q = 1, j
430430
bc_sum = bc_sum + dz(p + q)

0 commit comments

Comments
 (0)