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);
139 static const int measured=0;
141 static const int estimated=1;
143 static const int not_calculable=2;
145 static const int intl_computed=3;
231 virtual const char *
type() {
return "nucmass_ame"; }
236 virtual bool is_included(
int Z,
int N);
239 virtual double mass_excess(
int Z,
int N);
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);
262 #ifndef DOXYGEN_INTERNAL 305 virtual bool is_included(
int Z,
int N);
309 #ifndef DOXYGEN_NO_O2NS int be_acc
Binding energy accuracy flag.
Measured masses from the Atomic Mass Evaluation (no estimated masses)
int beoa_acc
Binding energy / A accuracy flag.
int amass_acc
Atomic mass accuracy flag.
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 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)
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.
void ame_load(o2scl::nucmass_ame &ame, std::string file_name, std::string table_name)
Read data for o2scl::nucmass_ame from an HDF table specified in a file.
int get_nentries()
Return number of entries.
std::string get_reference()
Return the reference.
int mass_acc
Mass accuracy flag.
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)