Class nucleus (o2scl)

O2scl : Class List

class nucleus : public o2scl::part_tl<double>

A simple nucleus class.

The variable part::m is typically used for the mass of the nucleus with no electrons.

The binding energy of the nucleus (be) is typically defined as the mass of the nucleus (without the electrons or their binding energy) minus Z times the mass of the proton minus N times the mass of the neutron.

The mass excess (mex) is defined as the mass of the nucleus including the electron contribution (but not including the electron binding energy) minus A times the mass of the atomic mass unit.

The variable part::inc_rest_mass is set to false by default, to insure that energies and chemical potentials do not include the rest mass. This is typically appropriate for nuclei.

Public Functions

nucleus()
inline nucleus(const nucleus &p)

Copy constructor.

inline nucleus &operator=(const nucleus &p)

Copy construction with operator=()

Public Members

int Z

Proton number.

int N

Neutron number.

int A

Baryon number.

double mex

Mass excess (typically in \( \mathrm{fm}^{-1} \))

double be

Binding energy with a minus sign for bound nuclei (typically in \( \mathrm{fm}^{-1} \))