Particles and Nuclei Sub-Library: Version 0.910
Public Member Functions | Data Fields
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 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.

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 73 of file mass_fit.h.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Friends

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.