|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nist.microanalysis.EPQLibrary.Composition
gov.nist.microanalysis.EPQLibrary.Material
gov.nist.microanalysis.EPQLibrary.Gas
public class Gas
Implements a gas based on the ideal gas law. It should be noted that this model of gases is niave (from many perspectives). The model views all interactions as essentially atomic. No molecular considerations are included except in as much as a mole of O2 has twice as many atoms as a mole of O.
Copyright: Pursuant to title 17 Section 105 of the United States Code this software is not subject to copyright protection and is in the public domain
Institution: National Institute of Standards and Technology
| Field Summary | |
|---|---|
static double |
MOLAR_VOLUME
|
static double |
RYDBERG_CONSTANT
|
static double |
STANDARD_PRESSURE
|
static double |
STANDARD_TEMPERATURE
|
| Fields inherited from class gov.nist.microanalysis.EPQLibrary.Composition |
|---|
mHashCode, STOICIOMETRY, UNDETERMINED, WEIGHT_PCT |
| Constructor Summary | |
|---|---|
protected |
Gas()
|
|
Gas(Element[] elms,
int[] stoic,
double pressure,
double temperature,
java.lang.String name)
Constructs a single molecular gas such as N2, O2, Ar, CO2 etc. |
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
double |
getMassPerSubunit()
getMassPerSubunit - For used with materials defined by stoichiometry. |
double |
getPressure()
getPressure - returns the pressure (in pascal) |
double |
getTemperature()
getTemperature - Returns the temperature (in kelvin) |
protected void |
replicate(Gas gas)
|
void |
setTemperature(double newTemp)
setTemperature - Modifies the temperature of the gas and updates the pressure assuming constant volume. |
| Methods inherited from class gov.nist.microanalysis.EPQLibrary.Material |
|---|
atomsPerCubicMeter, clear, compareTo, defineByMaterialFraction, defineByWeightFraction, descriptiveString, equals, getDensity, hashCode, renormalize, replicate, setDensity |
| Methods inherited from class gov.nist.microanalysis.EPQLibrary.Composition |
|---|
addElement, addElement, addElementByStoiciometry, containsElement, defineByMoleFraction, defineByWeightFraction, defineByWeightFraction, difference, elementSet, fromXML, getElementCount, getElementSet, getName, getNthElementByAtomicFraction, getNthElementByWeight, getOptimalRepresentation, massAbsorptionCoefficient, moleFraction, removeElement, replicate, setName, stoiciometryAvgAtomicNumber, sumWeightPercent, toString, toXML, weightAvgAtomicNumber, weightPercent |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final double RYDBERG_CONSTANT
public static final double MOLAR_VOLUME
public static final double STANDARD_PRESSURE
public static final double STANDARD_TEMPERATURE
| Constructor Detail |
|---|
protected Gas()
public Gas(Element[] elms,
int[] stoic,
double pressure,
double temperature,
java.lang.String name)
elms - The elemental constituentsstoic - The molecular stoiciometrypressure - in pascaltemperature - in kelvinname - a human-friendly name| Method Detail |
|---|
public double getMassPerSubunit()
public void setTemperature(double newTemp)
newTemp - In kelvinpublic double getTemperature()
public double getPressure()
protected void replicate(Gas gas)
public java.lang.Object clone()
clone in class Material
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||