|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.davidson.chm.equilibria.Phase
edu.davidson.chm.equilibria.Liquid
public class Liquid
This project contains the files necessary to solve arbitrary equilibrium problems
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 | |
|---|---|
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 |
|---|
equals, 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)
copyOf in class Phasepublic java.lang.String getInfo()
getInfo in class Phasepublic Species getAcid()
getAcid in class Phasepublic Species getBase()
getBase in class Phasepublic double getIonicStrength()
getIonicStrength in class Phasepublic double getMass()
getMass in class Phasepublic double getPressure()
getPressure in class Phasepublic Species getSolvent()
getSolvent in class Phasepublic double getVolume()
getVolume in class Phasepublic void setDensity(double _density)
setDensity in class Phase_density - density in grams per milliliterpublic void setMass(double _mass)
setMass in class Phase_mass - mass in gramspublic void setVolume(double _volume)
setVolume in class Phase_volume - volume in liters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||