CCCC Formats – pyne.cccc
¶
All functionality may be found in the cccc
package:
from pyne import cccc
The information below represents the complete specification of the classes in the cccc module. For examples of usage, please refer to the User’s Guide entry for CCCC Formats.
CCCC API¶
The CCCC module contains a number of classes for reading various cross section, flux, geometry, and data files with specifications given by the Committee for Computer Code Coordination. The following types of files can be read using classes from this module: ISOTXS, DLAYXS, BRKOXS, RTFLUX, ATFLUX, RZFLUX, MATXS, and SPECTR.
The ISOTXS reader was originally derived from Professor James Holloway’s open-source C++ classes from the University of Michigan and later expanded by Nick Touran for work on his PhD thesis. DLAYXS was later added by Paul Romano. RTFLUX was done by Elliott Biondo.
A description of several CCCC formats are available online for ISOTXS, MATXS, RTFLUX, and RZFLUX. Other format specifications can be found in Los Alamos Report LA-5324-MS.
-
class
pyne.cccc.
Atflux
(filename)[source]¶ An Atflux object represents data stored in a ATFLUX file from the CCCC format specification. This file contains adjoint total fluxes. Note that this is the same format as RTFLUX. See Rtflux class for a complete list of atrributes. The RTFLUX/ATFLUX binary specification is found here:
http://t2.lanl.gov/nis/codes/transx-hyper/rtflux.html
- Parameters
- filenamestr
- Path to the ATFLUX file to be read.
-
class
pyne.cccc.
Brkoxs
(filename)[source]¶ A Brkoxs object represents data stored in a BRKOXS file from the CCCC format specification. This file is given in conjunction with an ISOTXS (or GRUPXS) file when the Bondarenko self-shielding method is to be used.
- Parameters
- filenamestr
Path of the BRKOXS file to read.
-
class
pyne.cccc.
Dlayxs
(filename)[source]¶ A Dlayxs object represents the data stored in a CCCC-format DLAYXS file. This file contains delayed neutron precursor yields, emission spectra, and decay constants reduced to multigroup form. Typically, the data in a DLAYXS file would be related to cross-section files in ISOTXS and GRUPXS.
- Attributes
- isotopeslist of strs
Names of the isotopes in the DLAYXS file.
- isotopeFamilydict
Dictionary whose keys are the isotope names and whose values are
- decaydict
Dictionary whose keys are names of nuclides and whose values are decay constants for each delayed neutron family.
spectrum : dict
- nGroupsint
Number of energy groups
- nIsotopesint
Number of isotopes
- nFamiliesint
Number of delayed neutron families
nu : dict
- Parameters
- filenamestr
Path of the DLAYXS file to load.
-
class
pyne.cccc.
Isotxs
(filename)[source]¶ An Isotxs object represents a binary ISOTXS file written according to the CCCC specifications.
- Attributes
- chilist of floats
Fission yields by group.
- emaxlist of floats
Maximum energy bound for each group
- eminfloat
Minimum energy bound of set
- fcdict
Dictionary with file-control information
- fileVersionint
Version of the ISOTXS file.
- labelstr
File identification string
- nuclideslist of _Nuclides
List of individual nuclides in the ISOTXS file.
- velfloat
Mean neutron velocity in each group.
- Parameters
- filenamestr
Path of the ISOTXS file to load.
-
class
pyne.cccc.
Matxs
(filename)[source]¶ A Matxs object represents data stored in a MATXS file. This file contains generalized cross-sections.
- Parameters
- filenamestr
Path to the MATXS file to be read.
-
class
pyne.cccc.
Rtflux
(filename)[source]¶ An Rtflux object represents data stored in a RTFLUX file from the CCCC format specification. This file contains regular (i.e. not adjoint) total fluxes. Attribute names mirror those described in the CCCC specification, found here:
http://t2.lanl.gov/nis/codes/transx-hyper/rtflux.html
- Parameters
- filenamestr
Path to the RTFLUX file to be read.
-
to_mesh
(self, m, tag_name)[source]¶ This member function tags supplied PyNE Mesh object with the fluxes contained in the rtflux file.
- Parameters
- m: PyNE Mesh
A PyNE Mesh object with same x, y, z intervals used to generate the rtflux file.
- tag_name: str
The tag name to use to tag the fluxes onto the mesh.