|
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.Solution
Creates a solution phase.
Copyright 2000-2001 David N. Blauch
| Field Summary | |
protected Species |
acid
|
protected Reaction |
autodissociation
|
protected Species |
base
|
protected Species |
solvent
|
| Fields inherited from class edu.davidson.chm.equilibria.Phase |
autoChargeBalance,
chemSystem,
density,
dielectricConstant,
isProtic,
label,
physState,
species,
volume |
| Constructor Summary | |
Solution()
|
|
Solution(java.lang.String _label,
ChemSystem _chemSystem,
ChemSpecies _chemSpecies)
The minimal requirements for defining a Solution phase are a descriptive label, the chemical system containing the phase, and the chemical species that constitutes the solvent. |
|
Solution(java.lang.String _label,
ChemSystem _chemSystem,
ChemSpecies _chemSpecies,
ChemSpecies _acid,
ChemSpecies _base,
double _Kauto)
The minimal requirements for defining a Solution phase are a descriptive label, the chemical system containing the phase, and the chemical species the constitutes the solvent. |
|
Solution(java.lang.String _label,
ChemSystem _chemSystem,
ChemSpecies _chemSpecies,
double _Kauto)
The minimal requirements for defining a Solution phase are a descriptive label, the chemical system containing the phase, and the chemical species the constitutes the solvent. |
|
| Method Summary | |
Phase |
copyOf(ChemSystem _chemSystem)
Creates a copy of this phase and places it in the indicated ChemSystem. |
Species |
getAcid()
Returns the conjugate acid of the solvent for a solution with a protic solvent. |
Reaction |
getAutodissociation()
Returns the autodissociation reaction for this solution, if the solvent is protic. |
Species |
getBase()
Returns the conjugate base of the solvent for a solution with a protic solvent. |
java.lang.String |
getInfo()
Returns information about this class |
double |
getIonicStrength()
Returns the ionic strength (mole/L) for the solution. |
double |
getpH()
Returns the pH value for a protic solution. |
double |
getpOH()
Returns the pOH value for a protic solution. |
double |
getPressure()
Returns the pressure of the solution, which is the same as the system pressure. |
Species |
getSolvent()
Returns the solvent species of a solution. |
double |
getVolume()
Returns the volume of the phase in liters |
void |
scale(double _factor)
Scales the amount of the phase. |
void |
setDensity(double _density)
Sets the density of the solution. |
void |
setMass(double _mass)
Sets the mass of the solvent. |
void |
setVolume(double _volume)
Sets the volume of the solution. |
| Methods inherited from class edu.davidson.chm.equilibria.Phase |
addSpecies,
addSpecies,
addSpecies,
createSpecies,
createSpecies,
getAutoChargeBalance,
getChemSystem,
getDensity,
getDielectricConstant,
getEDHEa,
getEDHEb,
getIsProtic,
getLabel,
getMass,
getMoles,
getNbrSpecies,
getPhysicalState,
getPressure,
getSpecies,
getSpecies,
getSpecies,
getSpeciesAt,
removeSpecies,
removeSpecies,
setAutoChargeBalance,
setDielectricConstant,
setLabel |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
protected Species acid
protected Species base
protected Species solvent
protected Reaction autodissociation
| Constructor Detail |
public Solution()
public Solution(java.lang.String _label,
ChemSystem _chemSystem,
ChemSpecies _chemSpecies)
public Solution(java.lang.String _label,
ChemSystem _chemSystem,
ChemSpecies _chemSpecies,
double _Kauto)
public Solution(java.lang.String _label,
ChemSystem _chemSystem,
ChemSpecies _chemSpecies,
ChemSpecies _acid,
ChemSpecies _base,
double _Kauto)
| Method Detail |
public Phase copyOf(ChemSystem _chemSystem)
public Species getAcid()
public Reaction getAutodissociation()
public Species getBase()
public java.lang.String getInfo()
public double getIonicStrength()
public double getpH()
public double getpOH()
public double getPressure()
public Species getSolvent()
public void scale(double _factor)
_factor - scaling factorpublic void setDensity(double _density)
_density - density in grams per milliliterpublic double getVolume()
public 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 | ||||||