|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmeshi.energy.simpleEnergyTerms.bond.BondParameters
public class BondParameters
The energy parameters associated with a bond between two atoms. These parameters depend on the atom types.
| Nested Class Summary | |
|---|---|
private class |
BondParameters.isA
|
| Field Summary | |
|---|---|
double |
force
The force constant for this type of bond. |
double |
force2
The square of the force constant. |
double |
target
The target distance for this type of bond. |
AtomType |
type1
Atom type of the first atom. |
AtomType |
type2
Atom type of the second atom. |
| Constructor Summary | |
|---|---|
BondParameters()
Auxiliary constructor. |
|
BondParameters(AtomType type1,
AtomType type2)
For search keys in parameterList |
|
BondParameters(AtomType type1,
AtomType type2,
double targetDistance,
double forceConstant)
A helper constructor for ( BondParameters(String line) ). |
|
BondParameters(java.lang.String line)
Constructs BondParmeters from a string (typically a line in the bondParameters file). |
|
BondParameters(java.util.StringTokenizer line)
A helper constructor for ( BondParameters(String line) ). |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object other)
Defines order within objects and thus allows sorting for more efficient searches. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final double target
public final double force
public final double force2
public final AtomType type1
public final AtomType type2
| Constructor Detail |
|---|
public BondParameters()
public BondParameters(java.lang.String line)
public BondParameters(java.util.StringTokenizer line)
public BondParameters(AtomType type1,
AtomType type2,
double targetDistance,
double forceConstant)
public BondParameters(AtomType type1,
AtomType type2)
| Method Detail |
|---|
public int compareTo(java.lang.Object other)
compareTo in interface java.lang.Comparablepublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||