Class nucmass_table (o2scl)¶
-
class nucmass_table : public o2scl::nucmass¶
Tabulated nuclear masses [abstract base].
This uses simple linear interpolation to obtain masses of nuclei with non-integer value of Z and N.
Generally, descendants of this class only need to provide an implementation of mass_excess() and possibly a version of nucmass::is_included()
Subclassed by o2scl::nucmass_ame, o2scl::nucmass_ame2, o2scl::nucmass_dglg, o2scl::nucmass_dz_table, o2scl::nucmass_gen, o2scl::nucmass_hfb, o2scl::nucmass_hfb_sp, o2scl::nucmass_ktuy, o2scl::nucmass_mnmsk, o2scl::nucmass_patch, o2scl::nucmass_sdnp, o2scl::nucmass_wlw
Public Functions
-
inline nucmass_table()¶
-
inline virtual const char *type()¶
Return the type,
"nucmass_table"
.
-
inline virtual bool is_loaded()¶
Returns true if data has been loaded.
-
virtual double mass_excess_d(double Z, double N)¶
Given
Z
andN
, return the mass excess in MeV.
-
inline virtual size_t get_nentries()¶
Output the number of masses in the table.
-
inline nucmass_table()¶