23 #ifndef O2SCL_DZ_MASS_H 24 #define O2SCL_DZ_MASS_H 30 #include <boost/numeric/ublas/vector.hpp> 31 #include <boost/numeric/ublas/matrix.hpp> 33 #include <o2scl/nucmass.h> 34 #include <o2scl/tensor.h> 36 #ifndef DOXYGEN_NO_O2NS 73 virtual const char *
type() {
return "nucmass_dz_table"; }
78 #ifndef DOXYGEN_INTERNAL 132 #ifndef DOXYGEN_INTERNAL 198 virtual const char *
type() {
return "nucmass_dz_fit"; }
201 virtual int fit_fun(
size_t nv,
const ubvector &x);
204 virtual int guess_fun(
size_t nv, ubvector &x);
290 #ifndef DOXYGEN_INTERNAL 299 ubvector dyda, fyda, fyd0, onps, oei, dei, op2, ym, op1;
300 ubvector shell, sshell;
302 ubvector_int n4, nn, jup, jud, n2;
318 virtual const char *
type() {
return "nucmass_dz_fit_33"; }
321 virtual int fit_fun(
size_t nv,
const ubvector &x);
324 virtual int guess_fun(
size_t nv, ubvector &x);
355 #ifndef DOXYGEN_NO_O2NS
int get_nentries()
Return number of entries.
bool is_loaded()
Verify that the constructor properly loaded the table.
virtual bool is_included(int Z, int N)
Return false if the mass formula does not include specified nucleus.
nucmass_dz_table(std::string model="96", bool external=false)
Create a new mass formula object.
int n
The total number of entries.
virtual double binding_energy(int Z, int N)
Return the binding energy in MeV.
virtual const char * type()
Return the type, "nucmass_dz_table".
Duflo-Zuker mass formula from tables.
table data
Table containing the data.
std::string reference
The reference for the original data.
virtual double mass_excess(int Z, int N)
Given Z and N, return the mass excess in MeV.
The 10-parameter Duflo-Zuker mass formula.
virtual double mass_excess_d(double Z, double N)
Given Z and N, return the mass excess in MeV.
virtual const char * type()
Return the type, "nucmass_dz_fit_33".
Tabulated nuclear masses [abstract base].
virtual double binding_energy_d(double Z, double N)
Return the binding energy in MeV.
The 33-parameter Duflo-Zuker mass formula.
int last
The last table index for caching.
virtual const char * type()
Return the type, "nucmass_dz_fit".
Fittable mass formula [abstract base].