Skip to content

Commit

Permalink
Use both PDR parameter
Browse files Browse the repository at this point in the history
This forces talys to calculate the PDR strength with resonance parameter 1 and 2. Addresses issue #2
  • Loading branch information
vetlewi committed Nov 2, 2022
1 parent 3858a71 commit 1ec60de
Showing 1 changed file with 34 additions and 32 deletions.
66 changes: 34 additions & 32 deletions source/fstrength.f
Original file line number Diff line number Diff line change
Expand Up @@ -256,39 +256,41 @@ function fstrength(Zcomp,Ncomp,Efs,Egamma,irad,l)
c
c tpr1: strength of PR
c
tpr1=tpr(Zcomp,Ncomp,irad,l,1)
if (Egamma.gt.0.001.and.tpr1.gt.0.) then
if (gamadjust(Zcomp,Ncomp)) then
key='tpr'
call adjust(Egamma,key,Zcomp,Ncomp,0,l,factor1)
key='tpradjust'
call adjust(Egamma,key,Zcomp,Ncomp,0,l,factor2)
tpr1=factor1*factor2*tpr(Zcomp,Ncomp,irad,l,1)*
+ tpradjust(Zcomp,Ncomp,irad,l,1)
key='gpr'
call adjust(Egamma,key,Zcomp,Ncomp,0,l,factor1)
key='gpradjust'
call adjust(Egamma,key,Zcomp,Ncomp,0,l,factor2)
gpr1=factor1*factor2*gpr(Zcomp,Ncomp,irad,l,1)*
+ gpradjust(Zcomp,Ncomp,irad,l,1)
key='epr'
call adjust(Egamma,key,Zcomp,Ncomp,0,l,factor1)
key='epradjust'
call adjust(Egamma,key,Zcomp,Ncomp,0,l,factor2)
epr1=factor1*factor2*epr(Zcomp,Ncomp,irad,l,1)*
+ epradjust(Zcomp,Ncomp,irad,l,1)
else
epr1=epr(Zcomp,Ncomp,irad,l,1)
gpr1=gpr(Zcomp,Ncomp,irad,l,1)
do 20 i=1,2
tpr1=tpr(Zcomp,Ncomp,irad,l,i)
if (Egamma.gt.0.001.and.tpr1.gt.0.) then
if (gamadjust(Zcomp,Ncomp)) then
key='tpr'
call adjust(Egamma,key,Zcomp,Ncomp,0,l,factor1)
key='tpradjust'
call adjust(Egamma,key,Zcomp,Ncomp,0,l,factor2)
tpr1=factor1*factor2*tpr(Zcomp,Ncomp,irad,l,i)*
+ tpradjust(Zcomp,Ncomp,irad,l,i)
key='gpr'
call adjust(Egamma,key,Zcomp,Ncomp,0,l,factor1)
key='gpradjust'
call adjust(Egamma,key,Zcomp,Ncomp,0,l,factor2)
gpr1=factor1*factor2*gpr(Zcomp,Ncomp,irad,l,i)*
+ gpradjust(Zcomp,Ncomp,irad,l,i)
key='epr'
call adjust(Egamma,key,Zcomp,Ncomp,0,l,factor1)
key='epradjust'
call adjust(Egamma,key,Zcomp,Ncomp,0,l,factor2)
epr1=factor1*factor2*epr(Zcomp,Ncomp,irad,l,i)*
+ epradjust(Zcomp,Ncomp,irad,l,i)
else
epr1=epr(Zcomp,Ncomp,irad,l,i)
gpr1=gpr(Zcomp,Ncomp,irad,l,i)
endif
kgr1=kgr(l)
epr2=epr1**2
gpr2=gpr1**2
Egam2=Egamma**2
enum=gpr2*Egamma**(3-2*l)
denom=(Egam2-epr2)**2+Egam2*gpr2
fstrength=fstrength+kgr1*tpr1*enum/denom
endif
kgr1=kgr(l)
epr2=epr1**2
gpr2=gpr1**2
Egam2=Egamma**2
enum=gpr2*Egamma**(3-2*l)
denom=(Egam2-epr2)**2+Egam2*gpr2
fstrength=fstrength+kgr1*tpr1*enum/denom
endif
20 continue
c
c Inclusion of an additional low-E limit of E1 nature
c
Expand Down

0 comments on commit 1ec60de

Please sign in to comment.