00001 /* 00002 ------------------------------------------------------------------- 00003 00004 Copyright (C) 2006, 2007, 2008, 2009, Andrew W. Steiner 00005 00006 This file is part of O2scl. 00007 00008 O2scl is free software; you can redistribute it and/or modify 00009 it under the terms of the GNU General Public License as published by 00010 the Free Software Foundation; either version 3 of the License, or 00011 (at your option) any later version. 00012 00013 O2scl is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 GNU General Public License for more details. 00017 00018 You should have received a copy of the GNU General Public License 00019 along with O2scl. If not, see <http://www.gnu.org/licenses/>. 00020 00021 ------------------------------------------------------------------- 00022 */ 00023 #ifndef O2SCL_NUCLEUS_H 00024 #define O2SCL_NUCLEUS_H 00025 00026 #include <o2scl/classical.h> 00027 00028 #ifndef DOXYGENP 00029 namespace o2scl { 00030 #endif 00031 00032 /** 00033 \brief A simple nucleus class 00034 00035 The variable part::m is typically used for the mass of the 00036 nucleus with no electrons. 00037 00038 The binding energy of the nucleus (\ref be) is typically defined 00039 as the mass of the nucleus (without the electrons) minus Z times 00040 the mass of the proton minus N times the mass of the neutron. 00041 00042 The mass excess (\ref be) is defined as the mass of the nucleus 00043 including the electron contribution minus a times the mass of 00044 the atomic mass unit. 00045 00046 The variable \ref part::inc_rest_mass is set to \c false by 00047 default, to insure that energies and chemical potentials do not 00048 include the rest mass. This is typically appropriate for nuclei. 00049 00050 */ 00051 class nucleus : public classical { 00052 public: 00053 00054 nucleus(); 00055 00056 /// Proton number 00057 int Z; 00058 /// Neutron number 00059 int N; 00060 /// Atomic number 00061 int A; 00062 /// Mass excess in \f$ \mathrm{fm}^{-1} \f$ 00063 double mex; 00064 /** \brief Binding energy in \f$ \mathrm{fm}^{-1} \f$ 00065 (with a minus sign for bound nuclei) 00066 */ 00067 double be; 00068 }; 00069 00070 #ifndef DOXYGENP 00071 } 00072 #endif 00073 00074 #endif
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