Skip to content

Commit 84f85a5

Browse files
committed
fix bug in CBC + OpenMP
1 parent 216261f commit 84f85a5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/simulation/m_cbc.fpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@ module m_cbc
7272
real(wp), allocatable, dimension(:, :, :, :) :: flux_rsz_vf_l, flux_src_rsz_vf_l
7373
$:GPU_DECLARE(create='[flux_rsx_vf_l,flux_src_rsx_vf_l,flux_rsy_vf_l,flux_src_rsy_vf_l,flux_rsz_vf_l,flux_src_rsz_vf_l]')
7474
75-
real(wp) :: dpres_ds !< Spatial derivatives in s-dir of pressure
76-
$:GPU_DECLARE(create='[dpres_ds]')
77-
7875
real(wp), allocatable, dimension(:) :: ds !< Cell-width distribution in the s-direction
7976
8077
! CBC Coefficients
@@ -660,6 +657,7 @@ contains
660657
real(wp) :: dgamma_dt
661658
real(wp) :: dpi_inf_dt
662659
real(wp) :: dqv_dt
660+
real(wp) :: dpres_ds
663661
real(wp), dimension(contxe) :: alpha_rho, dalpha_rho_ds, mf
664662
real(wp), dimension(2) :: Re_cbc
665663
real(wp), dimension(num_vels) :: vel, dvel_ds

0 commit comments

Comments
 (0)