mass_fit Class Reference

Fit a nuclear mass formula. More...

#include <mass_fit.h>


Detailed Description

There is an example of the usage of this class given in Nuclear mass fit example.

Idea for future:
Convert to a real fit with errors and covariance, etc.

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 &uexp)
 Set the distribution of nuclei to fit.

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_simp< 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 for def_dist.

Field Documentation

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.


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