|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.davidson.chm.equilibria.ChemSpecies
public class ChemSpecies
A ChemicalSpecies is a molecule or ion. This class contains the description of the intrinsic properties of the chemical species. The Species class contains a ChemicalSpecies and extensive properties for the species.
Species| Constructor Summary | |
|---|---|
ChemSpecies()
|
|
ChemSpecies(java.lang.String _label,
double _charge,
double _fw)
|
|
| Method Summary | |
|---|---|
static ChemSpecies[] |
createAcidBase(java.lang.String _baseLabel,
double _baseCharge,
double _baseFW,
int _n)
Returns an array of ChemSpecies for a sequence of acid-base reactions. |
static ChemSpecies |
createChemSpecies(java.lang.String _data)
Returns a ChemSpecies based upon the properties defined by the string (_data). |
static ChemSpecies[] |
createComplexes(java.lang.String _metalLabel,
double _metalCharge,
double _metalFW,
java.lang.String _ligandLabel,
double _ligandCharge,
double _ligandFW,
int _n)
Returns an array of ChemSpecies for a sequence of complexation reactions. |
double |
getCharge()
Returns the charge of the ChemicalSpecies. |
double |
getFW()
Returns the formula weight (g/mole) of the ChemicalSpecies. |
double |
getIonSize()
Returns the Debye-Huckel ion-size parameter in angstroms. |
java.lang.String |
getLabel()
Returns the descriptive label of the ChemSpecies. |
void |
setCharge(double _charge)
Sets the charge of the ChemicalSpecies. |
void |
setFW(double _fw)
Sets the formula weight of the ChemicalSpecies. |
void |
setIonSize(double _ionSize)
Sets the Debye-Huckel ion-size parameter in angstroms. |
void |
setLabel(java.lang.String _label)
Sets the descriptive label of the ChemicalSpecies. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChemSpecies()
public ChemSpecies(java.lang.String _label,
double _charge,
double _fw)
| Method Detail |
|---|
public static ChemSpecies[] createAcidBase(java.lang.String _baseLabel,
double _baseCharge,
double _baseFW,
int _n)
_baseLabel - label for the fully deprotonated base_baseCharge - charge on the fully deprotonated base_baseFW - formula weight of the fully deprotonated base_n - number of acidic protons on fully protonated acidpublic static ChemSpecies createChemSpecies(java.lang.String _data)
label, charge, formula weight[, ion-size parameter];
All information after the ; is disregarded, and all spaces are disregarded.
Returns null if the definition is invalid.
public static ChemSpecies[] createComplexes(java.lang.String _metalLabel,
double _metalCharge,
double _metalFW,
java.lang.String _ligandLabel,
double _ligandCharge,
double _ligandFW,
int _n)
_metalLabel - label for the free metal_metalCharge - charge on the free metal_metalFW - formula weight of the free metal_ligandLabel - label for the free ligand_ligandCharge - charge on the free ligand_ligandFW - formula weight of the free ligand_n - number of ligands on the fully complexed metalpublic double getCharge()
public double getFW()
public double getIonSize()
public java.lang.String getLabel()
public void setCharge(double _charge)
public void setFW(double _fw)
public void setIonSize(double _ionSize)
public void setLabel(java.lang.String _label)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||