forked from toshihikokawano/DeCE
-
Notifications
You must be signed in to change notification settings - Fork 0
DeCE ENDF-6 code, with modifications to calculate Westcott g factors using arbitrary neutron spectra
License
DMatters/DeCE_g-Factor
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
DeCE : The Descriptive Correction of ENDF-6 Format Code Language C++ Author Kawano, T. Version 1.2 (Quartz) DeCE is a C++ program to manipulate ENDF-6 formatted file interactively, inspired by the CRECTJ6 code by T. Nakagawa of JAEA (JAERI-DATA/CODE 99-041). DeCE has several features that help ENDF-6 formatting work; (1) facilitates all ENDF-6 data file manipulations, for example, add two data sections, renormalize data, add/delete data point, (2) convert model calculation results into ENDF-6 format, (3) reconstruct pointwise cross sections from resonance parameters, (4) convert ENDF-6 formatted data file into more human friendly format. The main reference of the code is: DeCE: the ENDF-6 data interface and nuclear data evaluation assist code Journal of Nuclear Science and Technology vol.56, issue 11, pages 1029-1035 (2019) https://doi.org/10.1080/00223131.2019.1637797 History: beta (Talc) : Dec. 2009 original development version (Gypsum) : Mar. 2010 FILE 3 completed version (Calcite) : Mar. 2010 structure re-organized, FILE 4 completed (Fluorite) : Mar. 2010 GFR module imported, cross section from resonances pre1 (Apatite) : Sep. 2010 FILE 6 improved version 1.0.0 (Apatite) : Oct. 2010 public release version 1.1.0 (Turquoise) : Dec. 2010 data tabulation enhanced version 1.1.1 : Aug. 2011 AUTOMAKE version 1.1.2 : Sep. 2012 minor revision 1.1.3 : Sep. 2013 gamma-ray data tabulation 1.1.4 : Jul. 2014 Legendre coefficients from resonances 1.2.0 (Adularia) : Sep. 2015 resonance reconstruction, and more upgrades 1.2.1 : May 2016 open source version 1.2.2 (Pyrite) : Mar. 2019 reorganize source files for better reading 1.2.3 (Rutile) : Dec. 2019 minor revision 1.2.4 (Olivine) : Jun. 2020 covariance printing improved version 1.2.5 (Jadeite) : Nov. 2020 memory allocation and GFR module improved version 1.2.6 (Garet) : Oct. 2022 maintenance release, minor revision 1.2.7 (Quartz) : Apr. 2024 radioisotope production reading Files: source/ [Main Program] constant.h physical constatns definition dece.h prototype definition of main modules deceread.h prototype definition of data reading functions decetable.h prototype definition of functions in decetable sources terminate.h code emergency stop dece.cpp main program deceangdist.cpp make MF4 from data, calculate Legendre coefficients deceapplyfunc.cpp modify MF3 data by applying some functional forms dececalc.cpp add/sub/mul/div operation of TAB1 type sections decechangeint.cpp change interpolation decedelete.cpp remove some subsections or whole deceextract.cpp print a specified MF MT subsection decefactor.cpp apply a constant to the data in MF3, or re-scale all deceglobaloption.cpp set/unset global options deceheader.cpp manipulate header part in MF1 decelibread.cpp import a subsection from external ENDF file decememory.cpp print internal memory usage decemisc.cpp some mathematical functions decemod4.cpp manipulate sections in MF4 decemod6.cpp manipulate sections in MF6 deceoperation.cpp perform each given operation deceoutput.cpp output whole ENDF data, renumbered, make new dictionary decepoint.cpp manipulate one-point data deceprocpoitwise.cpp create point-wise cross sections in MF3 deceprocgroup.cpp make a table of group average cross sections deceread.cpp read external file and make a section in MF1,3,9 and 10 decereadjust.cpp rescale partial cross section by the sum decereadfile.cpp subsidiary to deceread.cpp decescanindex.cpp print contained MF and MT numbers decetable.cpp output human readable table from ENDF data decetable1.cpp part of decetable, for MF1 decetable2.cpp part of decetable, for MF2 decetable3.cpp part of decetable, for MF3 decetable4.cpp part of decetable, for MF4 decetable5.cpp part of decetable, for MF5 decetable6.cpp part of decetable, for MF6 decetable7.cpp part of decetable, for MF7 decetable8.cpp part of decetable, for MF8 decetable9.cpp part of decetable, for MF9 decetable10.cpp part of decetable, for MF10 decetable12.cpp part of decetable, for MF12 decetable13.cpp part of decetable, for MF13 decetable14.cpp part of decetable, for MF14 decetable15.cpp part of decetable, for MF15 decetable32.cpp part of decetable, for MF32 decetable33.cpp part of decetable, for MF33 and MF31 decetable34.cpp part of decetable, for MF34 decetable35.cpp part of decetable, for MF35 deceqvalue.cpp edit energy-related quantities [ENDF-6 Formatted File I/O] endflib.h ENDFlib class definition endfio.cpp read/write interface to ENDF data section endflib.cpp ENDF-6 HEAD, CONT, LIST, TAB1, TAB2 [Input Line Interpreter] command.h Class Cline, and prototype definition command.cpp input command analyzer [Global Setting] global.h define global parameters deceglobaloption.cpp set/reset/print global parameters [Reconstruct Poinwise Cross Section from Resonances] gfr.h prototype definition of GFR gfr.cpp calculate cross section from resonances gfrcross.cpp main calculation part gfrcs1.cpp SLBW / MLBW gfrcs3.cpp Reich-Moore gfrcs7.cpp R-matrix limited gfrcsurr.cpp unresolved resonance region gfrenergy.cpp auto energy grid gfrformula.cpp resonance formulae gfrlegcoef.cpp Legendre expansion coefficients [Miscellaneous Functions] decemisc.h decemisc.cpp coupling.h angular momentum couplings (from CoH3) coupling.cpp matrix.h matrix inversion matrix.cpp coulomb.h Coulomb function (from CoH3) coulimb.cpp kalbach.h Kalbach systematics for DDX (from CoH3) kalbach.cpp [Mass Table] masstable.h masstable_ripl2.h masstable_ripl3.h masstable_audi2011.h masstable_audi2012_frdm2012.h masstable.cpp [Least-Squares Module] polysq.h polycalc.cpp polysq.cpp tools/ decemf4.cpp elastic scattering angular distribution section in ENDF-6 decemf5.cpp make energy spectrum section in ENDF-6 decemf6.cpp convert ECLIPSE(CoH) DDX output into ENDF-6 decemf12.cpp convert ECLIPSE(CoH) discrete level output into ENDF-6 decemf15.cpp make gamma-ray production in MF15 deceangdist.cpp produce scattering angular distributions from ENDF deceheader.cpp patch text data in the header part decemacs.cpp calculate Maxwellian average cross section decephoto.cpp create neutron production cross section for photo-reactions example/ example1.cpp read/write ENDF-6 using endflib example2.cpp onvert private date into ENDF-6 using endflib example3.cpp read the entire ENDF-6 file and duplicate it manual/ dece manual in HTML test/ decetest.sh shell script to run a test case decetest_all.sh perform all test cases dececreateENDF.sh example to create a whole ENDF file from CoH3 outputs data/ contains example CoH3 output files input/ contains DeCE command script file for the tests
About
DeCE ENDF-6 code, with modifications to calculate Westcott g factors using arbitrary neutron spectra
Resources
License
Stars
Watchers
Forks
Languages
- C++ 84.7%
- HTML 8.0%
- Shell 3.6%
- Makefile 3.5%
- Other 0.2%