Skip to content

Commit ce43b82

Browse files
author
Diego Vaca
committed
Fixed frontier attempt 3
1 parent 1874569 commit ce43b82

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/simulation/m_bubbles_EL.fpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,12 +910,14 @@ contains
910910
!R_Omega
911911
dc = (3._wp*vol/(4._wp*pi))**(1._wp/3._wp)
912912

913-
else
913+
else if (lag_params%cluster_type >= 2) then
914914
! Bubble dynamic closure from Maeda and Colonius (2018)
915915

916916
! Range of cells included in Omega
917917
if (lag_params%smooth_type == 1) then
918918
mapCells_pinf = mapCells
919+
else
920+
print *, "lag_params%cluster_type: 2 requires lag_params%smooth_type: 1."
919921
end if
920922

921923
! Include the cell that contains the bubble (mapCells+1+mapCells)
@@ -993,6 +995,9 @@ contains
993995
f_pinfl = charpres2/charvol2
994996
vol = charvol
995997
dc = (3._wp*abs(vol)/(4._wp*pi))**(1._wp/3._wp)
998+
else
999+
1000+
print *, "Check cluterflag. Exiting."
9961001

9971002
end if
9981003

0 commit comments

Comments
 (0)