File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments