forked from NuGrid/NuPyCEE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdecay_module.f95
5372 lines (4982 loc) · 181 KB
/
decay_module.f95
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
!**********************************************
!* Declarataion of the Communication Module *
!**********************************************
module comm
parameter (max_entry=10000)
integer i_entry(0:max_entry)
integer i_entry_max
end module comm
!*******************************************
!* Declarataion of the Path module *
!*******************************************
module path_module
character*256 files_path
character*10 re_import_test
end module path_module
!*****************************************
!* Declarataion of the ISO Module *
!*****************************************
module iso
implicit none
character*256 init_file, input_file_network, input_file_abundance, output_file_abundance
integer max_number_isotopes, number_isotopes, current_isotope, abundance_file_format
character*20 element_names(0:200)
integer number_reaction_types, max_number_reactions, max_number_fissile_isotopes
double precision max_hwz ! maximum half life - above that, isotope will be considered stable
parameter (number_reaction_types=22)
parameter (max_number_isotopes=10000) ! maximum number of species
parameter (max_number_reactions=100) ! maximum number of reactions per species
parameter (max_number_fissile_isotopes=200) ! maximum number of species which undergo fission
parameter (max_hwz=1e20) ! maximum half life - above that, isotope will be considered stable - ~3000 Gyr
integer z(max_number_isotopes), n(max_number_isotopes) ! Number of Protons and Neutrons of given species
integer reactions(max_number_isotopes,-1:max_number_reactions) ! 0: Number of reactions 1..n reaction type of given species, -1 index in fission vector
double precision decay_constant(max_number_isotopes,0:max_number_reactions) ! decay rates of reactions of given species in 1/s 0 ... total, 1..n partial (later normalized to 1)
double precision decay(max_number_isotopes) ! sum of decays per time step of given species
double precision production(max_number_isotopes) ! sum of production per time step of given species
double precision level(max_number_isotopes) ! level in keV above ground state of given species (allows isomers...)
double precision spin(max_number_isotopes) ! spin of given species (needed in case of fission)
double precision level_product(max_number_isotopes,max_number_reactions) ! level in keV above ground state of product species (allows isomers...)
integer product_isomer(max_number_isotopes,max_number_reactions) ! species produced by reaction on (isomer,reaction)
double precision abundance(max_number_isotopes) ! abundance of given species
double precision initial_abundance(max_number_isotopes) ! abundance of given species
character*3 reaction_types(number_reaction_types)
integer reaction_vector(2,number_reaction_types)
! gives change in Z,N for desired reaction - EC is (-1,1), B- is (+1,-1) etc.
data reaction_types /'B-', 'EC', 'N', 'P', 'A', 'BN' , 'EP', & ! 7
'BA', 'EA', & ! 9
'2N', '2P', '2A', 'B2A', & ! 13
'B2N', 'B3N', 'B4N', 'E2P', 'BNA', 'EPA', 'IT' , '12C', & ! 21
'SF'/ ! 22
data reaction_vector /1,-1, -1,1, 0,-1, -1,0, -2,-2, 1,-2, -2,1, &
-1,-3, -3,-1, & ! in the current file, all BA is in fact B-A
+0,-2, -2,0, -4,-4, -3,-5, &
+1,-3, +1,-4, +1,-5, -3,1, -1,-4, -4,1, 0,0, -6,-6, &
+0,0/
! spontanous fission - requires special treatment
double precision s_fission_vector(0:max_number_fissile_isotopes,max_number_isotopes) ! fission yields per fissile isotope
double precision time_decay, dt
double precision kt, mb_distribution(1000) ! Maxwell-Boltzmann Distribution, need for fission/scission
parameter (kt=1.8d0) ! temperature of neutron before scission in MeV
integer index_p, index_n, index_a, index_12c, time_steps, short_lived_counter
logical short_lived(max_number_isotopes)
end module iso
!*****************************************
!* Declarataion of the ISO Module *
!*****************************************
! Taken from GEFSUB.FOR
module GEFSUB_FOR
! ' Copyright 2009,2010,2011,2012,2013,2014,2015:
! ' Dr. Karl-Heinz Schmidt,Rheinstrasse 4,64390 Erzhausen,Germany
! ' and
! ' Dr. Beatriz Jurado,Centre d'Etudes Nucleaires de Bordeaux-Gradignan,
! ' Chemin du Solarium,Le Haut Vigneau,BP 120,33175 Gradignan,Cedex,
! ' France
! '
! ' This program is free software: you can redistribute it and/or modify
! ' it under the terms of the GNU General Public License as published by
! ' the Free Software Foundation,either version 3 of the License,or
! ' (at your option) any later version.
! '
! ' This program is distributed in the hope that it will be useful,
! ' but WITHOUT ANY WARRANTY; without even the implied warranty of
! ' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! ' GNU General Public License for more details.
! '
! ' You should have received a copy of the GNU General Public License
! ' along with this program. If not,see <http://www.gnu.org/licenses/>.
! '
! '
! /' Documentation: '/
! /' (1) K.-H. Schmidt and B. Jurado,Contribution to '/
! /' ESNT Workshop "The scission process",Saclay (France),April 12-16,2010 '/
! /' (2) B. Jurado and K.-H. Schmidt,Contribution to '/
! /' Seminar an fission,Gent (Belgium),May 17-20,2010 '/
! /' (3) K.-H. Schmidt and B. Jurado,Contribution to '/
! /' Seminar on fission,Gent (Belgium),May 17-20,2010 '/
! /' (4) B. Jurado and K.-H. Schmidt,Contribution to '/
! /' EFNUDAT Workshop,Paris (France),May 25-27,2010 '/
! /' (5) K.-H. Schmidt and B. Jurado,Contribution to '/
! /' EFNUDAT Workshop,Paris (France),May 25-27,2010 '/
! /' (6) K.-H. Schmidt and B. Jurado,'/
! /' Final Report to EFNUDAT,October,2010 '/
! /' (7) K.-H. Schmidt and B. Jurado,Phys. Rev. Lett. 104 (2010) 21250 '/
! /' (8) K.-H. Schmidt and B. Jurado,Phys. Rev. C 82 (2011) 014607 '/
! /' (9) K.-H. Schmidt and B. Jurado,Phys. Rev. C 83 (2011) 061601 '/
! /' (10) K.-H. Schmidt and B. Jurado,arXiv:1007.0741v1[nucl-th] (2010) '/
! /' (11) K.-H. Schmidt and B. Jurado,JEF/DOC 1423,NEA of OECD,2012 '/
! /' (12) K.-H. Schmidt and B. Jurado,Phys. Rev. C 86 (2012) 044322 '/
! /' (13) K.-H. Schmidt,B. Jurado,Ch. Amouroux,JEFF-Report 24,NEA of OECD,2014 '/
! '
! '
! /' Further documentation and the newest version of the GEF code are '/
! /' available from '/
! /' http://www.cenbg.in2p3.fr/GEF and http://www.khs-erzhausen.de/ . '/
! '
! '
! ' The development of the GEF code has been supported by the European Union,
! ' EURATOM 6 in the Framework Program "European Facilities for Nuclear Data
! ' Measurements" (EFNUDAT),contract number FP6-036434,the Framework
! ' Program "European Research Infrastructure for Nuclear Data Applications
! ' (ERINDA),contract number FP7-269499,and by the OECD Nuclear Energy Agency.
contains
!*****************************************
!* U Valid *
!*****************************************
INTEGER*4 function U_Valid(I_Z,I_A)
IMPLICIT NONE
INTEGER*4 I_Z
INTEGER*4 I_A
INTEGER*4 Ivalid
Ivalid = 1
! ' If I_A / I_Z < 210.E0/90.E0
IF ( I_A / I_Z .LT. 172.E0 / 80.E0 .OR. I_A / I_Z .GT. 250.E0/90.E0 ) THEN
Ivalid = 0
End If
IF ( I_Z .LT. 70 .OR. I_Z .GT. 120 ) THEN
Ivalid = 0
End If
! ' Ivalid = 1
U_Valid = Ivalid
end
!*****************************************
!* U Delta S0 *
!*****************************************
REAL*4 function get_U_Delta_S0(I_Z,I_A)
IMPLICIT NONE
INTEGER*4 I_Z
INTEGER*4 I_A
! ' I_Z and I_A refer to the fissioning nucleus90 22
REAL*4 Delta
Delta = 0.3
IF ( I_Z .EQ. 90 .AND. I_A .EQ. 228 ) Delta = 0.70
! 'N
IF ( I_Z .EQ. 90 .AND. I_A .EQ. 230 ) Delta = 0.6
! 'N
IF ( I_Z .EQ. 90 .AND. I_A .EQ. 233 ) Delta = 0.3
! '
IF ( I_Z .EQ. 91 .AND. I_A .EQ. 228 ) Delta = 0.65
! '
IF ( I_Z .EQ. 92 .AND. I_A .EQ. 233 ) Delta = 0.5
! 'N
IF ( I_Z .EQ. 92 .AND. I_A .EQ. 234 ) Delta = 0.6
! 'N
IF ( I_Z .EQ. 92 .AND. I_A .EQ. 235 ) Delta = 0.3
IF ( I_Z .EQ. 92 .AND. I_A .EQ. 236 ) Delta = 0.3
! 'N
IF ( I_Z .EQ. 92 .AND. I_A .EQ. 237 ) Delta = 0.3
IF ( I_Z .EQ. 92 .AND. I_A .EQ. 238 ) Delta = 0.3
IF ( I_Z .EQ. 92 .AND. I_A .EQ. 239 ) Delta = 0.1
! '
IF ( I_Z .EQ. 93 .AND. I_A .EQ. 238 ) Delta = -0.1
! 'N
! '
IF ( I_Z .EQ. 94 .AND. I_A .EQ. 240 ) Delta = -0.1
! 'N
IF ( I_Z .EQ. 94 .AND. I_A .EQ. 241 ) Delta = -0.5
! 'N
IF ( I_Z .EQ. 94 .AND. I_A .EQ. 242 ) Delta = -0.15
! 'N
IF ( I_Z .EQ. 94 .AND. I_A .EQ. 243 ) Delta = -0.45
! 'N
IF ( I_Z .EQ. 94 ) Delta = 0.25
! '
IF ( I_Z .EQ. 95 .AND. I_A .EQ. 242 ) Delta = -0.35
! 'N
! '
IF ( I_Z .EQ. 95 .AND. I_A .EQ. 243 ) Delta = -0.1
! 'N
! '
IF ( I_Z .EQ. 95 .AND. I_A .EQ. 244 ) Delta = -0.1
! '
IF ( I_Z .EQ. 96 .AND. I_A .EQ. 244 ) Delta = 0.0
! 'N
IF ( I_Z .EQ. 96 .AND. I_A .EQ. 246 ) Delta = -0.2
! 'N
get_U_Delta_S0 = Delta
end
!*****************************************
!* Get Getyield *
!*****************************************
REAL*4 function get_Getyield(E_rel,E_ref,T_low,T_high)
IMPLICIT NONE
REAL*4 E_rel
REAL*4 E_ref
REAL*4 T_low
REAL*4 T_high
! /' Erel: Energy relative to the barrier '/
! /' T_low: Effective temperature below barrier '/
! /' T_high: Effective temperature above barrier '/
REAL*4 Exp1
REAL*4 Yield
! '
Exp1 = E_rel/T_low - E_ref/0.4
! ' energy far below barrier
! ' Subtraction of E_ref/0.4 to prevent numerical problems.
IF ( Exp1 .LT. -50 ) THEN
Yield = 0
Else
Yield = Exp(E_rel / T_high - E_ref/0.4) * 1.E0 / (1.E0 + exp(-E_rel/ (T_high*T_low/(T_high-T_low) ) ) )
End If
get_Getyield = Max(Yield,0.0)
end
!*****************************************
!* Get F1 *
!*****************************************
REAL*4 function get_F1(Z_S_A)
IMPLICIT NONE
REAL*4 Z_S_A
! /' Fit to the lower part of the data '/
REAL*4 Result
Result = exp(-9.05E0 + 4.58E0 * Log(Z_S_A/2.3E0))
get_F1 = Result
end
!*****************************************
!* Get F2 *
!*****************************************
REAL*4 function get_F2(Z_S_A)
IMPLICIT NONE
REAL*4 Z_S_A
! /' Fit to the upper part of the data '/
REAL*4 Result
Result = exp(12.08E0 - 3.27E0 * Log(Z_S_A/2.3E0))
get_F2 = Result
end
!*****************************************
!* Get Masscurv *
!*****************************************
REAL*4 function get_Masscurv(Z,A,RL,kappa)
IMPLICIT NONE
REAL*4 Z
REAL*4 A
REAL*4 RL
REAL*4 kappa
! /' Fit to Data of Fig. 7 of '/
! /' "Shell effect in the symmetric-modal fission of pre-actinide nuclei" '/
! /' S. I. Mulgin,K.-H. Schmidt,A. Grewe,S. V. Zhdanov '/
! /' Nucl. Phys. A 640 (1998) 375
! /' (From fit of the width of the mass distributions.) '/ '/
REAL*4 RI,Result1,Result2,Result
REAL*4 Z_square_over_A
REAL*4 ZsqrA
REAL*4 c_rot
DATA c_rot/600.0/
REAL*4 F1
REAL*4 F2
! '
Z_square_over_A = Z**2/A
RI = (A - 2*Z)/A
ZsqrA = Z_square_over_A * (1.E0 - kappa * RI**2) / &
(1.E0 - kappa * ((226.E0 - 2.E0*91.E0)/226.E0)**2) + &
c_rot * RL**2 / A**(7.0/3.0)
! ' Hasse & Myers
! ' + 0.0017 * RL^2
! '
Result1 = get_F1(ZsqrA)
Result2 = get_F2(ZsqrA)
Result = Min(Result1,Result2)
get_Masscurv = Result
! '
end
!*****************************************
!* Get Masscurv1 *
!*****************************************
REAL*4 function get_Masscurv1(Z,A,RL,kappa)
IMPLICIT NONE
REAL*4 Z
REAL*4 A
REAL*4 RL
REAL*4 kappa
! /' Fit to Data of Fig. 7 of '/
! /' "Shell effect in the symmetric-modal fission of pre-actinide nuclei" '/
! /' S. I. Mulgin,K.-H. Schmidt,A. Grewe,S. V. Zhdanov '/
! /' Nucl. Phys. A 640 (1998) 375
! /' (The left part assumed to be valid for the yields of the fission channels.) '/ '/
REAL*4 RI,Result1,Result2,Result
! ' Dim As Single A,A_central,Z
REAL*4 Z_square_over_A
REAL*4 ZsqrA
REAL*4 c_rot
DATA c_rot/600.0/
REAL*4 F1
REAL*4 F2
! '
! 'A_central = -28.8156 + Z * 2.86587 ' Stability line for heavy nuclei
! '
Z_square_over_A = Z**2/A
RI = (A - 2*Z)/A
ZsqrA = Z_square_over_A * (1.E0 - kappa * RI**2) / &
(1.E0 - kappa * ((226.E0 - 2.E0*91.E0)/226.E0)**2) + &
c_rot * RL**2 / A**(7.0/3.0)
! ' Hasse & Myers
! ' + 0.0017 * RL^2
! '
IF ( ZsqrA .LT. 36.0 ) THEN
! ' adjusted to Y(S2) in light nuclei (80<Z<92)
ZsqrA = ZsqrA + 0.9 * (36.0 - ZsqrA)
End If
! '
Result1 = get_F1(ZsqrA)
! ' Result2 = get_F2(ZsqrA)
! ' Result = Min(Result1,Result2)
get_Masscurv1 = Result1
! '
end
!*****************************************
! Get De Saddle Scission *
!*****************************************
REAL*4 function get_De_Saddle_Scission(Z_square_over_Athird,ESHIFTSASCI)
IMPLICIT NONE
REAL*4 Z_square_over_Athird
REAL*4 ESHIFTSASCI
! /' Energy release between saddle and scission '/
! /' M. Asghar,R. W. Hasse,J. Physique C 6 (1984) 455 '/
REAL*4 Result
Result = (31.E0 - 11.E0) / (1550.E0 - 1300.E0) * &
(Z_square_over_Athird - 1300.E0 + ESHIFTSASCI) + 11.E0
! ' This formula with ESHIFTSASCI = 0 is the parameterisation of the results
! ' of Ashgar and Hasse,JPC 6 (1984) 455,see
! ' F. Rejmund,A. V. Ignatyuk,A. R. Junghans,K.-H. Schmidt
! ' Nucl. Phys. A 678 (2000) 215
Result = max(Result,0.0)
get_De_Saddle_Scission = Result
end
!*****************************************
!* Get TEgidy *
!*****************************************
REAL*4 function get_TEgidy(A,DU,Fred)
IMPLICIT NONE
REAL*4 A
REAL*4 DU
REAL*4 Fred
! /' Temperature parameter of the constant-temperature formula for the
! nuclear level density.
! Input parameters: A = Mass number of nucleus
! DU = Shell effect (corrected for pairing:P=0 for odd-A nuclei)
! From "Correlations between the nuclear level density parameters"
! Dorel Bucurescu,Till von Egidy
! Phys. Rev. C 72 (2005) 067304 and
! "Systematics of nuclear level density parameters"
! Dorel Bucurescu,Till von Egidy
! J. Phys. G: Nucl. Part. Phys. 31 (2005) S1675 and
! "Systematics of nuclear level density parameters"
! Till von Egidy,Dorel Bucurescu
! Phys. Rev. C 72 (2005) 044311 '/
REAL*4 Temp_smooth,Temp,T_Fac
! ' Temp_smooth = 17.45E0 / (A^0.666667E0)
! ' Temp = (17.45E0 - 0.51E0 * DU + 0.051 * DU^2) / (A^0.666667E0)
Temp_smooth = 1.0 / (0.0570 * A**0.6666667)
Temp = 1.0 / ( (0.0570 + 0.00193*DU) * A**0.6666667)
! ' from PRC 80 (2009) 054310
T_Fac = Temp / Temp_smooth
Temp = Temp * Fred
! /' (For influence of deformation) '/
get_TEgidy = Temp
end
!*****************************************
!* Get TRusanov *
!*****************************************
REAL*4 function get_TRusanov(E,A)
IMPLICIT NONE
REAL*4 E
REAL*4 A
! /' Fermi-gas level density,parameterisation of Rusanov et al. '/
IF ( E >0 ) THEN
get_TRusanov = SQRT(E / (0.094E0 * A) )
Else
get_TRusanov = 0.0
End If
end
!*****************************************
!* Get LyMass *
!*****************************************
REAL*4 function get_LyMass(Z,A,beta)
IMPLICIT NONE
REAL*4 Z
REAL*4 A
REAL*4 beta
! '
! /' liquid-drop mass,Myers & Swiatecki,Lysekil,1967 '/
! /' pure liquid drop,without pairing and shell effects '/
! '
! /' On input: Z nuclear charge of nucleus '/
! /' N number of neutrons in nucleus '/
! /' beta deformation of nucleus '/
! /' On output: binding energy of nucleus '/
! '
REAL*4 pi
PARAMETER (pi=3.14159)
REAL*4 N
REAL*4 alpha
REAL*4 XCOM,XVS,XE,EL
! '
N = A - Z
alpha = SQRT(5.E0/(4.E0*pi)) * beta
XCOM = 1.E0 - 1.7826E0 * ((A - 2.E0*Z)/A)**2
! /' factor for asymmetry dependence of surface and volume term '/
XVS = - XCOM * (15.4941E0*A - 17.9439E0*A**(2.E0/3.E0)*(1.E0+0.4E0*Alpha**2))
! /' sum of volume and surface energy '/
XE = Z**2 * (0.7053E0/A**(1.E0/3.E0)*(1.E0-0.2E0*Alpha**2) - 1.1529E0/A)
EL = XVS + XE
! /' EL = EL + LyPair(Z,A); '/
get_LyMass = EL
end
!*****************************************
!* Get LyPair *
!*****************************************
REAL*4 function get_LyPair(Z,A)
IMPLICIT NONE
INTEGER*4 Z
INTEGER*4 A
! /' Calculates pairing energy '/
! /' odd-odd nucleus: get_LyPair = 0 '/
! /' even-odd nucleus: get_LyPair = -12/sqr(A) '/
! /' even-even nucleus: get_LyPair = -2*12/sqr(A) '/
REAL*4 E_PAIR
! '
E_PAIR = - 12.E0 / SQRT(REAL(A)) * ( MOD((Z+1) , 2) + MOD((A-Z+1), 2))
! '
get_LyPair = E_PAIR
end
!*****************************************
!* TFPair *
!*****************************************
REAL*4 function TFPair(Z,A)
IMPLICIT NONE
INTEGER*4 Z
INTEGER*4 A
! /' Pairing energy from Thomas-Fermi model of Myers and Swiatecki '/
! /' Shifted that TFPair is zero for odd-odd nuclei '/
INTEGER*4 N
REAL*4 E_Pair
N = A - Z
IF ( MOD(Z,2) .EQ. 0 .AND. MOD(N,2) .EQ. 0 ) THEN
! /' even-even '/
E_Pair = - 4.8E0 / Z**0.333333E0 - 4.8E0 / N**0.333333E0 + 6.6E0 / A**0.666666E0
END IF
IF ( MOD(Z,2) .EQ. 0 .AND. MOD(N,2) .EQ. 1 ) THEN
! /' even Z,odd N '/
E_Pair = - 4.8E0 / Z**0.333333E0 + 6.6E0 / A**0.666666E0
END IF
IF ( MOD(Z,2) .EQ. 1 .AND. MOD(N,2) .EQ. 0 ) THEN
! /' odd Z,even N '/
E_Pair = - 4.8E0 / N**0.333333E0 + 6.6E0 / A**0.666666E0
END IF
IF ( MOD(Z,2) .EQ. 1 .AND. MOD(N,2) .EQ. 1 ) THEN
! /' odd N,odd N '/
E_Pair = 0.0
END IF
TFPair = E_Pair
end
!*****************************************
!* Pmass *
!*****************************************
REAL*4 function Pmass(Z,A,beta)
IMPLICIT NONE
REAL*4 Z
REAL*4 A
REAL*4 beta
! /' Liquid-drop model of Pearson,2001 '/
REAL*4 N,EA,BE
REAL*4 avol
DATA avol/-15.65/
REAL*4 asf
DATA asf/17.63/
REAL*4 r0
DATA r0/1.233/
REAL*4 asym
DATA asym/27.72/
REAL*4 ass
DATA ass/-25.60/
REAL*4 alpha
REAL*4 pi
PARAMETER (pi=3.14159)
! '
N = A - Z
alpha = SQRT(5.E0/(4.E0*pi)) * beta
EA = avol + asf * A**(-0.333333)*(1.E0+0.4E0*Alpha**2) + &
0.6E0 * 1.44E0 * Z**2 / (A**1.333333 * r0 )*(1.E0-0.2E0*Alpha**2) + &
(asym + ass * A**(-0.333333)) * (N-Z)**2 / A**2
BE = EA * A
Pmass = BE
end
!*****************************************
!* Get FEDEFOP *
!*****************************************
REAL*4 function get_FEDEFOP(Z,A,beta)
IMPLICIT NONE
REAL*4 Z
REAL*4 A
REAL*4 beta
! /' According to liquid-drop model of Pearson 2001 '/
REAL*4 asf
DATA asf/17.63/
REAL*4 r0
DATA r0/1.233/
REAL*4 N,Alpha
REAL*4 pi
PARAMETER (pi=3.14159)
! '
N = A - Z
alpha = SQRT(5.E0/(4.E0*pi)) * beta
get_FEDEFOP = asf * A**(0.666667)*(0.4E0*Alpha**2) - &
0.6E0 * 1.44E0 * Z**2 / (A**0.333333 * r0 )*(0.2E0*Alpha**2)
end
!*****************************************
!* Get FEDEFOLys *
!*****************************************
REAL*4 function get_FEDEFOLys(Z,A,beta)
IMPLICIT NONE
REAL*4 Z
REAL*4 A
REAL*4 beta
REAL*4 LYMASS
get_FEDEFOLys = get_LyMass(Z,A,beta) - get_LyMass(Z,A,0.0)
end
!*****************************************
!* Get LDMass *
!*****************************************
REAL*4 function get_LDMass(Z,A,beta)
IMPLICIT NONE
REAL*4 Z
REAL*4 A
REAL*4 beta
REAL*4 N,BEtab
REAL*4 LYMASS
REAL*4 FEDEFOLYS
REAL*4 BEldmTF
REAL*4 BEexp
N = A - Z
BEtab = get_BEldmTF(NINT(N),NINT(Z)) + 2.0 * 12.0 / SQRT(REAL(A)) - 0.00001433*Z**2.39
! ' The values in BEtab are the negative binding energies!
! ' Pairing in Thomas Fermi masses is zero for Z,N even !
IF ( BEtab .EQ. 0.0 ) THEN
BEtab = get_LyMass(Z,A,0.0)
! ' Print "Warning: Binding energy of Z=";Z;",A=";A;" not in mass table,"; " replaced by LYMASS"
! ' Print "I_Mode = ";I_Mode
End If
get_LDMass = BEtab + get_FEDEFOLys(Z,A,beta)
end
!*****************************************
!* Get BEexp *
!*****************************************
! Taken from BEexp.FOR file
REAL*4 function get_BEexp(N,Z)
IMPLICIT NONE
SAVE
INTEGER*4 N
INTEGER*4 Z
INTEGER*4 I
INTEGER*4 J
INTEGER*4 NI
INTEGER*4 ZI
INTEGER*4 AI
REAL*4 R
INTEGER*4 IFIRST
DATA IFIRST /1/
REAL*4, DIMENSION(0:203,0:136) :: BEexptab
If (IFIRST.EQ.1) THEN
print*,'get_BEexp(N,Z), was here ONCE', BEexptab(N,Z)
DO I = 0, 203, 1
DO J = 0, 136, 1
BEexptab(I,J) = -1.E11
END DO
END DO
OPEN (UNIT = 1, FILE = 'BEexp.dat', STATUS = 'OLD', ACTION = 'READ')
DO I = 1, 3352, 1
READ (1,*) ZI, AI, R
NI = AI - ZI
BEexptab(NI,ZI) = R
END DO
CLOSE (UNIT = 1)
IFIRST = 0
END IF
get_BEexp = BEexptab(N,Z)
end
!*****************************************
!* Get BELdmFT *
!*****************************************
! Taken from BELdmFT.FOR file
REAL*4 function get_BEldmTF(N,Z)
IMPLICIT NONE
SAVE
INTEGER*4 N
INTEGER*4 Z
INTEGER*4 I
INTEGER*4 NI
INTEGER*4 ZI
REAL*4 R
INTEGER*4 IFIRST
DATA IFIRST /1/
REAL*4, DIMENSION(0:203,0:136) :: BEldmTFtab
If (IFIRST.EQ.1) THEN
print*,'get_BEldmTF(N,Z), was here ONCE', BEldmTFtab(N,Z)
OPEN (UNIT = 1, FILE = 'BEldmTF.dat', STATUS = 'OLD', ACTION = 'READ')
DO I = 1, 8293, 1
READ (1,*) NI, ZI, R
BEldmTFtab(NI,ZI) = R
END DO
CLOSE (UNIT = 1)
IFIRST = 0
END IF
get_BEldmTF = BEldmTFtab(N,Z)
end
!*****************************************
!* Get AME2012 *
!*****************************************
REAL*4 function get_AME2012(IZ,IA)
IMPLICIT NONE
INTEGER*4 IZ
INTEGER*4 IA
! ' Masses from the 2003 mass evaluation,complemented by TF masses
! ' and Lysekil masses.
REAL*4 BEexpval
REAL*4 Z,A,N
INTEGER*4 INeu
REAL*4 LYPAIR
REAL*4 U_SHELL
REAL*4 LDMASS
REAL*4 BEexp
INeu = IA - IZ
A = REAL(IA)
Z = REAL(IZ)
N = A - Z
BEexpval = get_BEexp(INeu,IZ)
IF ( BEexpval .GT. -1.E10 ) THEN
get_AME2012 = BEexpval
Else
get_AME2012 = get_LDMass(Z,A,0.0) + get_U_SHELL(IZ,IA) + get_LyPair(IZ,IA)
End If
end
!*****************************************
!* Get U Shell *
!*****************************************
REAL*4 function get_U_SHELL(Z,A)
IMPLICIT NONE
INTEGER*4 Z
INTEGER*4 A
INTEGER*4 N
REAL*4 Res
REAL*4 ShellMO
N = A - Z
Res = get_ShellMO(N,Z)
IF ( Res .GT. 0.0 ) Res = 0.3 * Res
! ' KHS (12. Feb. 2012)
! ' ' The positive shell effects for deformed nuclei seem to be too positive
! ' This gives too many high-energetic prompt neutrons.
get_U_SHELL = Res
end
!*****************************************
!* Get U Shell Exp *
!*****************************************
REAL*4 function get_U_SHELL_exp(IZ,IA)
IMPLICIT NONE
INTEGER*4 IZ
INTEGER*4 IA
REAL*4 Res
REAL*4 Z,A
REAL*4 LDMASS
REAL*4 LYPAIR
REAL*4 AME2012
Z = REAL(IZ)
A = REAL(IA)
Res = 0.5 * ( get_AME2012(IZ,IA) - get_LyPair(IZ,IA) - get_LDMass(Z,A,0.0) ) + &
0.125 * ( get_AME2012(IZ,IA-1) - get_LyPair(IZ,IA-1) - get_LDMass(Z,A-1.0,0.0) ) + &
0.125 * ( get_AME2012(IZ,IA+1) - get_LyPair(IZ,IA+1) - get_LDMass(Z,A+1.0,0.0) ) + &
0.125 * ( get_AME2012(IZ+1,IA+1) - get_LyPair(IZ+1,IA+1) - &
get_LDMass(Z+1.0,A+1.0,0.0) ) + 0.125 * ( get_AME2012(IZ-1,IA-1) - &
get_LyPair(IZ-1,IA-1) - get_LDMass(Z-1.0,A-1.0,0.0) )
get_U_SHELL_exp = Res
end
!*****************************************
!* Get U Shell EO Exp *
!*****************************************
REAL*4 function get_U_SHELL_EO_exp(IZ,IA)
IMPLICIT NONE
INTEGER*4 IZ
INTEGER*4 IA
! ' Returns experimental shell and even-odd staggering
REAL*4 Res
REAL*4 Z,A
REAL*4 LDMASS
REAL*4 LYPAIR
REAL*4 AME2012
Z = REAL(IZ)
A = REAL(IA)
Res = get_AME2012(IZ,IA) - get_LDMass(Z,A,0.0)
get_U_SHELL_EO_exp = Res
end
!*****************************************
!* Get U MASS *
!*****************************************
REAL*4 function get_U_MASS(Z,A)
IMPLICIT NONE
REAL*4 Z
REAL*4 A
! /' LD + congruence energy + shell (no pairing) '/
REAL*4 BE
REAL*4 U_SHELL
REAL*4 LDMASS
! IF ( Z .LT. 0 .OR. A .LT. 0 ) THEN
! ' Print "U_Mass: Z,A",Z,A
! End If
BE = get_LDMass(Z,A,0.0) + get_U_SHELL(NINT(Z),NINT(A))
get_U_MASS = BE
end
!*****************************************
!* Get ECOUL *
!*****************************************
REAL*4 function get_ECOUL(Z1,A1,beta1,Z2,A2,beta2,d)
IMPLICIT NONE
REAL*4 Z1
REAL*4 A1
REAL*4 beta1
REAL*4 Z2
REAL*4 A2
REAL*4 beta2
REAL*4 d
! '
! /' Coulomb potential between two nuclei '/
! /' surfaces are in a distance of d '/
! /' in a tip to tip configuration '/
! '
! /' approximate formulation '/
! /' On input: Z1 nuclear charge of first nucleus '/
! /' A1 mass number of irst nucleus '/
! /' beta1 deformation of first nucleus '/
! /' Z2 nuclear charge of second nucleus '/
! /' A2 mass number of second nucleus '/
! /' beta2 deformation of second nucleus '/
! /' d distance of surfaces of the nuclei '/
! '
REAL*4 N1,N2,recoul
REAL*4 dtot
REAL*4 r0
DATA r0/1.16/
! '
N1 = A1 - Z1
N2 = A2 - Z2
dtot = r0 *( (Z1+N1)**0.3333333E0 * (1.E0+0.6666667E0*beta1) + &
(Z2+N2)**0.3333333E0 * (1.E0+0.6666667E0*beta2) ) + d
REcoul = Z1 * Z2 * 1.44E0 / dtot
! '
get_ECOUL = REcoul
end
!*****************************************
!* Beta Light *
!*****************************************
REAL*4 function get_beta_light(Z,betaL0,betaL1)
IMPLICIT NONE
INTEGER*4 Z
REAL*4 betaL0
REAL*4 betaL1
! /' Deformation of light fission fragment for S1 and S2 '/
! /' Systematic correlation Z vs. beta for deformed shells '/
! /' Z of fission fragment '/
REAL*4 beta
beta = (Z - betaL0) * betaL1/20.E0
get_beta_light = beta
end
!*****************************************
!* Beta Heavy *
!*****************************************
REAL*4 function get_beta_heavy(Z,betaH0,betaH1)
IMPLICIT NONE
INTEGER*4 Z
REAL*4 betaH0
REAL*4 betaH1
! /' Deformation of heavy fission fragment for S2 '/
! /' Systematic correlation Z vs. beta for deformed shells '/
! /' Z of fission fragment '/
REAL*4 beta
beta = (Z - betaH0) * betaH1/20.E0
get_beta_heavy = beta
end
!*****************************************
!* Z Equi *
!*****************************************
REAL*4 function get_Z_equi(ZCN,A1,A2,beta1,beta2,d,Imode,POLARadd,POLARfac)
IMPLICIT NONE
INTEGER*4 ZCN
INTEGER*4 A1
INTEGER*4 A2
REAL*4 beta1
REAL*4 beta2
REAL*4 d
INTEGER*4 Imode
REAL*4 POLARadd
REAL*4 POLARfac
! /' Determines the minimum potential of the scission-point configuration
! represented by two deformed nuclei divided by a tip distance d.
! A1,A2,beta1,beta2,d are fixed,Z1 is searched for and returned on output. '/
! '
! /' ZCN: Z of fissioning nucleus '/
! /' A1: A of first fission fragment '/
! /' A2: A of second fission fragment '/
! /' beta1: deformation of first fission fragment '/
! /' beta2: deformation of second fission fragment '/
! /' d: tip distance '/
! '
REAL*4 RZ_equi
REAL*4 RA1,RA2,RZCN,RACN
REAL*4 Z1UCD,Z2UCD
REAL*4 re1,re2,re3,eps1,eps2,DZ_Pol
! /' help variables '/
REAL*4 ECOUL
REAL*4 LYMASS
! '
RA1 = REAL(A1)
RA2 = REAL(A2)
RZCN = REAL(ZCN)
RACN = RA1 + RA2
Z1UCD = RA1 / (RA1 + RA2) * RZCN
Z2UCD = RZCN - Z1UCD
re1 = get_LyMass( Z1UCD-1.E0,RA1,beta1 ) + &
get_LyMass( Z2UCD+1.E0,RA2,beta2 ) + &
get_ECOUL( Z1UCD-1.E0,RA1,beta1,Z2UCD+1.E0,RA2,beta2,d )
re2 = get_LyMass( Z1UCD,RA1,beta1) + get_LyMass( Z2UCD,RA2,beta2) + &
get_ECOUL( Z1UCD,RA1,beta1,Z2UCD,RA2,beta2,d )
re3 = get_LyMass( Z1UCD+1.E0,RA1,beta1 ) + &
get_LyMass( Z2UCD-1.E0,RA2,beta2 ) + &
get_ECOUL( Z1UCD+1.E0,RA1,beta1,Z2UCD-1.E0,RA2,beta2,d )
eps2 = ( re1 - 2.E0*re2 + re3 ) / 2.E0
eps1 = ( re3 - re1 ) / 2.E0
DZ_Pol = -eps1 / ( 2.E0 * eps2 )
! '
IF ( DZ_Pol .GT. 2 .OR. DZ_Pol .LT. -2 ) DZ_Pol = 0
! '
IF ( Imode .GT. 0 ) THEN
! /' Purely empirical enhancement of charge polarization '/
DZ_POL = DZ_POL * POLARfac + POLARadd
End If
! '
RZ_equi = Z1UCD + DZ_POL
get_Z_equi = RZ_equi
end
!*****************************************
!* Beta Opt Light *
!*****************************************
subroutine Beta_opt_light(A1,A2,Z1,Z2,d,beta2_imposed,beta1_opt)
IMPLICIT NONE
REAL*4 A1
REAL*4 A2
REAL*4 Z1
REAL*4 Z2
REAL*4 d
REAL*4 beta2_imposed
REAL*4 beta1_opt
! /' Determines the optimum deformation of the light fragment when the deformation of the
! heavy fragment is imposed. '/
! '
REAL*4 beta1,dbeta1,beta1_prev,beta1_next
REAL*4 Uguess,Uplus,Uminus,Uprev,Unext
INTEGER*4 I
REAL*4 ECOUL
REAL*4 LYMASS
! '
! /' List('Beta_opt_light called with ');
! List(A1,A2,Z1,Z2,d,beta2_imposed,beta1_opt);
! DCL Byes Bit(1) aligned;
! Call GPYES('Continue',Byes); '/