|
Equilibria |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--edu.davidson.chm.equilibria.Phase
|
+--edu.davidson.chm.equilibria.Liquid
This project contains the files necessary to solve arbitrary equilibrium problems
Copyright (c) David N. Blauch
| Fields inherited from class edu.davidson.chm.equilibria.Phase |
autoChargeBalance,
chemSystem,
density,
dielectricConstant,
isProtic,
label,
physState,
species,
volume |
| Constructor Summary | |
Liquid()
|
|
Liquid(java.lang.String _label,
ChemSystem _chemSystem,
ChemSpecies _chemSpecies)
The minimal requirements for defining a Liquid phase are a descriptive label, the chemical system containing the phase, and the chemical species the constitutes the liquid. |
|
| Method Summary | |
Phase |
copyOf(ChemSystem _chemSystem)
Creates a copy of this phase and places it in the indicated ChemSystem. |
Species |
getAcid()
Returns null, because there is no solvent or conjugate acid in this type of phase. |
Species |
getBase()
Returns null, because there is no solvent or conjugate base in this type of phase. |
java.lang.String |
getInfo()
Returns information about this class |
double |
getIonicStrength()
Returns zero, because ionic strength has no meaning for this phase |
double |
getMass()
Returns the mass in grams of the liquid. |
double |
getPressure()
Returns the pressure of the liquid, which is the same as the system pressure. |
Species |
getSolvent()
Returns null, because this phase has no solvent |
double |
getVolume()
Returns the volume of the phase in liters |
void |
setDensity(double _density)
Sets the density of the liquid. |
void |
setMass(double _mass)
Sets the mass of the liquid. |
void |
setVolume(double _volume)
Sets the volume of the liquid. |
| Methods inherited from class edu.davidson.chm.equilibria.Phase |
addSpecies,
addSpecies,
addSpecies,
createSpecies,
createSpecies,
getAutoChargeBalance,
getChemSystem,
getDensity,
getDielectricConstant,
getEDHEa,
getEDHEb,
getIsProtic,
getLabel,
getMoles,
getNbrSpecies,
getpH,
getPhysicalState,
getpOH,
getPressure,
getSpecies,
getSpecies,
getSpecies,
getSpeciesAt,
removeSpecies,
removeSpecies,
scale,
setAutoChargeBalance,
setDielectricConstant,
setLabel |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Liquid()
public Liquid(java.lang.String _label,
ChemSystem _chemSystem,
ChemSpecies _chemSpecies)
| Method Detail |
public Phase copyOf(ChemSystem _chemSystem)
public java.lang.String getInfo()
public Species getAcid()
public Species getBase()
public double getIonicStrength()
public double getMass()
public double getPressure()
public Species getSolvent()
public double getVolume()
public void setDensity(double _density)
_density - density in grams per milliliterpublic void setMass(double _mass)
_mass - mass in gramspublic void setVolume(double _volume)
_volume - volume in liters
|
Equilibria |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||