Skip to content

Commit c0198a2

Browse files
author
Anand
committed
Final cleanup changes
1 parent bd28799 commit c0198a2

3 files changed

Lines changed: 4 additions & 11 deletions

File tree

src/common/m_phase_change.fpp

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -299,11 +299,7 @@ contains
299299
! initializing variables
300300
integer, intent(in) :: j, k, l, MFL
301301
real(wp), intent(out) :: pS
302-
#:if not MFC_CASE_OPTIMIZATION and USING_AMD
303-
real(wp), dimension(3), intent(out) :: p_infpT
304-
#:else
305-
real(wp), dimension(num_fluids), intent(out) :: p_infpT
306-
#:endif
302+
real(wp), dimension(1:), intent(out) :: p_infpT
307303
type(scalar_field), dimension(sys_size), intent(in) :: q_cons_vf
308304
real(wp), intent(in) :: rhoe
309305
real(wp), intent(out) :: TS
@@ -417,11 +413,7 @@ contains
417413

418414
integer, intent(in) :: j, k, l
419415
real(wp), intent(inout) :: pS
420-
#:if not MFC_CASE_OPTIMIZATION and USING_AMD
421-
real(wp), dimension(3), intent(in) :: p_infpT
422-
#:else
423-
real(wp), dimension(num_fluids), intent(in) :: p_infpT
424-
#:endif
416+
real(wp), dimension(1:), intent(in) :: p_infpT
425417
real(wp), intent(in) :: rhoe
426418
type(scalar_field), dimension(sys_size), intent(inout) :: q_cons_vf
427419
real(wp), intent(inout) :: TS

src/simulation/m_bubbles_EL.fpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,7 @@ contains
789789
#:endif
790790
integer :: i
791791

792+
vel(:) = 0._wp
792793
$:GPU_LOOP(parallelism='[seq]')
793794
do i = 1, num_dims
794795
vel(i) = q_prim_vf(i + contxe)%sf(cell(1), cell(2), cell(3))

src/simulation/m_hyperelastic.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ contains
9999
type(scalar_field), dimension(sys_size), intent(inout) :: q_cons_vf
100100
type(scalar_field), dimension(sys_size), intent(inout) :: q_prim_vf
101101
#:if USING_AMD
102-
real(wp), dimension(9) :: tensora, tensorb
102+
real(wp), dimension(10) :: tensora, tensorb
103103
#:else
104104
real(wp), dimension(tensor_size) :: tensora, tensorb
105105
#:endif

0 commit comments

Comments
 (0)