Go to the documentation of this file.
23 #ifndef O2SCL_AME_MASS_H
24 #define O2SCL_AME_MASS_H
33 #include <o2scl/nucleus.h>
34 #include <o2scl/constants.h>
35 #include <o2scl/table.h>
36 #include <o2scl/nucmass.h>
47 std::string table_name,
bool exp_only);
52 #ifndef DOXYGEN_NO_O2NS
127 friend void o2scl_hdf::ame_load_ext(
nucmass_ame &ame,
128 std::string file_name,
129 std::string table_name,
132 friend void o2scl_hdf::ame_load(
nucmass_ame &ame, std::string name,
235 virtual const char *
type() {
return "nucmass_ame"; }
246 entry
get_ZN(
int l_Z,
int l_N);
249 entry
get_ZA(
int l_Z,
int l_A);
252 entry
get_elA(std::string l_el,
int l_A);
266 #ifndef DOXYGEN_INTERNAL
287 #ifndef DOXYGEN_NO_O2NS
void ame_load_ext(o2scl::nucmass_ame &ame, std::string file_name, std::string table_name, bool exp_only=false)
Read data for o2scl::nucmass_ame from an HDF table specified in a file.
size_t n
The number of entries.
double dmass
Mass excess uncertainty (in keV)
int mass_acc
Mass accuracy flag.
entry * mass
The array containing the mass data of length ame::n.
entry get_elA(std::string l_el, int l_A)
Get element with name l_el and A=l_A (e.g. "Pb",208).
int beoa_acc
Binding energy / A accuracy flag.
int A2
Mass number (reported twice in original table)
static const int measured
Measured value from source data.
std::string get_reference()
Return the reference.
entry get_ZN(int l_Z, int l_N)
Get element with Z=l_Z and N=l_N (e.g. 82,126).
entry get(std::string nucleus)
Get element with string (e.g. "Pb208")
virtual const char * type()
Return the type, "nucmass_ame".
virtual double mass_excess(int Z, int N)
Given Z and N, return the mass excess in MeV.
double mass
Mass excess (in keV)
int amass_acc
Atomic mass accuracy flag.
double be
Binding energy (in keV, given in the '95 data)
double damass
Atomic mass uncertainty (in keV)
static const int intl_computed
Value computed by <a href='../../html/index.html'>O<span style='position: relative; top: 0....
double beoa
Binding energy / A (in keV, given in the '03 data)
entry get_ZA(int l_Z, int l_A)
Get element with Z=l_Z and A=l_A (e.g. 82,208).
double dbeoa
Binding energy / A uncertainty (in keV, given in the '03 data)
static const int not_calculable
Value listed in data as not calculable.
char bdmode[3]
Beta decay mode.
int be_acc
Binding energy accuracy flag.
double dbe
Binding energy uncertainty (in keV, given in the '95 data)
int bde_acc
Beta-decay energy accuracy flag.
bool is_loaded()
Returns true if data has been loaded.
void ame_load(o2scl::nucmass_ame &ame, std::string name="16", bool exp_only=false)
Read an AME mass table from the <a href='../../html/index.html'>O<span style='position: relative; top...
double amass
Atomic mass (in keV)
double bde
Beta-decay energy (in keV)
Masses from the Atomic Mass Evaluation.
std::string reference
The reference for the original data.
size_t get_nentries()
Return number of entries.
Tabulated nuclear masses [abstract base].
static const int estimated
Value estimated in source data.
virtual bool is_included(int Z, int N)
Return false if the mass formula does not include specified nucleus.
double dbde
Beta-decay energy uncertainty (in keV)
int last
The last table index for caching.
nucmass_ame()
Create an AME mass object.
Atomic mass entry structure.
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).