java.io.Serializable
public class PotentialArrayMolecular
extends java.lang.Object
implements java.io.Serializable
Constructor | Description |
---|---|
PotentialArrayMolecular() |
Modifier and Type | Method | Description |
---|---|---|
int |
addPotential(IPotentialMolecular newPotential) |
Identifies the given potential to this type instance and returns
the index assigned to it.
|
NeighborCriterionMolecular[] |
getCriteria() |
|
int |
getPotentialIndex(IPotentialMolecular potential) |
Returns the index that this type has assigned to the given
potential.
|
IPotentialMolecular[] |
getPotentials() |
|
int |
removePotential(IPotentialMolecular potential) |
Removes the given potential and the associated criterion from the list
held by this type instance, and returns the index that was assigned to
it.
|
void |
setCriterion(IPotentialMolecular potential,
NeighborCriterionMolecular criterion) |
Sets the criterion associated with the given potential
|
public int getPotentialIndex(IPotentialMolecular potential)
potential
- The potential of interestpublic int addPotential(IPotentialMolecular newPotential)
newPotential
- the potential being addedpublic void setCriterion(IPotentialMolecular potential, NeighborCriterionMolecular criterion)
public int removePotential(IPotentialMolecular potential)
public final IPotentialMolecular[] getPotentials()
public final NeighborCriterionMolecular[] getCriteria()