dwvisser.nuclear
Class Solid
java.lang.Object
|
+--dwvisser.nuclear.Absorber
|
+--dwvisser.nuclear.Solid
- All Implemented Interfaces:
- java.io.Serializable
- public class Solid
- extends Absorber
- implements java.io.Serializable
Implementation of Absorber
for a solid.
- Author:
- Dale W Visser
- See Also:
- Serialized Form
Constructor Summary |
Solid(double thickness,
int units,
Nucleus component)
|
Solid(double thickness,
int units,
java.lang.String component)
|
Solid(double thickness,
int units,
java.lang.String[] components,
double[] fractions)
|
Solid(java.lang.String spec,
double thickness)
|
Method Summary |
protected java.lang.Object |
clone()
|
double |
getDensity()
Estimated density of solid in g/cm^3. |
Absorber |
getNewInstance(double factor)
Returns new absorber identical to this one, with thickness multiplied
by factor . |
java.lang.String |
getText()
|
double |
getThickness()
Returns thickness in micrograms/cm^2. |
static Solid |
Kapton(double thickness,
int units)
|
static Solid |
Mylar(double thickness,
int units)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Solid
public Solid(double thickness,
int units,
java.lang.String[] components,
double[] fractions)
throws NuclearException
Solid
public Solid(double thickness,
int units,
java.lang.String component)
throws NuclearException
Solid
public Solid(double thickness,
int units,
Nucleus component)
throws NuclearException
Solid
public Solid(java.lang.String spec,
double thickness)
throws NuclearException
Mylar
public static Solid Mylar(double thickness,
int units)
throws NuclearException
NuclearException
Kapton
public static Solid Kapton(double thickness,
int units)
throws NuclearException
NuclearException
getDensity
public double getDensity()
- Estimated density of solid in g/cm^3.
- Specified by:
getDensity
in class Absorber
getThickness
public double getThickness()
- Returns thickness in micrograms/cm^2.
- Specified by:
getThickness
in class Absorber
getNewInstance
public Absorber getNewInstance(double factor)
- Description copied from class:
Absorber
- Returns new absorber identical to this one, with thickness multiplied
by
factor
.
- Specified by:
getNewInstance
in class Absorber
clone
protected java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
getText
public java.lang.String getText()