|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.davidson.chm.equilibria.Species
public class Species
A Species object contains the information necessary to describe a chemical species
Copyright: Copyright (c) David N. Blauch
| Field Summary |
|---|
| Fields inherited from interface edu.davidson.chm.equilibria.PhysicalConstants |
|---|
F, k, No, perm, qe, R, RJ |
| Constructor Summary | |
|---|---|
Species()
The default constructor should never be used. |
|
Species(ChemSpecies _chemSpecies,
Phase _phase)
Creates a species consisting of the indicated ChemSpecies in the indicated Phase. |
|
Species(ChemSpecies _chemSpecies,
Phase _phase,
double _moles)
Creates a species consisting of the indicated ChemSpecies in the indicated Phase. |
|
| Method Summary | |
|---|---|
double |
getActivity()
Returns the activity of the species. |
double |
getActivityCoefficient()
Returns the activity coefficient for the species. |
double |
getAnalConc()
Returns the analytical concentration (mole/L) |
double |
getAnalMass()
Returns the analytical mass in grams |
double |
getAnalMoles()
Returns the analytical number of moles |
double |
getAnalPressure()
Returns the analytical partial pressure. |
double |
getCharge()
Returns the charge on the species. |
ChemSpecies |
getChemSpecies()
Returns the ChemSpecies for this Species. |
ChemSystem |
getChemSystem()
Returns the chemical system in which the species exists |
double |
getConc()
Returns the molar concentration. |
double |
getFW()
Returns the formula weight of the species |
java.lang.String |
getInfo()
Returns information about this class |
double |
getIonSize()
Returns the Debye-Huckel ion size parameter in angstroms |
java.lang.String |
getLabel()
Returns the phase label |
double |
getMass()
Returns the mass in grams |
double |
getMoles()
Returns the moles of the species. |
Phase |
getPhase()
Returns the phase in which the species exists |
char |
getPhysicalState()
Returns the physical state of the species. |
double |
getPressure()
Returns the partial pressure of the species in atmospheres. |
boolean |
isEquivalent(Species _sp)
Returns true if the Species is equivalent to the user-supplied Species. |
void |
setAnalConc(double _analConc)
Sets the analytical concentration (moles/L). |
void |
setAnalMass(double _analMass)
Sets the analytical mass of the species |
void |
setAnalMoles(double _analMoles)
Sets the analytical number of moles. |
void |
setAnalPressure(double _analPressure)
Sets the analytical partial pressure in atmospheres. |
void |
setFW(double _fw)
Sets the formula weight of the species by calling the setFW method of the ChemSpecies. |
void |
setIonSize(double _ionSize)
Sets the Debye-Huckel ion size parameter in angstroms by calling the setIonSize method of the ChemSpecies. |
void |
setLabel(java.lang.String _label)
Sets the label for the species by calling the setLabel method of the ChemSpecies. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Species()
public Species(ChemSpecies _chemSpecies,
Phase _phase)
public Species(ChemSpecies _chemSpecies,
Phase _phase,
double _moles)
_moles - amount of species| Method Detail |
|---|
public double getActivityCoefficient()
public double getActivity()
public double getAnalConc()
public double getAnalMass()
public double getAnalMoles()
public double getAnalPressure()
public double getCharge()
public ChemSpecies getChemSpecies()
public ChemSystem getChemSystem()
public double getConc()
public double getFW()
public java.lang.String getInfo()
public double getIonSize()
public java.lang.String getLabel()
public double getMass()
public double getMoles()
public Phase getPhase()
public char getPhysicalState()
s = solid (this must be the same as the phase and this species is the only species in the phase)
l = liquid (either the phase is a pure liquid, or this species is the solvent in a solution)
g = gas (this must be the same as the phase)
d = solute
public double getPressure()
Phase.getPressure(),
Gas.getPressure()public boolean isEquivalent(Species _sp)
public void setAnalConc(double _analConc)
public void setAnalMass(double _analMass)
public void setAnalMoles(double _analMoles)
public void setAnalPressure(double _analPressure)
public void setFW(double _fw)
ChemSpecies.setFW(double)public void setIonSize(double _ionSize)
ChemSpecies.setIonSize(double)public void setLabel(java.lang.String _label)
ChemSpecies.setLabel(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||