|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--dwvisser.nuclear.Particle | +--dwvisser.nuclear.Nucleus
Class representing atomic nuclei for the purposes of kinematics calculations.
Field Summary | |
int |
A
Mass number. |
UncertainNumber |
bindingEnergy
The binding energy in MeV for this Nucleus object. |
UncertainNumber |
Ex
Excitation of nucleus in MeV. |
static UncertainNumber |
NEUTRON_MASS
|
static UncertainNumber |
PROTON_MASS
|
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.Vector |
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)
|
static Nucleus |
parseNucleus(java.lang.String s)
Parses a string like "197Au" into a Nucleus object. |
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 |
public static UncertainNumber PROTON_MASS
public static UncertainNumber NEUTRON_MASS
public int A
public int Z
public UncertainNumber Ex
public UncertainNumber bindingEnergy
Nucleus
object.
Constructor Detail |
public Nucleus(int Z, int A, UncertainNumber Ex)
Z
- element numberA
- mass numberEx
- excitation energy in MeVpublic Nucleus(int Z, int A, double Ex)
Z
- element numberA
- mass numberEx
- excitation energy in MeVpublic Nucleus(int Z, int A)
Z
- element numberA
- mass numberMethod Detail |
public static java.lang.String getElementSymbol(int z_)
z_
- element numberpublic static int getElementNumber(java.lang.String symbol)
public static Nucleus parseNucleus(java.lang.String s)
public static java.util.Vector getIsotopes(int Z)
public UncertainNumber getMass()
getMass
in class Particle
public UncertainNumber getGroundStateMass()
public java.lang.String getElementSymbol()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
java.lang.Object
for storing in a HashTable.
hashCode
in class java.lang.Object
public java.lang.String toString()
java.lang.Object
for printing.
toString
in class java.lang.Object
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |