File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -825,7 +825,7 @@ contains
825825 real (wp) :: charvol, charpres, charvol2, charpres2
826826 integer , dimension (3 ) :: cellaux
827827 integer :: i, j, k
828- integer :: mapCells_pinf, smearGrid, smearGridz
828+ integer :: smearGrid, smearGridz
829829 logical :: celloutside
830830
831831 scoord = mtn_s(bub_id, 1 :3 , 2 )
@@ -913,15 +913,8 @@ contains
913913 else if (lag_params%cluster_type >= 2 ) then
914914 ! Bubble dynamic closure from Maeda and Colonius (2018 )
915915
916- ! Range of cells included in Omega
917- if (lag_params%smooth_type == 1 ) then
918- mapCells_pinf = mapCells
919- else
920- stop " lag_params%cluster_type: 2 requires lag_params%smooth_type: 1."
921- end if
922-
923916 ! Include the cell that contains the bubble (mapCells+1 + mapCells)
924- smearGrid = mapCells_pinf - (- mapCells_pinf ) + 1
917+ smearGrid = mapCells - (- mapCells ) + 1
925918 smearGridz = smearGrid
926919 if (p == 0 ) smearGridz = 1
927920
You can’t perform that action at this time.
0 commit comments