• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kalzium/libscience

Classes | Public Types | Public Member Functions | List of all members
Isotope Class Reference

#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

Author
Carsten Niehaus

This class represents an Isotope with all its properties

Definition at line 32 of file isotope.h.

Member Enumeration Documentation

enum Isotope::Decay

This enum stores the different kinds of decay.

Enumerator
ALPHA 

alpha decay

BETAPLUS 

beta plus decay

BETAMINUS 

beta minus decay

EC 

ec decay

Definition at line 163 of file isotope.h.

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:
  • isotope.h
  • isotope.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:31 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kalzium/libscience

Skip menu "kalzium/libscience"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal