kalzium/libscience
#include <isotope.h>
Classes | |
struct | Nucleons |
Public Types | |
enum | Decay { ALPHA, BETAPLUS, BETAMINUS, EC } |
Public Member Functions | |
Isotope () | |
~Isotope () | |
QString | abundance () const |
void | addData (ChemicalDataObject o) |
double | alphadecay () const |
double | alphalikeliness () const |
double | betaminusdecay () const |
double | betaminuslikeliness () const |
double | betaplusdecay () const |
double | betapluslikeliness () const |
double | ecdecay () const |
double | eclikeliness () const |
QString | errorMargin () const |
double | halflife () const |
QString | halflifeUnit () const |
QString | magmoment () const |
double | mass () const |
int | nucleons () const |
Isotope::Nucleons | nucleonsAfterDecay (Decay kind) |
int | parentElementNumber () const |
QString | parentElementSymbol () const |
void | setNucleons (int number) |
QString | spin () const |
Detailed Description
Member Enumeration Documentation
enum Isotope::Decay |
Constructor & Destructor Documentation
Isotope::Isotope | ( | ) |
Constructs a new empty isotope.
Definition at line 24 of file isotope.cpp.
Isotope::~Isotope | ( | ) |
Destructor.
Definition at line 28 of file isotope.cpp.
Member Function Documentation
QString Isotope::abundance | ( | ) | const |
Definition at line 92 of file isotope.cpp.
void Isotope::addData | ( | ChemicalDataObject | o | ) |
add the ChemicalDataObject o
Definition at line 32 of file isotope.cpp.
double Isotope::alphadecay | ( | ) | const |
- Returns
- decay
Definition at line 136 of file isotope.cpp.
double Isotope::alphalikeliness | ( | ) | const |
- Returns
- decay
Definition at line 141 of file isotope.cpp.
double Isotope::betaminusdecay | ( | ) | const |
- Returns
- decay
Definition at line 126 of file isotope.cpp.
double Isotope::betaminuslikeliness | ( | ) | const |
- Returns
- decay likeliness
Definition at line 131 of file isotope.cpp.
double Isotope::betaplusdecay | ( | ) | const |
- Returns
- decay
Definition at line 116 of file isotope.cpp.
double Isotope::betapluslikeliness | ( | ) | const |
- Returns
- decay likeliness
Definition at line 121 of file isotope.cpp.
double Isotope::ecdecay | ( | ) | const |
- Returns
- decay
Definition at line 108 of file isotope.cpp.
double Isotope::eclikeliness | ( | ) | const |
- Returns
- decay likeliness
Definition at line 112 of file isotope.cpp.
QString Isotope::errorMargin | ( | ) | const |
- Returns
- the errormargin ( delta mass ) of the isotope
Definition at line 72 of file isotope.cpp.
double Isotope::halflife | ( | ) | const |
- Returns
- for example '17' if halflife of this Isotope is 17 seconds halflife()
Definition at line 98 of file isotope.cpp.
QString Isotope::halflifeUnit | ( | ) | const |
- Returns
- for example 's' if the unit of the halflife of this Isotope is given in seconds
Definition at line 103 of file isotope.cpp.
QString Isotope::magmoment | ( | ) | const |
- Returns
- the magnetic moment of the Isotope
Definition at line 87 of file isotope.cpp.
double Isotope::mass | ( | ) | const |
- Returns
- the mass of the isotope
Definition at line 67 of file isotope.cpp.
int Isotope::nucleons | ( | ) | const |
- Returns
- the sum of protons and neutrons
Definition at line 156 of file isotope.cpp.
Isotope::Nucleons Isotope::nucleonsAfterDecay | ( | Decay | kind | ) |
- Returns
- the nucleons of neutrons of the Isotope after the decay
Definition at line 161 of file isotope.cpp.
int Isotope::parentElementNumber | ( | ) | const |
If the isotope belongs to Iron, this method will return "26".
- Returns
- the number of the element the isotope belongs to
Definition at line 77 of file isotope.cpp.
QString Isotope::parentElementSymbol | ( | ) | const |
If the isotope belongs to Iron, this method will return "Fe".
- Returns
- the symbol of the element the isotope belongs to
Definition at line 146 of file isotope.cpp.
void Isotope::setNucleons | ( | int | number | ) |
Set the number of nucleons of the isotope to .
Definition at line 151 of file isotope.cpp.
QString Isotope::spin | ( | ) | const |
Definition at line 82 of file isotope.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:11:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.