mnmsk_mass Class Reference

#include <nuclear_mass.h>

Inheritance diagram for mnmsk_mass:

nuclear_mass mnmsk_mass_exp

Detailed Description

Mass formula from Moller, Nix, Myers and Swiatecki.

The data containing an object of type moller_mass_entry for 8979 nuclei is automatically loaded by the constructor. If the file (nndc/moller.dat) is not found, then is_loaded() will return false and all calls to get_ZN() will return an object with N=Z=0.

There are several entries in the original table which are blank because they are in some way not known, measured, or computable. To distinguish these values from zero, blank entries have been replaced by the number 1.0e99. For convenience, this value is returned by blank().

Definition at line 761 of file nuclear_mass.h.


Public Member Functions

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.
mnmsk_mass_entry get_ZN (int l_Z, int l_N)
 Get the entry for the specified proton and neutron number.
bool is_loaded ()
 Verify that the constructor properly loaded the table.
double blank ()
 The value which corresponds to a blank entry.
double neither ()
 Neither beta+ or beta- is possible.
double beta_stable ()
 The value which corresponds to a blank entry.
double beta_plus_and_minus ()
 Both beta+ and beta- are possible.
double greater_100 ()
 The value is greater than 100.
double very_large ()
 The value is greater than $ 10^{20} $.

Data Fields

int n
 The number of table entries.
mnmsk_mass_entrymass
 The array containing the table.

Protected Attributes

bool loaded
 True if the table was successfully loaded.
int last
 The last table index for caching.

Member Function Documentation

mnmsk_mass_entry get_ZN ( int  l_Z,
int  l_N 
)

Get the entry for the specified proton and neutron number.

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.


The documentation for this class was generated from the following file:

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page