org.jscience.physics.nuclear.kinematics.nuclear
Class Nucleus

java.lang.Object
  extended by org.jscience.physics.Particle
      extended by org.jscience.physics.nuclear.kinematics.nuclear.NuclearParticle
          extended by org.jscience.physics.nuclear.kinematics.nuclear.Nucleus
All Implemented Interfaces:
java.io.Serializable

public class Nucleus
extends NuclearParticle
implements java.io.Serializable

Class representing atomic nuclei for the purposes of kinematics calculations.

See Also:
Serialized Form

Field Summary
 int A
          Mass number.
 UncertainNumber Ex
          Excitation of nucleus in MeV.
 UncertainNumber massExcess
          DOCUMENT ME!
static UncertainNumber U_V90
          Unified mass unit using the V90 standard.
 int Z
          Element Number.
 
Constructor Summary
Nucleus(int Z, int A)
          Returns an object representing a particular nucleus in its ground state.
Nucleus(int Z, int A, double Ex)
          Returns an object representing a particular nucleus.
Nucleus(int Z, int A, UncertainNumber Ex)
          Default constructor, returns an object representing a particular nucleus.
 
Method Summary
 boolean equals(java.lang.Object o)
          Checks if object represents the same isotope.
static int getElementNumber(java.lang.String symbol)
          Returns element number for the given Symbol.
 java.lang.String getElementSymbol()
          Returns element symbol for this nucleus.
static java.lang.String getElementSymbol(int z_)
          Returns element symbol for the specified element.
 UncertainNumber getGroundStateMass()
          Returns ground state mass in MeV/c^2.
static java.util.List getIsotopes(int Z)
          Pass through call to return all stable isotopes for this element.
 UncertainNumber getMass()
          Mass in MeV/c^2.
 int hashCode()
          Inherited from java.lang.Object for storing in a HashTable.
static void main(java.lang.String[] args)
          DOCUMENT ME!
static Nucleus parseNucleus(java.lang.String s)
          Parses a string like "197Au" into a Nucleus object.
static void setMassTable(TableText tt)
          DOCUMENT ME!
 java.lang.String toString()
          Override of java.lang.Object for printing.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

U_V90

public static UncertainNumber U_V90
Unified mass unit using the V90 standard. See Audi and Wapstra 2003 evaluation.


A

public int A
Mass number.


Z

public int Z
Element Number.


Ex

public UncertainNumber Ex
Excitation of nucleus in MeV.


massExcess

public UncertainNumber massExcess
DOCUMENT ME!

Constructor Detail

Nucleus

public Nucleus(int Z,
               int A,
               UncertainNumber Ex)
        throws NuclearException
Default constructor, returns an object representing a particular nucleus.

Parameters:
Z - element number
A - mass number
Ex - excitation energy in MeV
Throws:
NuclearException

Nucleus

public Nucleus(int Z,
               int A,
               double Ex)
        throws NuclearException
Returns an object representing a particular nucleus.

Parameters:
Z - element number
A - mass number
Ex - excitation energy in MeV
Throws:
NuclearException

Nucleus

public Nucleus(int Z,
               int A)
        throws NuclearException
Returns an object representing a particular nucleus in its ground state.

Parameters:
Z - element number
A - mass number
Ex - excitation energy in MeV
Throws:
NuclearException
Method Detail

setMassTable

public static void setMassTable(TableText tt)
DOCUMENT ME!

Parameters:
tt - DOCUMENT ME!

getElementSymbol

public static java.lang.String getElementSymbol(int z_)
Returns element symbol for the specified element.

Parameters:
z_ - element number
Returns:
DOCUMENT ME!

getElementNumber

public static int getElementNumber(java.lang.String symbol)
                            throws NuclearException
Returns element number for the given Symbol.

Parameters:
symbol - element number
Returns:
DOCUMENT ME!
Throws:
NuclearException - DOCUMENT ME!

parseNucleus

public static Nucleus parseNucleus(java.lang.String s)
                            throws NuclearException
Parses a string like "197Au" into a Nucleus object.

Parameters:
s - element symbol (case insensitive) and mass number in any orders
Returns:
DOCUMENT ME!
Throws:
NuclearException - DOCUMENT ME!

getIsotopes

public static java.util.List getIsotopes(int Z)
Pass through call to return all stable isotopes for this element.

Parameters:
Z - DOCUMENT ME!
Returns:
DOCUMENT ME!

getMass

public UncertainNumber getMass()
Mass in MeV/c^2.

Specified by:
getMass in class NuclearParticle
Returns:
DOCUMENT ME!

getGroundStateMass

public UncertainNumber getGroundStateMass()
Returns ground state mass in MeV/c^2.

Returns:
DOCUMENT ME!

getElementSymbol

public java.lang.String getElementSymbol()
Returns element symbol for this nucleus.

Returns:
DOCUMENT ME!

equals

public boolean equals(java.lang.Object o)
Checks if object represents the same isotope.

Overrides:
equals in class java.lang.Object
Parameters:
o - DOCUMENT ME!
Returns:
DOCUMENT ME!

hashCode

public int hashCode()
Inherited from java.lang.Object for storing in a HashTable.

Overrides:
hashCode in class java.lang.Object
Returns:
DOCUMENT ME!

toString

public java.lang.String toString()
Override of java.lang.Object for printing.

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!

main

public static void main(java.lang.String[] args)
DOCUMENT ME!

Parameters:
args - DOCUMENT ME!