CYCLUS
Classes | Typedefs | Functions | Variables
pyne::nucname Namespace Reference

Classes

class  IndeterminateNuclideForm
 
class  NotANuclide
 

Typedefs

typedef std::set< name_tname_group
 
typedef name_group::iterator name_group_iter
 
typedef std::string name_t
 
typedef name_zz_t::iterator name_zz_iter
 
typedef std::map< name_t, zz_tname_zz_t
 
typedef std::set< zz_tzz_group
 
typedef zz_group::iterator zz_group_iter
 
typedef int zz_t
 
typedef zzname_t::iterator zzname_iter
 
typedef std::map< zz_t, name_tzzname_t
 

Functions

name_zz_t get_fluka_zz ()
 
name_zz_t get_name_zz ()
 
zzname_t get_zz_fluka ()
 
zzname_t get_zz_name ()
 
zz_group name_to_zz_group (name_group eg)
 
isnuclide functions

These functions test if an input nuc is a valid nuclide.

Parameters
nuca possible nuclide
Returns
a bool
bool isnuclide (std::string nuc)
 
bool isnuclide (const char *nuc)
 
bool isnuclide (int nuc)
 
iselement functions

These functions test if an input nuc is a valid element.

Parameters
nuca possible element
Returns
a bool
bool iselement (std::string nuc)
 
bool iselement (const char *nuc)
 
bool iselement (int nuc)
 
Identifier Form Functions

The 'id' nuclide naming convention is the canonical form for representing nuclides in PyNE.

This is termed a ZAS, or ZZZAAASSSS, representation because It stores 3 Z-number digits, 3 A-number digits, followed by 4 S-number digits which the nucleus excitation state.

The id() function will always return an nuclide in id form, if successful. If the input nuclide is in id form already, then this is function does no work. For all other formats, the id() function provides a best-guess based on a heirarchy of other formats that is used to resolve ambiguities between naming conventions. For integer input the form resolution order is:

  • id
  • zz (elemental z-num only given)
  • zzaaam
  • cinder (aaazzzm)
  • mcnp
  • zzaaa For string (or char *) input the form resolution order is as follows:
  • ZZ-LL-AAAM
  • Integer form in a string representation, uses interger resolution
  • NIST
  • name form
  • Serpent
  • LL (element symbol) For well-defined situations where you know ahead of time what format the nuclide is in, you should use the various form_to_id() functions, rather than the id() function which is meant to resolve possibly ambiquous cases.
    Parameters
    nuca nuclide
    Returns
    nucid 32-bit integer identifier
int id (int nuc)
 
int id (const char *nuc)
 
int id (std::string nuc)
 
Name Form Functions

The 'name' nuclide naming convention is the more common, human readable notation.

The chemical symbol (one or two characters long) is first, followed by the nucleon number. Lastly if the nuclide is metastable, the letter M is concatenated to the end. For example, ‘H-1’ and ‘Am242M’ are both valid. Note that nucname will always return name form with dashes removed, the chemical symbol used for letter casing (ie 'Pu'), and a trailing upercase 'M' for a metastable flag. The name() function first converts functions to id form using the id() function. Thus the form order resolution for id() also applies here.

Parameters
nuca nuclide
Returns
a string nuclide identifier.
std::string name (int nuc)
 
std::string name (const char *nuc)
 
std::string name (std::string nuc)
 
Z-Number Functions

The Z-number, or charge number, represents the number of protons in a nuclide.

This function returns that number.

Parameters
nuca nuclide
Returns
an integer Z-number.
int znum (int nuc)
 
int znum (const char *nuc)
 
int znum (std::string nuc)
 
A-Number Functions

The A-number, or nucleon number, represents the number of protons and neutrons in a nuclide.

This function returns that number.

Parameters
nuca nuclide
Returns
an integer A-number.
int anum (int nuc)
 
int anum (const char *nuc)
 
int anum (std::string nuc)
 
S-Number Functions

The S-number, or excitation state number, represents the excitation level of a nuclide.

Normally, this is zero. This function returns that number.

Parameters
nuca nuclide
Returns
an integer A-number.
int snum (int nuc)
 
int snum (const char *nuc)
 
int snum (std::string nuc)
 
ZZAAAM Form Functions

The ZZAAAM nuclide naming convention is the former canonical form for nuclides in PyNE.

This places the charge of the nucleus out front, then has three digits for the atomic mass number, and ends with a metastable flag (0 = ground, 1 = first excited state, 2 = second excited state, etc). Uranium-235 here would be expressed as ‘922350’.

Parameters
nuca nuclide
Returns
an integer nuclide identifier.
int zzaaam (int nuc)
 
int zzaaam (const char *nuc)
 
int zzaaam (std::string nuc)
 
ZZAAAM Form to Identifier Form Functions

This converts from the ZZAAAM nuclide naming convention to the id canonical form for nuclides in PyNE.

Parameters
nuca nuclide in ZZAAAM form.
Returns
an integer id nuclide identifier.
int zzaaam_to_id (int nuc)
 
int zzaaam_to_id (const char *nuc)
 
int zzaaam_to_id (std::string nuc)
 
ZZZAAA Form Functions

The ZZZAAA nuclide naming convention is a form in which the nuclides three digit ZZZ number is followed by the 3 digit AAA number.

If the ZZZ number is 2 digits, the preceding zeros are not included. Uranium-235 here would be expressed as ‘92235’.

Parameters
nuca nuclide
Returns
an integer nuclide identifier.
int zzzaaa (int nuc)
 
int zzzaaa (const char *nuc)
 
int zzzaaa (std::string nuc)
 
ZZZAAA Form to Identifier Form Functions

This converts from the ZZZAAA nuclide naming convention to the id canonical form for nuclides in PyNE.

Parameters
nuca nuclide in ZZZAAA form.
Returns
an integer id nuclide identifier.
int zzzaaa_to_id (int nuc)
 
int zzzaaa_to_id (const char *nuc)
 
int zzzaaa_to_id (std::string nuc)
 
ZZLLAAAM Form Functions

The ZZLLAAAM nuclide naming convention is a form in which the nuclides AA number is followed by the redundant two LL characters, followed by the nuclides ZZZ number.

Can also be followed with a metastable flag. Uranium-235 here would be expressed as ‘92-U-235’.

Parameters
nuca nuclide
Returns
an integer nuclide identifier.
std::string zzllaaam (int nuc)
 
std::string zzllaaam (const char *nuc)
 
std::string zzllaaam (std::string nuc)
 
ZZLLAAAM Form to Identifier Form Functions

This converts from the ZZLLAAAM nuclide naming convention to the id canonical form for nuclides in PyNE.

Parameters
nuca nuclide in ZZLLAAAM form.
Returns
an integer id nuclide identifier.
int zzllaaam_to_id (const char *nuc)
 
int zzllaaam_to_id (std::string nuc)
 
MCNP Form Functions

This is the naming convention used by the MCNP suite of codes.

The MCNP format for entering nuclides is unfortunately non-standard. In most ways it is similar to zzaaam form, except that it lacks the metastable flag. For information on how metastable isotopes are named, please consult the MCNP documentation for more information.

Parameters
nuca nuclide
Returns
a string nuclide identifier.
int mcnp (int nuc)
 
int mcnp (const char *nuc)
 
int mcnp (std::string nuc)
 
MCNP Form to Identifier Form Functions

This converts from the MCNP nuclide naming convention to the id canonical form for nuclides in PyNE.

Parameters
nuca nuclide in MCNP form.
Returns
an integer id nuclide identifier.
int mcnp_to_id (int nuc)
 
int mcnp_to_id (const char *nuc)
 
int mcnp_to_id (std::string nuc)
 
FLUKA Form Functions

This is the naming convention used by the FLUKA suite of codes.

The FLUKA format for entering nuclides requires some knowledge of FLUKA The nuclide in must cases should be the atomic # times 10000000. The exceptions are for FLUKA's named isotopes See the FLUKA Manual for more information.

Parameters
nuca nuclide
Returns
the received FLUKA name
std::string fluka (int nuc)
 
FLUKA Form to Identifier Form Functions

This converts from the FLUKA name to the id canonical form for nuclides in PyNE.

Parameters
namea fluka name
Returns
an integer id nuclide identifier.
int fluka_to_id (std::string name)
 
int fluka_to_id (char *name)
 
Serpent Form Functions

This is the string-based naming convention used by the Serpent suite of codes.

The serpent naming convention is similar to name form. However, only the first letter in the chemical symbol is uppercase, the dash is always present, and the the meta-stable flag is lowercase. For instance, ‘Am-242m’ is the valid serpent notation for this nuclide.

Parameters
nuca nuclide
Returns
a string nuclide identifier.
std::string serpent (int nuc)
 
std::string serpent (const char *nuc)
 
std::string serpent (std::string nuc)
 
Serpent Form to Identifier Form Functions

This converts from the Serpent nuclide naming convention to the id canonical form for nuclides in PyNE.

Parameters
nuca nuclide in Serpent form.
Returns
an integer id nuclide identifier.
int serpent_to_id (const char *nuc)
 
int serpent_to_id (std::string nuc)
 
NIST Form Functions

This is the string-based naming convention used by NIST.

The NIST naming convention is also similar to the Serpent form. However, this convention contains no metastable information. Moreover, the A-number comes before the element symbol. For example, ‘242Am’ is the valid NIST notation.

Parameters
nuca nuclide
Returns
a string nuclide identifier.
std::string nist (int nuc)
 
std::string nist (const char *nuc)
 
std::string nist (std::string nuc)
 
NIST Form to Identifier Form Functions

This converts from the NIST nuclide naming convention to the id canonical form for nuclides in PyNE.

Parameters
nuca nuclide in NIST form.
Returns
an integer id nuclide identifier.
int nist_to_id (const char *nuc)
 
int nist_to_id (std::string nuc)
 
CINDER Form Functions

This is the naming convention used by the CINDER burnup library.

The CINDER format is similar to zzaaam form except that the placement of the Z- and A-numbers are swapped. Therefore, this format is effectively aaazzzm. For example, ‘2420951’ is the valid cinder notation for ‘AM242M’.

Parameters
nuca nuclide
Returns
a string nuclide identifier.
int cinder (int nuc)
 
int cinder (const char *nuc)
 
int cinder (std::string nuc)
 
Cinder Form to Identifier Form Functions

This converts from the Cinder nuclide naming convention to the id canonical form for nuclides in PyNE.

Parameters
nuca nuclide in Cinder form.
Returns
an integer id nuclide identifier.
int cinder_to_id (int nuc)
 
int cinder_to_id (const char *nuc)
 
int cinder_to_id (std::string nuc)
 
ALARA Form Functions

This is the format used in the ALARA activation code elements library.

For elements, the form is "ll" where ll is the atomic symbol. For isotopes the form is "ll:AAA". No metastable isotope flag is used.

Parameters
nuca nuclide
Returns
a string nuclide identifier.
std::string alara (int nuc)
 
std::string alara (const char *nuc)
 
std::string alara (std::string nuc)
 
ALARA Form to Identifier Form Functions

This converts from the ALARA nuclide naming convention to the id canonical form for nuclides in PyNE.

Parameters
nuca nuclide in ALARA form.
Returns
an integer id nuclide identifier.
int alara_to_id (const char *nuc)
 
int alara_to_id (std::string nuc)
 
SZA Form Functions

This is the new format for ACE data tables in the form SSSZZZAAA.

The first three digits represent the excited state (000 = ground, 001 = first excited state, 002 = second excited state, etc). The second three digits are the atomic number and the last three digits are the atomic mass. Prepending zeros can be omitted, making the SZA form equal to the MCNP form for non-excited nuclides.

Parameters
nuca nuclide
Returns
a string nuclide identifier.
int sza (int nuc)
 
int sza (const char *nuc)
 
int sza (std::string nuc)
 
SZA Form to Identifier Form Functions

This converts from the SZA nuclide naming convention to the id canonical form for nuclides in PyNE.

Parameters
nuca nuclide in SZA form.
Returns
an integer id nuclide identifier.
int sza_to_id (int nuc)
 
int sza_to_id (const char *nuc)
 
int sza_to_id (std::string nuc)
 
Ground State Form Functions

This form stores the nuclide in id form, but removes the state information about the nuclide.

I is in the same form as ID, but the four last digits are all zeros.

Parameters
nuca nuclide
Returns
a integer groundstate id
int groundstate (int nuc)
 
int groundstate (std::string nuc)
 
int groundstate (const char *nuc)
 
ENSDF Form Functions

This converts id's stored using standard ensdf syntax to nuc_id's

Parameters
ensdfnuc string
Returns
PyNE nuc_id
int ensdf_to_id (const char *nuc)
 
int ensdf_to_id (std::string nuc)
 

Variables

name_group ACT
 
zz_group act = pyne::nucname::name_to_zz_group(pyne::nucname::ACT)
 
name_t ACT_array [15]
 
name_zz_t fluka_zz = pyne::nucname::get_fluka_zz()
 
name_group FP
 
zz_group fp
 
name_t FP_array [88]
 
name_group LAN
 
zz_group lan
 
name_t LAN_array [15]
 
name_group MA
 
zz_group ma
 
name_t MA_array [10]
 
int map_metastable [TOTAL_STATE_MAPS]
 
int map_nuc_ids [TOTAL_STATE_MAPS]
 
name_zz_t name_zz = pyne::nucname::get_name_zz()
 
name_group TRU
 
zz_group tru
 
name_t TRU_array [22]
 
zzname_t zz_fluka = pyne::nucname::get_zz_fluka()
 
zzname_t zz_name = pyne::nucname::get_zz_name()
 

State Map functions

These convert from/to decay state ids (used in decay data) to metastable ids (the PyNE default)

std::map< int, int > state_id_map
 
void _load_state_map ()
 
int state_id_to_id (int state)
 
int id_to_state_id (int nuc_id)
 

Detailed Description

Nuclide naming conventions.

Typedef Documentation

◆ name_group

typedef std::set<name_t> pyne::nucname::name_group

name grouping type (for testing containment)

Definition at line 830 of file pyne.h.

◆ name_group_iter

typedef name_group::iterator pyne::nucname::name_group_iter

name grouping iter type

Definition at line 831 of file pyne.h.

◆ name_t

typedef std::string pyne::nucname::name_t

name type

Definition at line 808 of file pyne.h.

◆ name_zz_iter

typedef name_zz_t::iterator pyne::nucname::name_zz_iter

name and Z num iter type

Definition at line 812 of file pyne.h.

◆ name_zz_t

typedef std::map<name_t, zz_t> pyne::nucname::name_zz_t

name and Z num map type

Definition at line 811 of file pyne.h.

◆ zz_group

typedef std::set<zz_t> pyne::nucname::zz_group

Z number grouping type (for testing containment)

Definition at line 834 of file pyne.h.

◆ zz_group_iter

typedef zz_group::iterator pyne::nucname::zz_group_iter

Z number grouping iter.

Definition at line 835 of file pyne.h.

◆ zz_t

typedef int pyne::nucname::zz_t

Z number type.

Definition at line 809 of file pyne.h.

◆ zzname_iter

typedef zzname_t::iterator pyne::nucname::zzname_iter

Z num to name iter type.

Definition at line 817 of file pyne.h.

◆ zzname_t

typedef std::map<zz_t, name_t> pyne::nucname::zzname_t

Z num to name map type.

Definition at line 816 of file pyne.h.

Function Documentation

◆ _load_state_map()

void pyne::nucname::_load_state_map ( )

Definition at line 3677 of file pyne.cc.

◆ alara() [1/3]

std::string pyne::nucname::alara ( int  nuc)

Definition at line 3544 of file pyne.cc.

◆ alara() [2/3]

std::string pyne::nucname::alara ( const char *  nuc)

Definition at line 3576 of file pyne.cc.

◆ alara() [3/3]

std::string pyne::nucname::alara ( std::string  nuc)

Definition at line 3582 of file pyne.cc.

◆ alara_to_id() [1/2]

int pyne::nucname::alara_to_id ( const char *  nuc)

Definition at line 3596 of file pyne.cc.

◆ alara_to_id() [2/2]

int pyne::nucname::alara_to_id ( std::string  nuc)

Definition at line 3601 of file pyne.cc.

◆ anum() [1/3]

int pyne::nucname::anum ( int  nuc)

Definition at line 2998 of file pyne.cc.

◆ anum() [2/3]

int pyne::nucname::anum ( const char *  nuc)

Definition at line 3002 of file pyne.cc.

◆ anum() [3/3]

int pyne::nucname::anum ( std::string  nuc)

Definition at line 3006 of file pyne.cc.

◆ cinder() [1/3]

int pyne::nucname::cinder ( int  nuc)

Definition at line 3492 of file pyne.cc.

◆ cinder() [2/3]

int pyne::nucname::cinder ( const char *  nuc)

Definition at line 3506 of file pyne.cc.

◆ cinder() [3/3]

int pyne::nucname::cinder ( std::string  nuc)

Definition at line 3513 of file pyne.cc.

◆ cinder_to_id() [1/3]

int pyne::nucname::cinder_to_id ( int  nuc)

Definition at line 3520 of file pyne.cc.

◆ cinder_to_id() [2/3]

int pyne::nucname::cinder_to_id ( const char *  nuc)

Definition at line 3529 of file pyne.cc.

◆ cinder_to_id() [3/3]

int pyne::nucname::cinder_to_id ( std::string  nuc)

Definition at line 3534 of file pyne.cc.

◆ ensdf_to_id() [1/2]

int pyne::nucname::ensdf_to_id ( const char *  nuc)

Definition at line 3734 of file pyne.cc.

◆ ensdf_to_id() [2/2]

int pyne::nucname::ensdf_to_id ( std::string  nuc)

Definition at line 3738 of file pyne.cc.

◆ fluka()

std::string pyne::nucname::fluka ( int  nuc)

Definition at line 3269 of file pyne.cc.

◆ fluka_to_id() [1/2]

int pyne::nucname::fluka_to_id ( std::string  name)

Definition at line 3281 of file pyne.cc.

◆ fluka_to_id() [2/2]

int pyne::nucname::fluka_to_id ( char *  name)

Definition at line 3288 of file pyne.cc.

◆ get_fluka_zz()

pyne::nucname::name_zz_t pyne::nucname::get_fluka_zz ( )

Creates standard fluka-name to nucid mapping.

Definition at line 2444 of file pyne.cc.

◆ get_name_zz()

pyne::nucname::name_zz_t pyne::nucname::get_name_zz ( )

Creates standard name to Z number mapping.

Definition at line 2306 of file pyne.cc.

◆ get_zz_fluka()

pyne::nucname::zzname_t pyne::nucname::get_zz_fluka ( )

Creates standard nucid to fluka-name mapping.

Definition at line 2596 of file pyne.cc.

◆ get_zz_name()

pyne::nucname::zzname_t pyne::nucname::get_zz_name ( )

Creates standard Z number to name mapping.

Definition at line 2430 of file pyne.cc.

◆ groundstate() [1/3]

int pyne::nucname::groundstate ( int  nuc)
inline

Definition at line 1364 of file pyne.h.

◆ groundstate() [2/3]

int pyne::nucname::groundstate ( std::string  nuc)
inline

Definition at line 1365 of file pyne.h.

◆ groundstate() [3/3]

int pyne::nucname::groundstate ( const char *  nuc)
inline

Definition at line 1366 of file pyne.h.

◆ id() [1/3]

int pyne::nucname::id ( int  nuc)

Definition at line 2716 of file pyne.cc.

◆ id() [2/3]

int pyne::nucname::id ( const char *  nuc)

Definition at line 2804 of file pyne.cc.

◆ id() [3/3]

int pyne::nucname::id ( std::string  nuc)

Definition at line 2809 of file pyne.cc.

◆ id_to_state_id()

int pyne::nucname::id_to_state_id ( int  nuc_id)

Definition at line 3704 of file pyne.cc.

◆ iselement() [1/3]

bool pyne::nucname::iselement ( std::string  nuc)

Definition at line 2904 of file pyne.cc.

◆ iselement() [2/3]

bool pyne::nucname::iselement ( const char *  nuc)

Definition at line 2915 of file pyne.cc.

◆ iselement() [3/3]

bool pyne::nucname::iselement ( int  nuc)

Definition at line 2919 of file pyne.cc.

◆ isnuclide() [1/3]

bool pyne::nucname::isnuclide ( std::string  nuc)

Definition at line 2671 of file pyne.cc.

◆ isnuclide() [2/3]

bool pyne::nucname::isnuclide ( const char *  nuc)

Definition at line 2685 of file pyne.cc.

◆ isnuclide() [3/3]

bool pyne::nucname::isnuclide ( int  nuc)

Definition at line 2689 of file pyne.cc.

◆ mcnp() [1/3]

int pyne::nucname::mcnp ( int  nuc)

Definition at line 3197 of file pyne.cc.

◆ mcnp() [2/3]

int pyne::nucname::mcnp ( const char *  nuc)

Definition at line 3215 of file pyne.cc.

◆ mcnp() [3/3]

int pyne::nucname::mcnp ( std::string  nuc)

Definition at line 3222 of file pyne.cc.

◆ mcnp_to_id() [1/3]

int pyne::nucname::mcnp_to_id ( int  nuc)

Definition at line 3229 of file pyne.cc.

◆ mcnp_to_id() [2/3]

int pyne::nucname::mcnp_to_id ( const char *  nuc)

Definition at line 3256 of file pyne.cc.

◆ mcnp_to_id() [3/3]

int pyne::nucname::mcnp_to_id ( std::string  nuc)

Definition at line 3261 of file pyne.cc.

◆ name() [1/3]

std::string pyne::nucname::name ( int  nuc)

Definition at line 2940 of file pyne.cc.

◆ name() [2/3]

std::string pyne::nucname::name ( const char *  nuc)

Definition at line 2969 of file pyne.cc.

◆ name() [3/3]

std::string pyne::nucname::name ( std::string  nuc)

Definition at line 2975 of file pyne.cc.

◆ name_to_zz_group()

pyne::nucname::zz_group pyne::nucname::name_to_zz_group ( name_group  eg)

Converts a name group to a Z number group.

Parameters
ega grouping of nuclides by name
Returns
a Z numbered group

Definition at line 2613 of file pyne.cc.

◆ nist() [1/3]

std::string pyne::nucname::nist ( int  nuc)

Definition at line 3402 of file pyne.cc.

◆ nist() [2/3]

std::string pyne::nucname::nist ( const char *  nuc)

Definition at line 3436 of file pyne.cc.

◆ nist() [3/3]

std::string pyne::nucname::nist ( std::string  nuc)

Definition at line 3442 of file pyne.cc.

◆ nist_to_id() [1/2]

int pyne::nucname::nist_to_id ( const char *  nuc)

Definition at line 3455 of file pyne.cc.

◆ nist_to_id() [2/2]

int pyne::nucname::nist_to_id ( std::string  nuc)

Definition at line 3459 of file pyne.cc.

◆ serpent() [1/3]

std::string pyne::nucname::serpent ( int  nuc)

Definition at line 3296 of file pyne.cc.

◆ serpent() [2/3]

std::string pyne::nucname::serpent ( const char *  nuc)

Definition at line 3333 of file pyne.cc.

◆ serpent() [3/3]

std::string pyne::nucname::serpent ( std::string  nuc)

Definition at line 3339 of file pyne.cc.

◆ serpent_to_id() [1/2]

int pyne::nucname::serpent_to_id ( const char *  nuc)

Definition at line 3352 of file pyne.cc.

◆ serpent_to_id() [2/2]

int pyne::nucname::serpent_to_id ( std::string  nuc)

Definition at line 3357 of file pyne.cc.

◆ snum() [1/3]

int pyne::nucname::snum ( int  nuc)

Definition at line 3013 of file pyne.cc.

◆ snum() [2/3]

int pyne::nucname::snum ( const char *  nuc)

Definition at line 3017 of file pyne.cc.

◆ snum() [3/3]

int pyne::nucname::snum ( std::string  nuc)

Definition at line 3021 of file pyne.cc.

◆ state_id_to_id()

int pyne::nucname::state_id_to_id ( int  state)

Definition at line 3683 of file pyne.cc.

◆ sza() [1/3]

int pyne::nucname::sza ( int  nuc)

Definition at line 3636 of file pyne.cc.

◆ sza() [2/3]

int pyne::nucname::sza ( const char *  nuc)

Definition at line 3644 of file pyne.cc.

◆ sza() [3/3]

int pyne::nucname::sza ( std::string  nuc)

Definition at line 3650 of file pyne.cc.

◆ sza_to_id() [1/3]

int pyne::nucname::sza_to_id ( int  nuc)

Definition at line 3655 of file pyne.cc.

◆ sza_to_id() [2/3]

int pyne::nucname::sza_to_id ( const char *  nuc)

Definition at line 3666 of file pyne.cc.

◆ sza_to_id() [3/3]

int pyne::nucname::sza_to_id ( std::string  nuc)

Definition at line 3672 of file pyne.cc.

◆ znum() [1/3]

int pyne::nucname::znum ( int  nuc)

Definition at line 2983 of file pyne.cc.

◆ znum() [2/3]

int pyne::nucname::znum ( const char *  nuc)

Definition at line 2987 of file pyne.cc.

◆ znum() [3/3]

int pyne::nucname::znum ( std::string  nuc)

Definition at line 2991 of file pyne.cc.

◆ zzaaam() [1/3]

int pyne::nucname::zzaaam ( int  nuc)

Definition at line 3028 of file pyne.cc.

◆ zzaaam() [2/3]

int pyne::nucname::zzaaam ( const char *  nuc)

Definition at line 3038 of file pyne.cc.

◆ zzaaam() [3/3]

int pyne::nucname::zzaaam ( std::string  nuc)

Definition at line 3044 of file pyne.cc.

◆ zzaaam_to_id() [1/3]

int pyne::nucname::zzaaam_to_id ( int  nuc)

Definition at line 3049 of file pyne.cc.

◆ zzaaam_to_id() [2/3]

int pyne::nucname::zzaaam_to_id ( const char *  nuc)

Definition at line 3054 of file pyne.cc.

◆ zzaaam_to_id() [3/3]

int pyne::nucname::zzaaam_to_id ( std::string  nuc)

Definition at line 3059 of file pyne.cc.

◆ zzllaaam() [1/3]

std::string pyne::nucname::zzllaaam ( int  nuc)

Definition at line 3102 of file pyne.cc.

◆ zzllaaam() [2/3]

std::string pyne::nucname::zzllaaam ( const char *  nuc)

Definition at line 3131 of file pyne.cc.

◆ zzllaaam() [3/3]

std::string pyne::nucname::zzllaaam ( std::string  nuc)

Definition at line 3137 of file pyne.cc.

◆ zzllaaam_to_id() [1/2]

int pyne::nucname::zzllaaam_to_id ( const char *  nuc)

Definition at line 3142 of file pyne.cc.

◆ zzllaaam_to_id() [2/2]

int pyne::nucname::zzllaaam_to_id ( std::string  nuc)

Definition at line 3147 of file pyne.cc.

◆ zzzaaa() [1/3]

int pyne::nucname::zzzaaa ( int  nuc)

Definition at line 3066 of file pyne.cc.

◆ zzzaaa() [2/3]

int pyne::nucname::zzzaaa ( const char *  nuc)

Definition at line 3074 of file pyne.cc.

◆ zzzaaa() [3/3]

int pyne::nucname::zzzaaa ( std::string  nuc)

Definition at line 3080 of file pyne.cc.

◆ zzzaaa_to_id() [1/3]

int pyne::nucname::zzzaaa_to_id ( int  nuc)

Definition at line 3085 of file pyne.cc.

◆ zzzaaa_to_id() [2/3]

int pyne::nucname::zzzaaa_to_id ( const char *  nuc)

Definition at line 3090 of file pyne.cc.

◆ zzzaaa_to_id() [3/3]

int pyne::nucname::zzzaaa_to_id ( std::string  nuc)

Definition at line 3095 of file pyne.cc.

Variable Documentation

◆ ACT

pyne::nucname::name_group pyne::nucname::ACT

actinide name group

◆ act

actinide Z number group

Definition at line 2633 of file pyne.cc.

◆ ACT_array

pyne::nucname::name_t pyne::nucname::ACT_array
Initial value:
= {"Ac", "Th", "Pa", "U",
"Np", "Pu", "Am", "Cm", "Bk", "Cf", "Es", "Fm", "Md", "No", "Lr"}

array of actinide names

Definition at line 2630 of file pyne.cc.

◆ fluka_zz

fluka-name to nucid map

Definition at line 2592 of file pyne.cc.

◆ FP

pyne::nucname::name_group pyne::nucname::FP

fission product name group

◆ fp

pyne::nucname::zz_group pyne::nucname::fp
Initial value:
=
zz_group name_to_zz_group(name_group eg)
Converts a name group to a Z number group.
Definition: pyne.cc:2613
name_group FP
fission product name group

fission product Z number group

Definition at line 2663 of file pyne.cc.

◆ FP_array

pyne::nucname::name_t pyne::nucname::FP_array
Initial value:
= {"Ag", "Al", "Ar", "As",
"At", "Au", "B", "Ba", "Be", "Bi", "Br", "C", "Ca", "Cd", "Ce", "Cl", "Co",
"Cr", "Cs", "Cu", "Dy", "Er", "Eu", "F", "Fe", "Fr", "Ga", "Gd", "Ge", "H",
"He", "Hf", "Hg", "Ho", "I", "In", "Ir", "K", "Kr", "La", "Li", "Lu", "Mg",
"Mn", "Mo", "N", "Na", "Nb", "Nd", "Ne", "Ni", "O", "Os", "P", "Pb", "Pd",
"Pm", "Po", "Pr", "Pt", "Ra", "Rb", "Re", "Rh", "Rn", "Ru", "S", "Sb", "Sc",
"Se", "Si", "Sm", "Sn", "Sr", "Ta", "Tb", "Tc", "Te", "Ti", "Tl", "Tm", "V",
"W", "Xe", "Y", "Yb", "Zn", "Zr"}

array of fission product names

Definition at line 2653 of file pyne.cc.

◆ LAN

pyne::nucname::name_group pyne::nucname::LAN

lanthanide name group

◆ lan

pyne::nucname::zz_group pyne::nucname::lan
Initial value:
=
zz_group name_to_zz_group(name_group eg)
Converts a name group to a Z number group.
Definition: pyne.cc:2613
name_group LAN
lanthanide name group

lanthanide Z number group

Definition at line 2626 of file pyne.cc.

◆ LAN_array

pyne::nucname::name_t pyne::nucname::LAN_array
Initial value:
= {"La", "Ce", "Pr", "Nd",
"Pm", "Sm", "Eu", "Gd", "Tb", "Dy", "Ho", "Er", "Tm", "Yb", "Lu"}

array of lanthanide names

Definition at line 2622 of file pyne.cc.

◆ MA

pyne::nucname::name_group pyne::nucname::MA

minor actinide name group

◆ ma

pyne::nucname::zz_group pyne::nucname::ma
Initial value:
=
zz_group name_to_zz_group(name_group eg)
Converts a name group to a Z number group.
Definition: pyne.cc:2613
name_group MA
minor actinide name group

minor actinide Z number group

Definition at line 2649 of file pyne.cc.

◆ MA_array

pyne::nucname::name_t pyne::nucname::MA_array
Initial value:
= {"Np", "Am", "Cm", "Bk",
"Cf", "Es", "Fm", "Md", "No", "Lr"}

array of minor actinide names

Definition at line 2645 of file pyne.cc.

◆ map_metastable

int pyne::nucname::map_metastable[TOTAL_STATE_MAPS]

Definition at line 1361 of file pyne.cc.

◆ map_nuc_ids

int pyne::nucname::map_nuc_ids[TOTAL_STATE_MAPS]

Definition at line 439 of file pyne.cc.

◆ name_zz

name to Z num map

Definition at line 2426 of file pyne.cc.

◆ state_id_map

std::map< int, int > pyne::nucname::state_id_map

Definition at line 438 of file pyne.cc.

◆ TRU

pyne::nucname::name_group pyne::nucname::TRU

transuranic name group

◆ tru

pyne::nucname::zz_group pyne::nucname::tru
Initial value:
=
zz_group name_to_zz_group(name_group eg)
Converts a name group to a Z number group.
Definition: pyne.cc:2613
name_group TRU
transuranic name group

transuranic Z number group

Definition at line 2641 of file pyne.cc.

◆ TRU_array

pyne::nucname::name_t pyne::nucname::TRU_array
Initial value:
= {"Np", "Pu", "Am", "Cm",
"Bk", "Cf", "Es", "Fm", "Md", "No", "Lr", "Rf", "Db", "Sg", "Bh", "Hs", "Mt",
"Ds", "Rg", "Cn", "Fl", "Lv"}

array of transuranic names

Definition at line 2636 of file pyne.cc.

◆ zz_fluka

nucid to fluka-name map

Definition at line 2605 of file pyne.cc.

◆ zz_name

Z num to name map.

Definition at line 2439 of file pyne.cc.