![]() |
Particles and Nuclei Sub-Library: Version 0.910
|
HFB Mass formula with spin and parity information.
#include <nuclear_mass.h>
Definition at line 1072 of file nuclear_mass.h.
Public Member Functions | |
hfb_sp_mass () | |
Create a new mass formula object. | |
virtual bool | is_included (int Z, int N) |
Return false if the mass formula does not include specified nucleus. | |
virtual double | mass_excess (int Z, int N) |
Given Z and N , return the mass excess in MeV. | |
hfb_sp_mass_entry | get_ZN (int l_Z, int l_N) |
Get the entry for the specified proton and neutron number. | |
virtual const char * | type () |
Return the type, "hfb_mass" . | |
int | set_data (int n_mass, hfb_sp_mass_entry *m, std::string ref) |
Set data. | |
Protected Attributes | |
hfb_sp_mass_entry * | mass |
The array containing the mass data of length ame::n. | |
int | n |
The number of entries (about 3000). | |
std::string | reference |
The reference for the original data. | |
int | last |
The last table index for caching. |
hfb_sp_mass_entry hfb_sp_mass::get_ZN | ( | int | l_Z, |
int | l_N | ||
) |
This method searches the table using a cached binary search algorithm. It is assumed that the table is sorted first by proton number and then by neutron number.
int hfb_sp_mass::set_data | ( | int | n_mass, |
hfb_sp_mass_entry * | m, | ||
std::string | ref | ||
) |
This function is used by the HDF I/O routines.
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).