![]() |
Particles and Nuclei Sub-Library: Version 0.910
|
Fit a nuclear mass formula. More...
#include <mass_fit.h>
There is an example of the usage of this class given in Nuclear mass fit example.
Definition at line 44 of file mass_fit.h.
Public Member Functions | |
virtual int | fit (nuclear_mass_fit &n, double &res) |
Fit the nuclear mass formula. | |
virtual int | eval (nuclear_mass &n, double &res) |
Evaluate quality without fitting. | |
int | set_mmin (multi_min< multi_funct<> > &umm) |
Change the minimizer for use in the fit. | |
int | set_dist (nuclear_dist &uexp) |
Set the distribution of nuclei to fit. | |
int | set_exp_mass (nuclear_mass &nm) |
Set the experimental nuclear mass formula. | |
Data Fields | |
bool | even_even |
If true, then only fit doubly-even nuclei (default false) | |
int | minZ |
Minimum proton number to fit (default 8) | |
int | minN |
Minimum neutron number to fit (default 8) | |
gsl_mmin_simp2< multi_funct<> > | def_mmin |
The default minimizer. | |
full_dist | def_dist |
The default distribution of nuclei to fit (defaults to all nuclei in def_exp_mass) | |
ame_mass | def_exp_mass |
The default experimental nuclear mass object for def_dist. |
The value of def_mmin::ntrial is automatically multiplied by 10 in the constructor because the minimization frequently requires more trials than the default.
Definition at line 73 of file mass_fit.h.
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).