@@ -481,7 +481,6 @@ subroutine compute_element_tiso_flag(elem_is_tiso,elem_in_mantle,iregion_code,is
481481 IFLAG_CRUST,IFLAG_220_80,IFLAG_80_MOHO,IFLAG_670_220,IFLAG_MANTLE_NORMAL,IREGION_CRUST_MANTLE, &
482482 REFERENCE_MODEL_1DREF,REFERENCE_MODEL_1DREF,REFERENCE_MODEL_SEMUCB, &
483483 THREE_D_MODEL_S362WMANI,THREE_D_MODEL_SGLOBE, &
484- THREE_D_MODEL_BERKELEY, &
485484 USE_OLD_VERSION_FORMAT
486485
487486 use meshfem_models_par, only: &
@@ -572,17 +571,16 @@ subroutine compute_element_tiso_flag(elem_is_tiso,elem_in_mantle,iregion_code,is
572571 endif
573572 endif
574573
575- ! TODO: daniel - check if full tiso mantle should be used
576- ! case (REFERENCE_MODEL_SEMUCB)
574+ case (REFERENCE_MODEL_SEMUCB)
577575 ! SEMUCB - allows tiso for full mantle & crust
578576 ! (same as USE_FULL_TISO_MANTLE option)
579- ! if (idoubling(ispec) == IFLAG_MANTLE_NORMAL &
580- ! .or. idoubling(ispec) == IFLAG_670_220 &
581- ! .or. idoubling(ispec) == IFLAG_220_80 &
582- ! .or. idoubling(ispec) == IFLAG_80_MOHO &
583- ! .or. idoubling(ispec) == IFLAG_CRUST) then
584- ! elem_is_tiso = .true.
585- ! endif
577+ if (idoubling(ispec) == IFLAG_MANTLE_NORMAL &
578+ .or. idoubling(ispec) == IFLAG_670_220 &
579+ .or. idoubling(ispec) == IFLAG_220_80 &
580+ .or. idoubling(ispec) == IFLAG_80_MOHO &
581+ .or. idoubling(ispec) == IFLAG_CRUST) then
582+ elem_is_tiso = .true.
583+ endif
586584
587585 case default
588586 ! default reference models
@@ -641,10 +639,6 @@ subroutine compute_element_tiso_flag(elem_is_tiso,elem_in_mantle,iregion_code,is
641639 ! note: THREE_D_MODEL_SGLOBE_ISO
642640 ! sgloberani_iso model based on PREM, it will have tiso already set from crust down to 220
643641
644- case (THREE_D_MODEL_BERKELEY)
645- ! additionally enables tiso for crust
646- if (idoubling(ispec) == IFLAG_CRUST) elem_is_tiso = .true.
647-
648642 case default
649643 ! nothing special to add
650644 continue
0 commit comments