#include "implicit_f.inc"
Go to the source code of this file.
|
| subroutine | compute_bfrac (time, xl, tburn, uparam, v1, rho1, rho10, bfrac) |
◆ compute_bfrac()
| subroutine compute_bfrac |
( |
| time, |
|
|
| xl, |
|
|
| tburn, |
|
|
| uparam, |
|
|
| v1, |
|
|
| rho1, |
|
|
| rho10, |
|
|
| bfrac ) |
Definition at line 28 of file compute_bfrac.F.
29
30
31
32#include "implicit_f.inc"
33
34
35
36 my_real time,xl,tburn,v1,rho1,rho10,uparam(*),bfrac
37
38
39
40 INTEGER ibug, IBFRAC
42
43 vdet = uparam(42)
44 bhe = uparam(44)
45 ibfrac= uparam(68)
46
47
48
49
50 IF(bfrac < one) THEN
51 bfrac = zero
52 IF(ibfrac/=1 .AND. time > -tburn)THEN
53 xl = v1**third
54 bfrac = vdet*(time+tburn)*two_third/xl
55 ENDIF
56 IF(ibfrac/=2) bfrac =
max( bfrac , bhe * (one - rho10/rho1) )
57 IF(bfrac < em03) THEN
58 bfrac = zero
59 ELSEIF(bfrac > one) THEN
60 bfrac = one
61 ENDIF
62 ENDIF
63 RETURN