#include <mass_fit.h>
There is an example of the usage of this class given in Nuclear mass fit example.
Definition at line 46 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< int, multi_funct< int > > &umm) |
Change the minimizer for use in the fit. | |
int | set_dist (nuclear_dist &und) |
Set the distribution of nuclei to fit. | |
int | set_masses (nuclear_mass &uexp) |
Set the experimental values to fit to. | |
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< int, multi_funct< int > > | 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. |
gsl_mmin_simp2<int,multi_funct<int> > def_mmin |
The default minimizer.
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 77 of file mass_fit.h.
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page