@@ -222,10 +222,6 @@ subroutine compute_coupling_fluid_CMB_ICB(NGLOB_OC,accel_outer_core,wgllwgll_xy,
222222 integer :: i,j,k,k_corresp,ispec,ispec2D,iglob_cm,iglob_oc,iglob_ic,ispec_selected
223223
224224 ! for surface elements exactly on the CMB
225-
226- ! checks if anything to do
227- if (NSPEC_OUTER_CORE == 0 ) return
228-
229225! openmp solver
230226! $OMP PARALLEL if (nspec2D_top > 500) &
231227! $OMP DEFAULT(SHARED) &
@@ -361,10 +357,6 @@ subroutine compute_coupling_fluid_CMB(NGLOB_CM,displ_crust_mantle, &
361357 integer :: i,j,k,k_corresp,ispec,ispec2D,iglob_cm,iglob_oc,ispec_selected
362358
363359 ! for surface elements exactly on the CMB
364-
365- ! checks if anything to do
366- if (NSPEC_OUTER_CORE == 0 ) return
367-
368360! openmp solver
369361! $OMP PARALLEL if (nspec2D_top > 500) &
370362! $OMP DEFAULT(SHARED) &
@@ -456,10 +448,6 @@ subroutine compute_coupling_fluid_ICB(NGLOB_IC,displ_inner_core, &
456448 integer :: i,j,k,k_corresp,ispec,ispec2D,iglob_oc,iglob_ic,ispec_selected
457449
458450 ! for surface elements exactly on the ICB
459-
460- ! checks if anything to do
461- if (NSPEC_OUTER_CORE == 0 ) return
462-
463451! openmp solver
464452! $OMP PARALLEL if (nspec_bottom > 500) &
465453! $OMP DEFAULT(SHARED) &
@@ -756,10 +744,6 @@ subroutine compute_coupling_CMB_ICB_fluid(NGLOB_OC,accel_outer_core,wgllwgll_xy,
756744 integer :: i,j,k,k_corresp,ispec,ispec2D,iglob,iglob_mantle,iglob_inner_core,ispec_selected
757745
758746 ! for surface elements exactly on the CMB
759-
760- ! checks if anything to do
761- if (NSPEC_OUTER_CORE == 0 ) return
762-
763747! openmp solver
764748! $OMP PARALLEL if (nspec_bottom > 500) &
765749! $OMP DEFAULT(SHARED) &
@@ -820,6 +804,7 @@ subroutine compute_coupling_CMB_ICB_fluid(NGLOB_OC,accel_outer_core,wgllwgll_xy,
820804 enddo
821805! $OMP ENDDO NOWAIT
822806
807+ ! for surface elements exactly on the ICB
823808! $OMP DO
824809 do ispec2D = 1 ,nspec2D_top ! NSPEC2D_TOP(IREGION_INNER_CORE)
825810
@@ -926,10 +911,6 @@ subroutine compute_coupling_CMB_fluid(NGLOB_CM,displ_crust_mantle,accel_crust_ma
926911 integer :: i,j,k,k_corresp,ispec,ispec2D,iglob,iglob_mantle,ispec_selected
927912
928913 ! for surface elements exactly on the CMB
929-
930- ! checks if anything to do
931- if (NSPEC_OUTER_CORE == 0 ) return
932-
933914! openmp solver
934915! $OMP PARALLEL if (nspec_bottom > 500) &
935916! $OMP DEFAULT(SHARED) &
@@ -1041,10 +1022,6 @@ subroutine compute_coupling_ICB_fluid(NGLOB_IC,displ_inner_core,accel_inner_core
10411022 integer :: i,j,k,k_corresp,ispec,ispec2D,iglob,iglob_inner_core,ispec_selected
10421023
10431024 ! for surface elements exactly on the ICB
1044-
1045- ! checks if anything to do
1046- if (NSPEC_OUTER_CORE == 0 ) return
1047-
10481025! openmp solver
10491026! $OMP PARALLEL if (nspec2D_top > 500) &
10501027! $OMP DEFAULT(SHARED) &
0 commit comments