Skip to content

Commit 982e434

Browse files
author
Spencer Bryngelson
committed
fix: remove struct-member copyin from GPU loop; fix I2 overflow and uppercase keywords in indices.dat
1 parent bb715b1 commit 982e434

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/pre_process/m_data_output.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ contains
612612
s_write_data_files => s_write_parallel_data_files
613613
end if
614614

615-
open (newunit=iu, FILE='indices.dat', STATUS='unknown')
615+
open (newunit=iu, file='indices.dat', status='unknown')
616616

617617
write (iu, '(A)') "Warning: The creation of file is currently experimental."
618618
write (iu, '(A)') "This file may contain errors and not support all features."
@@ -672,7 +672,7 @@ contains
672672
integer, intent(in) :: beg, end
673673
character(*), intent(in) :: label
674674

675-
if (beg /= 0) write (iu, '("[",I2,",",I2,"]",A)') beg, end, label
675+
if (beg /= 0) write (iu, '("[",I0,",",I0,"]",A)') beg, end, label
676676

677677
end subroutine write_range
678678

src/simulation/m_ibm.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ contains
165165

166166
! set the Moving IBM interior conservative variables
167167

168-
$:GPU_PARALLEL_LOOP(private='[i, j, k, patch_id, rho]', copyin='[eqn_idx%E, eqn_idx%mom%beg]', collapse=3)
168+
$:GPU_PARALLEL_LOOP(private='[i, j, k, patch_id, rho]', collapse=3)
169169
do l = 0, p
170170
do k = 0, n
171171
do j = 0, m

0 commit comments

Comments
 (0)