Skip to content

Commit 1bece6e

Browse files
committed
fix reviews, rm debug statements
1 parent ccbb582 commit 1bece6e

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

src/simulation/m_mpi_proxy.fpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ contains
114114
& 'bc_y%grcbc_in', 'bc_y%grcbc_out', 'bc_y%grcbc_vel_out', &
115115
& 'bc_z%grcbc_in', 'bc_z%grcbc_out', 'bc_z%grcbc_vel_out', &
116116
& 'cfl_adap_dt', 'cfl_const_dt', 'cfl_dt', 'surface_tension', &
117-
& 'shear_stress', 'bulk_stress', 'bubbles_lagrange', &
118117
& 'viscous', 'shear_stress', 'bulk_stress', 'bubbles_lagrange', &
119118
& 'hyperelasticity', 'bc_io', 'powell', 'cont_damage', 'int_comp' ]
120119
call MPI_BCAST(${VAR}$, 1, MPI_LOGICAL, 0, MPI_COMM_WORLD, ierr)
@@ -182,7 +181,7 @@ contains
182181
call MPI_BCAST(igr_pres_lim, 1, MPI_LOGICAL, 0, MPI_COMM_WORLD, ierr)
183182
call MPI_BCAST(igr_iter_solver, 1, MPI_INTEGER, 0, MPI_COMM_WORLD, ierr)
184183
call MPI_BCAST(viscous, 1, MPI_LOGICAL, 0, MPI_COMM_WORLD, ierr)
185-
call MPI_BCAST(recon_type, 1, MPI_LOGICAL, 0, MPI_COMM_WORLD, ierr)
184+
call MPI_BCAST(recon_type, 1, MPI_INTEGER, 0, MPI_COMM_WORLD, ierr)
186185
call MPI_BCAST(muscl_order, 1, MPI_INTEGER, 0, MPI_COMM_WORLD, ierr)
187186
call MPI_BCAST(muscl_lim, 1, MPI_INTEGER, 0, MPI_COMM_WORLD, ierr)
188187
#:endif

src/simulation/m_muscl.fpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ module m_muscl
1717

1818
private; public :: s_initialize_muscl_module, &
1919
s_muscl, &
20-
s_finalize_muscl_module
20+
s_finalize_muscl_module, &
21+
s_interface_compression
2122

2223
integer :: v_size
2324
$:GPU_DECLARE(create='[v_size]')

src/simulation/m_viscous.fpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,6 @@ contains
10561056
do l = is3_viscous%beg, is3_viscous%end
10571057
do k = is2_viscous%beg, is2_viscous%end
10581058
do j = is1_viscous%beg, is1_viscous%end
1059-
print *, i, l, k, j
10601059
vL_prim_vf(i)%sf(j, k, l) = vL_x(j, k, l, i)
10611060
vR_prim_vf(i)%sf(j, k, l) = vR_x(j, k, l, i)
10621061
end do

src/simulation/m_weno.fpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ module m_weno
3030

3131
use m_mpi_proxy
3232

33+
use m_muscl !< For Interface Compression
34+
3335
private; public :: s_initialize_weno_module, s_initialize_weno, s_finalize_weno_module, s_weno
3436

3537
!> @name The cell-average variables that will be WENO-reconstructed. Formerly, they
@@ -1094,6 +1096,11 @@ contains
10941096
#:endfor
10951097
end if
10961098

1099+
if (int_comp) then
1100+
call s_interface_compression(vL_rs_vf_x, vL_rs_vf_y, vL_rs_vf_z, &
1101+
vR_rs_vf_x, vR_rs_vf_y, vR_rs_vf_z, &
1102+
weno_dir, is1_weno_d, is2_weno_d, is3_weno_d)
1103+
end if
10971104
end subroutine s_weno
10981105

10991106
!> The computation of parameters, the allocation of memory,

0 commit comments

Comments
 (0)