File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -456,18 +456,17 @@ subroutine get_kap( &
456
456
stop
457
457
end if
458
458
459
- if (ierr /= 0 ) then
460
- s% retry_message = ' error in op_mono kap'
461
- if (s% report_ierr) write (* , * ) s% retry_message
462
- beta = 0
463
- if (k > 0 .and. k <= s% nz) s% kap_frac_op_mono(k) = 0
464
- ierr = 0
465
- else if (beta == 1d0 ) then
466
- kap = kap_op
467
- dlnkap_dlnT = dlnkap_op_dlnT
468
- dlnkap_dlnd = dlnkap_op_dlnRho
469
- return
470
- end if
459
+ if (ierr /= 0 ) then
460
+ ! Fall back to standard opacities, not OP
461
+ beta = 0
462
+ if (k > 0 .and. k <= s% nz) s% kap_frac_op_mono(k) = 0
463
+ ierr = 0
464
+ else if (beta == 1d0 ) then
465
+ kap = kap_op
466
+ dlnkap_dlnT = dlnkap_op_dlnT
467
+ dlnkap_dlnd = dlnkap_op_dlnRho
468
+ return
469
+ end if
471
470
472
471
if (is_bad(kap_op)) then
473
472
ierr = 1
You can’t perform that action at this time.
0 commit comments