Go to the documentation of this file.
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
70 virtual const char *
type() {
return "nucmass_dz_table"; }
72 #ifndef DOXYGEN_INTERNAL
120 #ifndef DOXYGEN_INTERNAL
186 virtual const char *
type() {
return "nucmass_dz_fit"; }
189 virtual int fit_fun(
size_t nv,
const ubvector &x);
192 virtual int guess_fun(
size_t nv, ubvector &x);
278 #ifndef DOXYGEN_INTERNAL
287 ubvector dyda, fyda, fyd0, onps, oei, dei, op2, ym, op1;
306 virtual const char *
type() {
return "nucmass_dz_fit_33"; }
309 virtual int fit_fun(
size_t nv,
const ubvector &x);
312 virtual int guess_fun(
size_t nv, ubvector &x);
343 #ifndef DOXYGEN_NO_O2NS
virtual double binding_energy(int Z, int N)
Return the binding energy in MeV.
virtual double mass_excess_d(double Z, double N)
Given Z and N, return the mass excess in MeV.
virtual bool is_included(int Z, int N)
Return false if the mass formula does not include specified nucleus.
virtual int fit_fun(size_t nv, const ubvector &x)
Fix parameters from an array for fitting.
virtual bool is_included(int Z, int N)
Return false if the mass formula does not include specified nucleus.
virtual double binding_energy(int Z, int N)
Return the binding energy in MeV.
virtual double mass_excess_d(double Z, double N)
Given Z and N, return the mass excess in MeV.
virtual int guess_fun(size_t nv, ubvector &x)
Fill array with guess from present values for fitting.
table data
Table containing the data.
virtual bool is_included(int Z, int N)
Return false if the mass formula does not include specified nucleus.
virtual double binding_energy_d(double Z, double N)
Return the binding energy in MeV.
virtual int fit_fun(size_t nv, const ubvector &x)
Fix parameters from an array for fitting.
Fittable mass formula [abstract base].
virtual double mass_excess(int Z, int N)
Given Z and N, return the mass excess in MeV.
virtual double mass_excess(int Z, int N)
Given Z and N, return the mass excess in MeV.
The 33-parameter Duflo-Zuker mass formula.
virtual const char * type()
Return the type, "nucmass_dz_fit".
Duflo-Zuker mass formula from tables.
virtual int guess_fun(size_t nv, ubvector &x)
Fill array with guess from present values for fitting.
virtual const char * type()
Return the type, "nucmass_dz_fit_33".
Tabulated nuclear masses [abstract base].
int last
The last table index for caching.
virtual const char * type()
Return the type, "nucmass_dz_table".
nucmass_dz_table(std::string model="96", bool external=false)
Create a new mass formula object.
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 binding_energy_d(double Z, double N)
Return the binding energy in MeV.
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).