@@ -1077,21 +1077,33 @@ end subroutine remove_mixing_singletons
1077
1077
subroutine close_convection_gaps (s , ierr )
1078
1078
type (star_info), pointer :: s
1079
1079
integer , intent (out ) :: ierr
1080
- call close_gaps(s, convective_mixing, s% min_convective_gap, ierr)
1080
+ if (s% use_other_close_gaps) then
1081
+ call s% other_close_gaps(s% id, convective_mixing, s% min_convective_gap, ierr)
1082
+ else
1083
+ call close_gaps(s, convective_mixing, s% min_convective_gap, ierr)
1084
+ end if
1081
1085
end subroutine close_convection_gaps
1082
1086
1083
1087
1084
1088
subroutine close_thermohaline_gaps (s , ierr )
1085
1089
type (star_info), pointer :: s
1086
1090
integer , intent (out ) :: ierr
1087
- call close_gaps(s, thermohaline_mixing, s% min_thermohaline_gap, ierr)
1091
+ if (s% use_other_close_gaps) then
1092
+ call s% other_close_gaps(s% id, thermohaline_mixing, s% min_thermohaline_gap, ierr)
1093
+ else
1094
+ call close_gaps(s, thermohaline_mixing, s% min_thermohaline_gap, ierr)
1095
+ end if
1088
1096
end subroutine close_thermohaline_gaps
1089
1097
1090
1098
1091
1099
subroutine close_semiconvection_gaps (s , ierr )
1092
1100
type (star_info), pointer :: s
1093
1101
integer , intent (out ) :: ierr
1094
- call close_gaps(s, semiconvective_mixing, s% min_semiconvection_gap, ierr)
1102
+ if (s% use_other_close_gaps) then
1103
+ call s% other_close_gaps(s% id, semiconvective_mixing, s% min_semiconvection_gap, ierr)
1104
+ else
1105
+ call close_gaps(s, semiconvective_mixing, s% min_semiconvection_gap, ierr)
1106
+ end if
1095
1107
end subroutine close_semiconvection_gaps
1096
1108
1097
1109
0 commit comments