mass_fit Class Reference

#include <mass_fit.h>


Detailed Description

Fit a nuclear mass formula.

Todo:
Convert to a real fit with errors and covariance, etc.

Definition at line 43 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< void *, multi_funct< void * > > &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_simp< void
*, multi_funct< void * > > 
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.

Field Documentation

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 74 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