23 #ifndef O2SCL_AME_MASS_H
24 #define O2SCL_AME_MASS_H
34 #include <o2scl/nucleus.h>
35 #include <o2scl/constants.h>
36 #include <o2scl/table.h>
37 #include <o2scl/nucmass.h>
48 std::string table_name);
52 #ifndef DOXYGEN_NO_O2NS
127 friend void o2scl_hdf::ame_load(
nucmass_ame &ame, std::string file_name,
128 std::string table_name);
129 friend void o2scl_hdf::ame_load(
nucmass_ame &ame, std::string name);
231 virtual const char *
type() {
return "nucmass_ame"; }
242 entry
get_ZN(
int l_Z,
int l_N);
245 entry
get_ZA(
int l_Z,
int l_A);
248 entry
get_elA(std::string l_el,
int l_A);
251 entry
get(std::string
nucleus);
262 #ifndef DOXYGEN_INTERNAL
309 #ifndef DOXYGEN_NO_O2NS
int be_acc
Binding energy accuracy flag.
Measured masses from the Atomic Mass Evaluation (no estimated masses)
static const int intl_computed
Value computed by <a href='../../html/index.html'>O<span style='position: relative; top: 0...
static const int estimated
Value estimated in source data.
int beoa_acc
Binding energy / A accuracy flag.
nucmass_ame()
Create an AME mass object.
virtual double mass_excess(int Z, int N)
Given Z and N, return the mass excess in MeV.
static const int measured
Measured value from source data.
int amass_acc
Atomic mass accuracy flag.
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_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)
double be
Binding energy (in keV, given in the '95 data)
virtual bool is_included(int Z, int N)
Return false if the mass formula does not include specified nucleus.
virtual const char * type()
Return the type, "nucmass_ame".
double beoa
Binding energy / A (in keV, given in the '03 data)
int last
The last table index for caching.
int A2
Mass number (reported twice in original table)
char bdmode[3]
Beta decay mode.
virtual bool is_included(int Z, int N)
Return false if the mass formula does not include specified nucleus.
Masses from the Atomic Mass Evaluation.
double dmass
Mass excess uncertainty (in keV)
double mass
Mass excess (in keV)
double amass
Atomic mass (in keV)
Tabulated nuclear masses [abstract base].
bool is_loaded()
Returns true if data has been loaded.
Atomic mass entry structure.
int bde_acc
Beta-decay energy accuracy flag.
double damass
Atomic mass uncertainty (in keV)
entry * mass
The array containing the mass data of length ame::n.
std::string reference
The reference for the original data.
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 get_nentries()
Return number of entries.
std::string get_reference()
Return the reference.
int mass_acc
Mass accuracy flag.
static const int not_calculable
Value listed in data as not calculable.
int n
The number of entries (about 3000).
double dbde
Beta-decay energy uncertainty (in keV)
double bde
Beta-decay energy (in keV)
double dbe
Binding energy uncertainty (in keV, given in the '95 data)