|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--dwvisser.nuclear.Absorber | +--dwvisser.nuclear.Gas
Implementation of Absorber
for gasses.
Field Summary |
Fields inherited from class dwvisser.nuclear.Absorber |
CM, density, fractions, MICROGRAM_CM2, MIL, MILLIGRAM_CM2, thickness, Z |
Constructor Summary | |
Gas(double length,
double pressure,
java.lang.String[] components,
int[] atomsInMolecule)
Given thickness in millimeters, pressure in torr, element components, and the numbers of atoms for each element in the gas molecule, creates an instance of absorber. |
|
Gas(double length,
double pressure,
java.lang.String component,
int atomsInMolecule)
|
Method Summary | |
protected java.lang.Object |
clone()
|
double |
getDensity()
Returns mass density of absorber in g/cm^3. |
Absorber |
getNewInstance(double factor)
Returns new absorber identical to this one, with thickness multiplied by factor . |
double |
getThickness()
Returns thickness in micrograms/cm^2. |
static Gas |
Isobutane(double length,
double pressure)
Static factory method for isobutane gas absorber. |
Methods inherited from class dwvisser.nuclear.Absorber |
getElements, getFractions, setFractions, setThickness, setThickness |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Gas(double length, double pressure, java.lang.String[] components, int[] atomsInMolecule) throws NuclearException
length
- in cmpressure
- in torcomponents
- elements symbols of molecular componentspublic Gas(double length, double pressure, java.lang.String component, int atomsInMolecule) throws NuclearException
Method Detail |
public double getDensity()
Absorber
getDensity
in class Absorber
public static Gas Isobutane(double length, double pressure) throws NuclearException
length
- in cmpressure
- in torr
NuclearException
- if something goes wrong running Gas
constructorpublic double getThickness()
getThickness
in class Absorber
public Absorber getNewInstance(double factor)
Absorber
factor
.
getNewInstance
in class Absorber
protected java.lang.Object clone()
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |