@@ -1582,6 +1582,14 @@ subroutine set_rate_factors(id, ierr)
1582
1582
1583
1583
s% rate_factors(:) = 1
1584
1584
if (s% job% num_special_rate_factors <= 0 ) return
1585
+
1586
+ ! Dont error if we are changing net
1587
+ if ((s% job% change_initial_net .or. s% job% change_net) .and. &
1588
+ trim (s% job% new_net_name)/= trim (s% net_name)) then
1589
+ ! write(*,*) "Not changing special rates untill net change"
1590
+ return
1591
+ end if
1592
+
1585
1593
1586
1594
call get_net_reaction_table_ptr(s% net_handle, net_reaction_ptr, ierr)
1587
1595
if (ierr /= 0 ) return
@@ -1592,14 +1600,14 @@ subroutine set_rate_factors(id, ierr)
1592
1600
j = 0
1593
1601
if (ir > 0 ) j = net_reaction_ptr(ir)
1594
1602
if (j <= 0 ) then
1595
- write (* ,2 ) ' Failed to find reaction_for_special_factor ' // &
1603
+ write (* ,* ) ' Failed to find reaction_for_special_factor ' // &
1596
1604
trim (s% job% reaction_for_special_factor(i)), &
1597
1605
j, s% job% special_rate_factor(i)
1598
1606
error = .true.
1599
1607
cycle
1600
1608
end if
1601
1609
s% rate_factors(j) = s% job% special_rate_factor(i)
1602
- write (* ,2 ) ' set special rate factor for ' // &
1610
+ write (* ,* ) ' set special rate factor for ' // &
1603
1611
trim (s% job% reaction_for_special_factor(i)), &
1604
1612
j, s% job% special_rate_factor(i)
1605
1613
end do
0 commit comments