Class nucmass_gen (o2scl)¶
-
class
o2scl
::
nucmass_gen
: public o2scl::nucmass_table¶ Nuclear properties.
Public Functions
-
nucmass_gen
()¶
-
~nucmass_gen
()¶
-
int
load_be
(std::string fname, std::string be_col, double be_units, bool external = false)¶ Load a file with binding energies.
-
const char *
type
()¶ Return the type,
"nucmass_gen"
.
-
bool
is_loaded
()¶ Returns true if data has been loaded.
-
bool
is_included
(int Z, int N)¶ Return false if the mass formula does not include specified nucleus.
-
size_t
get_nentries
()¶ Return number of entries.
-
double
mass_excess
(int Z, int N)¶ Given
Z
andN
, return the mass excess in MeV.
-
double
get_string
(int Z, int N, std::string column)¶ Given
Z
andN
, return the mass excess in MeV.
Protected Attributes
-
o2scl::table
data
¶ The o2scl::table object containing the data.
-
size_t
mex_col_ix
¶ Column which refers to the mass excess.
-
int
last
¶ The last table index for caching.
-