Go to the documentation of this file.
23 #ifndef O2SCL_NUCMASS_GEN_H
24 #define O2SCL_NUCMASS_GEN_H
33 #include <o2scl/nucmass.h>
35 #ifndef DOXYGEN_NO_O2NS
51 int load_be(std::string fname, std::string be_col,
52 double be_units,
bool external=
false);
55 virtual const char *
type() {
return "nucmass_gen"; }
72 virtual double get_string(
int Z,
int N, std::string column);
74 #ifndef DOXYGEN_INTERNAL
91 #ifndef DOXYGEN_NO_O2NS
size_t n
The number of entries.
bool is_loaded()
Returns true if data has been loaded.
int last
The last table index for caching.
virtual bool is_included(int Z, int N)
Return false if the mass formula does not include specified nucleus.
virtual size_t get_nentries()
Return number of entries.
virtual double mass_excess(int Z, int N)
Given Z and N, return the mass excess in MeV.
virtual double get_string(int Z, int N, std::string column)
Given Z and N, return the mass excess in MeV.
o2scl::table data
The o2scl::table object containing the data.
size_t mex_col_ix
Column which refers to the mass excess.
virtual const char * type()
Return the type, "nucmass_gen".
int load_be(std::string fname, std::string be_col, double be_units, bool external=false)
Load a file with binding energies.
Tabulated nuclear masses [abstract base].
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).